Commit Graph

10119 Commits

Author SHA1 Message Date
c614beea0b Disable debug mode for travis tests 2019-09-03 01:35:48 -04:00
81ee250c09 Minor refactor & revision across the board 2019-09-03 00:59:46 -04:00
4ce86b06d4 Use more ambiguous reset target when normalizing repos
Possibly addresses "ambiguous target" errors during 'doom update'.

Might address #1738 and #1721
2019-09-03 00:59:46 -04:00
58567b1345 Minor optimization for init.el
The lazy-loaded version library and file-name-directory calls end up
consulting file-name-handler-alist, and can trigger the GC, so we ensure
these things happen after the other optimizations.
2019-09-03 00:59:46 -04:00
62b089ba36 Refactor core & core-lib
And make their tests pass
2019-09-03 00:59:46 -04:00
059ede53b6 Update all unit tests
To meet changes introduced from the straight branch merge.
2019-09-03 00:59:46 -04:00
52b6c51914 Read packages.el files directly for doom-info
This is a little more accurate and affects less state of the current
session.
2019-09-03 00:38:29 -04:00
65d3406e27 Fix various errors during 'doom compile' 2019-09-03 00:38:04 -04:00
4b736bef68 Introduce doom-interactive-mode
As soft inverse alias for noninteractive; this makes it easier to unit
test functionality that depends on the session type.
2019-09-03 00:37:30 -04:00
91b27bdccc Remove doom--straight-use-local-dir-a advice
Unnecessary now that straight-base-dir exists.
2019-09-02 22:51:20 -04:00
e996216714 Have lsp! return non-nil if successful
And fix an issue where +javascript-init-lsp-or-tide-maybe-h would
reference lsp-mode in the rare case where lsp-mode isn't defined (likely
because the user forgot to run `doom refresh` after enabling the :tools
lsp module).
2019-09-02 21:43:12 -04:00
713258ee31 ui/neotree: fix reference to renamed function 2019-09-02 19:17:15 -04:00
abc80e43ae tools/magit: disable magit-todos over TRAMP 2019-09-02 13:14:52 -04:00
49fb34d1c1 Fix 'doom purge' trying to purge site packages
It should only manage packages installed in
doom-elpa-dir (~/.emacs.d/.local/elpa, by default).
2019-09-02 13:12:57 -04:00
07dfe2703c Fix void-function diff-hl-magit-post-refresh error 2019-09-02 12:42:02 -04:00
f763bf2fd0 Change :mc to take delimited pattern
This used to take a regexp after a space: ':mc REGEXP'. It now is
delimited, like :g or :s, e.g.

  :mc/REGEXP/FLAGS
  :mc/[a-z]
  :mc/abc/g
2019-09-02 01:30:04 -04:00
075bc1797b Merge pull request #1711 from ztlevi/dired
emacs/dired: use diff-hl instead of dired-k
2019-09-02 00:52:26 -04:00
3c4252ffe7 Merge branch 'develop' into dired 2019-09-02 00:51:52 -04:00
8f061eb6b8 input/{chinese,japanese}: fix org-html-paragraph advice 2019-09-02 00:48:33 -04:00
05ab672ef9 Merge pull request #1732 from UndeadKernel/feature_sp-org
lang/org: smarter smartparens in org src blocks
2019-09-02 00:46:44 -04:00
6254829d46 Merge pull request #1731 from rgrinberg/agda-straight
lang/agda: install agda2-mode via straight
2019-09-02 00:45:56 -04:00
cd25abd7d2 Merge pull request #1735 from seanfarley/smf/add-timeout-arg
cli/upgrade: add timeout flag
2019-09-02 00:45:13 -04:00
3de42bd2bd Merge pull request #1742 from valignatev/develop
Fix vestigial reference to old hook in +cc/reload-compile-db
2019-09-02 00:44:49 -04:00
7ffc5d3134 Call renamed hook in the +cc/reload-compile-db autoload 2019-09-01 16:23:04 +03:00
88fc054919 Use straight for agda
We can fetch the mode directly from straight. There's no need to rely on
having this .el file installed for us. Now agda's el files can be edited
directly like all other emacs packages.

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-08-31 09:45:13 +07:00
d1a299b9f5 Fix #1719: sole :when in def-project-mode! 2019-08-29 20:05:34 -04:00
c55676d221 cli/upgrade: add timeout flag
Since there is a lot of logic in `bin/doom upgrade` than just running
two commands, I thought we should also add a timeout flag just like
`update` has.
2019-08-29 17:03:42 -07:00
3a10e948aa Fix #1718: void-function set-fontset-font
Occurs when Emacs is built without X server/GUI support.
2019-08-29 18:52:33 -04:00
9bbc77c2c7 Focus org-capture frame on MacOS 2019-08-29 18:45:20 -04:00
521ff7ac1a lang/org: smarter smartparens in org src blocks
While point is in a babel src block, do not autoexpand emphasis markers.
2019-08-29 15:43:53 +02:00
21883d9700 lang/javascript: fix npm-mode keybinds #1712 2019-08-28 22:41:31 -04:00
aecf3e4e63 Remove unnecessary interactive check in init.el
init.el should never be sourced non-interactively.
2019-08-28 22:08:13 -04:00
19899dac82 Fix inverted condition in package-archives assembly 2019-08-28 22:08:13 -04:00
081f09aac8 Fix 'doom run' #1724 2019-08-28 22:08:13 -04:00
f90cf1f974 Fix +default/org-notes-headlines 2019-08-28 22:08:13 -04:00
b141b4bbd8 Merge pull request #1720 from AloisJanicek/fix-snippets-keybindings
fix function name mismatch in snippets keybindings
2019-08-28 16:49:06 -04:00
f806b54333 Merge pull request #1723 from JakDar/develop
config/default: remove unused floobits & impatient-mode keybinds
2019-08-28 16:48:48 -04:00
75fe17950e Refactor doom-initialize-packages
Make it reinitialize more if FORCE-P is provided or doom-init-packages-p
is nil.
2019-08-28 16:46:39 -04:00
1a95ed263b removed unused floobits and impatient-mode bindings 2019-08-28 21:57:40 +02:00
ccaf92b0d3 tools/magit: don't kill all magit buffers when quitting one
And mark all outdated buffers, rather than just the ones in the current
workgroup.
2019-08-28 15:22:14 -04:00
7727920629 Rewrite doom/reload 2019-08-28 15:19:58 -04:00
09f077259e lang/javascript: make npm keybinds more accessible #1712 2019-08-28 15:17:59 -04:00
851b51357e Fix #1712, #1719: project minor modes not activating 2019-08-28 15:17:40 -04:00
9e122c6847 ui/workspaces: fix session restoration
Caused by an inverted buffer filter when saving the current session.
2019-08-28 12:41:00 -04:00
4cc359fd2b Add SPC b d keybind for killing buffers
Relevant to #1436
2019-08-28 12:41:00 -04:00
1cb9dbb2de Add evil-switch-to-windows-last-buffer keybinds
SPC ` and SPC b l
2019-08-28 12:40:59 -04:00
16b1456192 lang/org: fix new filepath defaults
...if org is loaded before the module.
2019-08-28 12:40:59 -04:00
464ebabc2a Add warning to doom/reload (SPC h R) 2019-08-28 12:40:59 -04:00
e195d13440 fix function name mismatch in snippets keybindings
some function related to snippets were renamed but their references
weren't updated to reflect this change resulting in error
2019-08-28 11:35:10 +02:00
cbd3a3b252 Fix #1697: use 2.0 branch for ensime package 2019-08-28 00:40:50 -04:00