Commit Graph

15805 Commits

Author SHA1 Message Date
55c37710f5 Do not panic when xclip is not available 2020-12-14 16:40:10 -06:00
a4392b2c0d Fix #4431: don't use // in [JT]SX markup 2020-12-14 16:50:40 -05:00
8c397902bc Fix #4432: comp-deferred-compilation-{black,deny}-list 2020-12-14 16:48:14 -05:00
9490d42cd3 Comment revision 2020-12-14 15:48:29 -05:00
49f3bc193a Fix #4430: wrong-num-of-args error on expand-region 2020-12-14 15:14:20 -05:00
39d6caf090 Merge pull request #4425 from samwhitlock/develop
A workaround for formatting org mode
2020-12-14 02:30:44 -05:00
5827985085 Don't increase gc-cons-threshold in org-mode
This was likely unnecessary and may be the cause of recent reports of
slowness/freezing over time.
2020-12-14 01:11:45 -05:00
d69d245778 Remove sp-escape-quotes-after-insert hack
Was fixed upstream at some point.
2020-12-13 19:48:43 -05:00
04b29c70d2 doom/escape: change this-command only if interactive 2020-12-13 19:48:32 -05:00
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
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
bd5deb1edc Merge pull request #4424 from mskorzhinskiy/develop
popup.el: consider auto-saving indirect buffers too
2020-12-13 15:01:59 -05:00
831270c6d8 Merge pull request #4423 from brotzeit/rust-bump
Bump :lang rust
2020-12-13 14:39:58 -05:00
cd37300cc0 Bump :lang rust
brotzeit/rustic@91ad5db -> brotzeit/rustic@f7d5ac0
2020-12-13 15:13:19 +00:00
9c510159ff popup.el: consider auto-saving indirect buffers too
Function (buffer-file-name) always returns nil with indirect buffer as
an argument. Extracting base buffer and checking if base buffer visiting
file fixes data loss in indirect buffers showed in popups.

E-mail thread in the org-mode mailing list:

  https://lists.gnu.org/archive/html/emacs-orgmode/2020-12/msg00085.html
2020-12-13 15:45:45 +01:00
99a83ca18f A workaround for formatting org mode
If point is in a source block, format that source block.
Else don't try to format the buffer. format-all-buffer does not support
org mode.
2020-12-13 15:36:56 +01:00
2e61fbbf08 Fix #4407: regression in +markdown-flyspell-word-p
Preventing misspelled words from being highlighted.

May address #4420
2020-12-13 00:21:10 -05:00
fc955f4100 Don't set a default ispell-dictionary
May address #4420, #4422, and/or #4407
2020-12-13 00:21:05 -05:00
930524f3ac Apply spell-fu blacklist to derived modes 2020-12-12 23:23:13 -05:00
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
eea4709354 cli: run post-script indirectly
Fixes cases where /tmp is mounted with noexec.
2020-12-12 15:56:36 -05:00
09ac5a48c1 Add org-export-async-debug to debug vars 2020-12-12 15:56:36 -05:00
20c873d45b Update flycheck on idle-change
I get too many "bug reports" about flycheck not doing this. Too much
hassle to uphold a misunderstood default.
2020-12-12 15:56:36 -05:00
97d8de81fe Remove defunct straight-fix-org setting
It was removed upstream.
2020-12-12 15:56:36 -05:00
6075e6f143 Refactor initialization of package state 2020-12-12 15:56:36 -05:00
89db59769d Re-enable ivy in evil-ex completion
Seems its earlier issues are no longer a problem.
2020-12-12 15:56:36 -05:00
765b6dcfca Unset unused markers
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
c4a0174fe2 ivy-read-action-format-function = ivy-hydra-read-action
Makes ivy's C-o dispatching commands easier to see.
2020-12-12 15:56:36 -05:00
144714e7f5 Add popup rule for flycheck error list 2020-12-12 15:56:36 -05:00
d2005ab5da docs/api: add cmds! & kbd! demos 2020-12-12 15:56:35 -05:00
91ced79975 Merge pull request #4409 from icmor/develop
Add "python3" to possible names for the python binary
2020-12-12 13:49:05 -05:00
ff9ba16310 Merge pull request #4418 from Davoodeh/patch-4
Set ligratures for csharp-mode
2020-12-12 13:48:52 -05:00
784acaa64d Set ligratures for csharp-mode 2020-12-12 22:10:24 +03:30
4e4ad325a5 Merge pull request #4415 from nbfalcon/bugfix/module-goto-definition
Workaround: fix goto definition on modules
2020-12-12 13:37:44 -05:00
6f5cde1386 Merge pull request #4414 from nbfalcon/bugfix/evil-ex-smartparens
Enable `smartparens' for `evil'
2020-12-12 13:03:31 -05:00
8325ed5a9d Merge pull request #4416 from nbfalcon/feature/doom-help-modules-prefix-arg
`doom/help-modules': C-u -> browse directory
2020-12-12 12:58:14 -05:00
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
621cb60e75 Workaround: fix goto definition on modules
`+emacs-lisp-lookup-definition' does not work when browsing the directory of a
module, because, due to a possible bug in `counsel', the visited buffer is not
immediately visible after calling `counsel-find-file' (unlike with `find-file').
As such, the backend should return `deferred' for that case.

See abo-abo/swiper#2752. This should be removed once that PR is merged.
2020-12-12 13:21:26 +01:00
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
09f3597069 Update link for nose.el
Switched from melpa -> emacsmirror.
2020-12-12 01:01:45 -05:00
7053bfbeb7 Add "python3" to possible names for the python binary
Followed lang/python/config.el which already checks for python3
when setting the python-shell-interpreter.

Python version naming is a hot mess:
https://www.python.org/dev/peps/pep-0394/
2020-12-12 00:55:43 -05:00
1fba2ea303 Bump :emacs vc
magit/magit@2fb3bf7 -> magit/magit@acfe22a
2020-12-11 17:39:50 -05:00
4281a772b1 Revise core lib docstrings for clarity 2020-12-11 17:38:59 -05:00
10f1b8040a Remove extraneous newline in doom/help-packages output 2020-12-11 17:38:18 -05:00
d149c59d2e Add emacs mode checks to insert mode checks
This is to accommodate users who default to emacs mode, rather than
insert mode. The two are also very alike, so many of these checks should
apply to both (almost) equally.
2020-12-11 17:38:09 -05:00
8edabbecfa Add kbd! alias for general-simulate-key macro 2020-12-11 16:59:47 -05:00
34f8aa1095 Merge pull request #4408 from elmarco/magit-file-dispatch
Bind useful magit-file-dispatch
2020-12-11 15:52:32 -05:00
2772ca8e70 Conditionally switch to insert mode on snippet expansion
If already in insert (or emacs) state, don't switch mode when expanding
a yasnippet snippet.
2020-12-11 15:50:02 -05:00
3c8a2a655f Fix envvar file encoding for Windows users 2020-12-11 15:50:02 -05:00
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