Commit graph

5085 commits

Author SHA1 Message Date
Henrik Lissner
63929a240c Fix doom-lookup-key
+ Scanning wrong variable for minor mode keymaps (minor-mode-alist ->
  minor-mode-map-alist).
+ Accommodate possibility that emulation-mode-map-alists may contain
  nested alists (#4538).

Closes #4538
2021-01-18 17:45:29 -05:00
Henrik Lissner
bb4d17efb7 Revert 8bac3bc6c, a9e6f8883
Add evil-collection-vterm and with-editor to comp blacklist.

Fixes #4517
2021-01-18 17:45:29 -05:00
John Bampton
583f854298 Fix spelling 2021-01-18 02:16:45 +10:00
Henrik Lissner
fc184852d0
Only replace usernames in file paths in doom/info 2021-01-11 02:49:00 -05:00
Henrik Lissner
8cd7a1dbc6
Fix doom-unicode-font 2021-01-11 02:41:28 -05:00
Henrik Lissner
8c258c272d
Update comments 2021-01-11 02:41:14 -05:00
Henrik Lissner
1235ea74cf
Bump better-jumper
gilbertw1/better-jumper@e3a6546 -> gilbertw1/better-jumper@5ef53fc

Fixes 'void-variable better-jumper-jump-list-struct' at startup, because
cl-defstruct macro is unavailable when the better-jumper package is
compiled (as of raxod502/straight.el@6a273d1, straight compiles packages
in a child process where cl-lib isn't preloaded).

First reported in https://www.reddit.com/r/DoomEmacs/comments/kts81q/spacemacslike_menu_when_pressing_leader_key/
2021-01-10 19:54:14 -05:00
Henrik Lissner
5cb2395e08
Set custom-theme-directory in core-ui 2021-01-10 08:07:27 -05:00
Henrik Lissner
3f2c4b80e9
Add Emacs 26.x warning to doctor checks
We'll be dropping support for it in the next few months.
2021-01-10 05:02:00 -05:00
Henrik Lissner
8bac3bc6c6
Remove with-editor from comp blacklist 2021-01-09 04:12:54 -05:00
Henrik Lissner
a9e6f88831
Remove evil-collection-vterm from comp blacklist
Issue was fixed upstream in native-comp branch.
2021-01-09 03:10:43 -05:00
Henrik Lissner
cfb8a866dc
Bump :core
Fuco1/smartparens@7f5825d -> Fuco1/smartparens@63695c6
bbatsov/projectile@d1cfad0 -> bbatsov/projectile@c31bd41
domtronn/all-the-icons.el@6917b08 -> domtronn/all-the-icons.el@9aa16ae
iqbalansari/restart-emacs@e570749 -> iqbalansari/restart-emacs@1607da2
jscheid/dtrt-indent@a7ade6d -> jscheid/dtrt-indent@854b9a1
justbur/emacs-which-key@ca268fd -> justbur/emacs-which-key@428aedf
jwiegley/use-package@caa92f1 -> jwiegley/use-package@365c73d
raxod502/straight.el@3277e1c -> raxod502/straight.el@a32c97c

+ Closes #4513
+ Fixes (wrong-number-of-arguments (3 . 4) 2) error for users on Emacs
  HEAD (see bbatsov/projectile#1635).
+ package! :build semantics have changed due to upstream changes. What
  was :build is now :pre-build. What was :no-build is now :build nil.
+ Now we must be careful not to auto-disable the "use-package" psuedo
  theme. It is used as a place to store :custom assignments without them
  being saved to custom.el.
2021-01-09 02:55:09 -05:00
Henrik Lissner
5da3641aad
Move init.el to early-init.el
Our first step toward dropping 26.x support. Allows our optimizations to
reach a little further into the startup.
2021-01-09 02:55:08 -05:00
Henrik Lissner
cae1766d8e
redisplay-skip-fontification-on-input = t
This setting was introduced recently in Emacs HEAD.
2021-01-07 01:43:17 -05:00
Henrik Lissner
34c5dad750
Add value+docstring columns to doom/help-custom-variable
When used with ivy. Also: slight refactor of doom/help-custom-variable.
2021-01-05 19:29:19 -05:00
Henrik Lissner
b89929f3f8
Bind {C-h, SPC h} V to doom/help-custom-variable
For looking up custom variables (i.e. variables intended to be
customized; defined with defcustom).
2021-01-05 19:21:54 -05:00
Henrik Lissner
da177d58c4
Fix #4457: wrong-type-arg keymapp on C-i keybinds 2021-01-05 01:55:53 -05:00
Henrik Lissner
a567834ff8
Fix #4457: broken key sequences ending with C-i 2021-01-03 22:40:06 -05:00
Henrik Lissner
b90e001ca0
Merge pull request #4448 from hoyon/patch-1
Add `--exclude .git` to fd in `projectile-generic-command`
2021-01-03 18:44:55 -05:00
Henrik Lissner
157f654f98
Merge pull request #4456 from RBckmnn/Fix_doom/bump-package
Fix interactive call of doom/bump-package
2021-01-03 18:44:06 -05:00
midchildan
2c51be5b2c
Respect the :ignore property for packages installed as dependencies (#4497)
* Respect the :ignore property for packages installed as dependencies

* Fix indentation

Co-authored-by: Henrik Lissner <accounts@v0.io>
2021-01-03 18:42:57 -05:00
Henrik Lissner
22b24d397f
Merge pull request #4494 from gilbertw1/fix-better-jumper-persp-leak
Bump better-jumper. Fixes #2826
2021-01-03 18:41:54 -05:00
Henrik Lissner
c987794884
Fix #4478: backport exec-path function from 27.1 2021-01-03 17:40:33 -05:00
Bryan Gilbert
ded4532cb6 Bump better-jumper
gilbertw1/better-jumper@e3a6546 ->
gilbertw1/better-jumper@fe548d2

Fixes #2826
2020-12-30 16:18:33 -05:00
Henrik Lissner
ae5cb5b957
Always prioritize custom-theme-directory
Over plugins/built-in themes.
2020-12-29 00:52:12 -05:00
Henrik Lissner
1f3530da6f
Remove gh from excluded packages for autoloads
Fixed upstream.
2020-12-23 15:34:15 -05:00
Ralf Beckmann
712d6a7c40 Fix interactive call of doom/bump-package
The function expects 'package' to be a symbol instead of a string.
2020-12-20 17:37:29 +01:00
Henrik Lissner
3967d6001b
Comment/docstring revision 2020-12-18 16:10:06 -05:00
Henrik Lissner
0f2bb647eb
Rewrite "large file" detection
Adds a doom-inhibit-large-file-detection letvar for disabling it in
some contexts.
2020-12-18 16:08:22 -05:00
Ho-Yon Mak
2253e7f467
Add --exclude .git to fd in projectile-generic-command 2020-12-17 22:57:17 +00:00
Henrik Lissner
aba28824a0
Fail gracefully on files with no large-file-size-alist entry 2020-12-15 17:03:40 -05:00
Henrik Lissner
5aaaf3d99c
Remove text-mode from so-long-target-modes
This is too buggy as a general rule. Too many false positive bug
reports from plugins writing text files that are too large/long.

Fixes #4419
2020-12-15 16:58:43 -05:00
Henrik Lissner
8c397902bc
Fix #4432: comp-deferred-compilation-{black,deny}-list 2020-12-14 16:48:14 -05:00
Henrik Lissner
9490d42cd3
Comment revision 2020-12-14 15:48:29 -05:00
Henrik Lissner
d69d245778
Remove sp-escape-quotes-after-insert hack
Was fixed upstream at some point.
2020-12-13 19:48:43 -05:00
Henrik Lissner
04b29c70d2
doom/escape: change this-command only if interactive 2020-12-13 19:48:32 -05:00
Henrik Lissner
084defb165
Reset sp-pair-overlay-keymap for evil users
Smartparens creates a conditional keybind on C-g when its overlays are
present (whether or not they're visible). This causes confusion when
evil users are forced to press C-g twice to exit insert mode.
2020-12-13 19:41:08 -05:00
Henrik Lissner
65416ff472
Fix #4427: ivy-read-action-format-function = ivy-read-action-format-columns
And remove max-mini-window-height, which interferes with ivy's own
minibuffer resizing logic, and isn't a terribly helpful default anyway.
2020-12-13 15:42:52 -05:00
Henrik Lissner
5d3496575c
Fix #4421: masquerade doom/escape as keyboard-quit
Or abort-recursive-edit, depending. Some other packages/commands listen
for these two (like undo-fu), and by remapping C-g we break those.
2020-12-12 22:54:48 -05:00
Henrik Lissner
97d8de81fe
Remove defunct straight-fix-org setting
It was removed upstream.
2020-12-12 15:56:36 -05:00
Henrik Lissner
6075e6f143
Refactor initialization of package state 2020-12-12 15:56:36 -05:00
Henrik Lissner
6f5cde1386
Merge pull request #4414 from nbfalcon/bugfix/evil-ex-smartparens
Enable `smartparens' for `evil'
2020-12-12 13:03:31 -05:00
Nikita Bloshchanevich
0d330f7a7e `doom/help-modules': C-u -> browse directory
If called with a C-u prefix, `doom/help-modules' now browses the module's
directory instead of opening its documentation. This exposes the VISIT-DIR
argument to `interactive' use.
2020-12-12 13:24:15 +01:00
Nikita Bloshchanevich
61135f5374 Enable smartparens' for evil-ex'
febf960 introduced a regression, in that it caused `smartparens-mode' to
no longer be enabled for `evil-ex'. This is because the latter doesn't
call `read--expression', but calls the minibuffer directly instead.

Return `doom-init-smartparens-in-minibuffer-maybe-h', enabling
`smartparens' for `evil-ex'. The hook responsibly for enabling it in
`eval-expression-minibuffer-setup-hook' was renamed to
`doom-init-smartparens-in-eval-expression-h', since otherwise the naming
would have been awkward.

Also explicity enable `smartparens-mode' instead of toggling it.
2020-12-12 12:58:41 +01:00
Henrik Lissner
4281a772b1
Revise core lib docstrings for clarity 2020-12-11 17:38:59 -05:00
Henrik Lissner
10f1b8040a
Remove extraneous newline in doom/help-packages output 2020-12-11 17:38:18 -05:00
Henrik Lissner
8edabbecfa
Add kbd! alias for general-simulate-key macro 2020-12-11 16:59:47 -05:00
Henrik Lissner
3c8a2a655f
Fix envvar file encoding for Windows users 2020-12-11 15:50:02 -05:00
Henrik Lissner
07db84bfe2
Don't chase symlinks
This should make more exotic symlink config setups viable, but should
also speed up a few internal operations. There are too many possible
symlink configurations to support them all, however.
2020-12-11 15:50:02 -05:00
Henrik Lissner
2c646df027
Initialize more straight state in doom-initialize-packages
May address #3172 and some issues with certain files failing to
byte-compile because certain dependencies were missing at compile-time.
2020-12-11 15:50:02 -05:00