Commit graph

9345 commits

Author SHA1 Message Date
William Vaughn
d3eaad8f1c rm notmuch-hello customization
Seeking to make this notmuch module behave more like vanilla notmuch to
be less disorienting for users who are familiar with notmuch. The
customizations of the notmuch-hello screen can easily be done in user
configs by users that want those customizations.
2020-12-27 22:46:27 -08:00
Henrik Lissner
0c9256411d
Merge pull request #4433 from yangsheng6810/fix-xclip-not-found
Do not panic when xclip is not available
2020-12-15 04:14:40 -05:00
Henrik Lissner
d42893da75
Merge pull request #4434 from AloisJanicek/better-ivy-hydras-usability
Better ivy hydras usability
2020-12-15 04:14:30 -05:00
Alois Janíček
715c736815
Prioritize company-capf back-end in org-journal
This allows functionality like completion of org-roam items seamlessly
work in org-journal-mode files too.

Same setting is already set for org-mode itself.
2020-12-15 01:48:14 +01:00
Alois Janíček
8afd8a6ce8
Restore user ability to toggle ivy related hydras
There are two hydras that can be opened from ivy interface:

1. `ivy-dispatching-done' (doom key: "C-o", vanilla key: "M-o")
2. `hydra-ivy/body'       (doom key: "M-o", vanilla key: "C-o")

Original behavior is that they both can be exited / toggled
by the same key they were opened.

This commit restores the original behaviour but does it without
reverting the decision to swap the "C-o" and "M-o" key bindings.
2020-12-15 00:28:50 +01:00
Alois Janíček
e7696893f4
ivy-read-action-function = ivy-hydra-read-action
Use hydra to read user action when calling `ivy-dispatching-done`
2020-12-15 00:10:29 +01:00
Sheng Yang
55c37710f5 Do not panic when xclip is not available 2020-12-14 16:40:10 -06:00
Henrik Lissner
a4392b2c0d
Fix #4431: don't use // in [JT]SX markup 2020-12-14 16:50:40 -05:00
Henrik Lissner
9490d42cd3
Comment revision 2020-12-14 15:48:29 -05:00
Henrik Lissner
49f3bc193a
Fix #4430: wrong-num-of-args error on expand-region 2020-12-14 15:14:20 -05:00
Henrik Lissner
39d6caf090
Merge pull request #4425 from samwhitlock/develop
A workaround for formatting org mode
2020-12-14 02:30:44 -05:00
Henrik Lissner
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
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
bd5deb1edc
Merge pull request #4424 from mskorzhinskiy/develop
popup.el: consider auto-saving indirect buffers too
2020-12-13 15:01:59 -05:00
brotzeit
cd37300cc0 Bump :lang rust
brotzeit/rustic@91ad5db -> brotzeit/rustic@f7d5ac0
2020-12-13 15:13:19 +00:00
Mikhail Skorzhinskii
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
Sam Whitlock
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
Henrik Lissner
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
Henrik Lissner
fc955f4100
Don't set a default ispell-dictionary
May address #4420, #4422, and/or #4407
2020-12-13 00:21:05 -05:00
Henrik Lissner
930524f3ac
Apply spell-fu blacklist to derived modes 2020-12-12 23:23:13 -05:00
Henrik Lissner
09ac5a48c1
Add org-export-async-debug to debug vars 2020-12-12 15:56:36 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
765b6dcfca
Unset unused markers
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
Henrik Lissner
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
Henrik Lissner
144714e7f5
Add popup rule for flycheck error list 2020-12-12 15:56:36 -05:00
Henrik Lissner
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
M. Yas. Davoodeh
784acaa64d
Set ligratures for csharp-mode 2020-12-12 22:10:24 +03:30
Nikita Bloshchanevich
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
icmor
09f3597069 Update link for nose.el
Switched from melpa -> emacsmirror.
2020-12-12 01:01:45 -05:00
icmor
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
Henrik Lissner
1fba2ea303
Bump :emacs vc
magit/magit@2fb3bf7 -> magit/magit@acfe22a
2020-12-11 17:39:50 -05:00
Henrik Lissner
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
Henrik Lissner
34f8aa1095
Merge pull request #4408 from elmarco/magit-file-dispatch
Bind useful magit-file-dispatch
2020-12-11 15:52:32 -05:00
Henrik Lissner
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
Henrik Lissner
863063b60d
Defer internal help & help-mode packages
To simplify load order so users can easily modify help-mode-map after
evil-collection has. e.g.

  (map! :after help
        :map help-mode-map
        :n "C-o" nil)
2020-12-11 15:50:02 -05:00
Henrik Lissner
96d7e50f3e
Distinguish <C-i> from "C-i" 2020-12-11 15:50:02 -05:00
Marc-André Lureau
f0a5d454c5 Bind useful magit-file-dispatch
Thanks to this blog post for teaching me about it:
https://emacsredux.com/blog/2020/12/10/essential-magit-file-commands/

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-12-11 15:51:45 +04:00
Henrik Lissner
55e90f064f
Load gcmh-mode a little sooner
Ensures it is loaded in time when files are loaded directly from the
terminal.
2020-12-11 01:41:38 -05:00
Henrik Lissner
1b6b122317
Bump :tools magit
magit/magit@2e0c697 -> magit/magit@acfe22a
magit/forge@844aa6d -> magit/forge@953764d

Fixes odd errors on magit-status
2020-12-10 16:14:05 -05:00
Henrik Lissner
c9dff2f957
Bump :lang javascript
mooz/js2-mode@ffb7099 -> mooz/js2-mode@f7816bd

Added support for logical assignment operators in mooz/js2-mode@f7816bd

Closes #4398
2020-12-09 17:19:07 -05:00
Henrik Lissner
a5af17b6aa
Fix #4397: call pdf-tools-install-noverify
So pdf-tools has a chance to set up its hooks.
2020-12-09 17:17:22 -05:00
Henrik Lissner
46ac4191e1
Bump :tools debugger lsp
emacs-lsp/dap-mode@e582ff9 -> emacs-lsp/dap-mode@041db8e
emacs-lsp/lsp-mode@e1c4241 -> emacs-lsp/lsp-mode@61443f3
emacs-lsp/lsp-ui@b1693d6 -> emacs-lsp/lsp-ui@49bc513
emacs-straight/project@67216fb -> emacs-straight/project@0003fe4

Fix #4396
2020-12-09 17:17:21 -05:00
Henrik Lissner
fbb8d1b99e
Merge pull request #4392 from rfaulhaber/add-mdn-search-to-lookup
Adds MDN search to online lookup
2020-12-08 23:01:07 -05:00
Henrik Lissner
c45346404a
Merge pull request #4381 from iwahbe/spell-no-word-error
Add word existence checking for +spell/correct
2020-12-08 23:00:51 -05:00
Henrik Lissner
fc9dd5748e
Fix #4386: interop between ivy-xref & dired-do-find-regexp 2020-12-08 22:44:53 -05:00
Ryan Faulhaber
65bd7c3414
Adds MDN search to online lookup 2020-12-08 22:20:56 -05:00
Ian Wahbe
448bff2fd8 Implement cleaner version 2020-12-06 23:57:40 +01:00
Ian Wahbe
a51be66d30 Add word existence checking for +spell/correct
`(bounds-of-thing-at-point 'word)` can return `nil`. This checks that it
does not, giving an `user-error` if no word is found.
2020-12-06 19:18:36 +01:00
Henrik Lissner
9137cbaaa4
Bump :completion
Yevgnen/ivy-rich@1097013 -> Yevgnen/ivy-rich@c0a164c
abo-abo/swiper@6a22192 -> abo-abo/swiper@778d8bf
company-mode/company-mode@dd92593 -> company-mode/company-mode@97cfbc3
emacs-helm/helm@5ad6c83 -> emacs-helm/helm@75562ee
emacs-jp/helm-c-yasnippet@89cc856 -> emacs-jp/helm-c-yasnippet@28699d9
raxod502/prescient.el@41443e1 -> raxod502/prescient.el@5d139e5
tumashu/ivy-posframe@58ddf8c -> tumashu/ivy-posframe@08a00b8
tumashu/posframe@395aca9 -> tumashu/posframe@e1552c8
2020-12-05 16:57:31 -05:00