Commit graph

15732 commits

Author SHA1 Message Date
Itai Y. Efrat
5ddf8b9b51 featuregate ivy dependent autoloads for irc, pass
previously these functions would get autoloaded even when another
completion framework was active
2021-05-21 00:51:11 +03:00
Itai Y. Efrat
6dc6d11b83 :tools pass fix path in autoload/pass.el header 2021-05-21 00:38:18 +03:00
Itai Y. Efrat
6e77afba11 :tools pass move autoload.el to autoload/pass.el 2021-05-21 00:37:27 +03:00
Henrik Lissner
ef7113d6c4 Fix #5071: don't always emit 128 exit code
Otherwise it always tries to execute /tmp/doom.sh, which won't exist on
certain code paths.
2021-05-20 11:01:28 -04:00
Henrik Lissner
f884a5d169 Bump :lang cc
Andersbakken/rtags@aa4c827 -> Andersbakken/rtags@63f18ac
ludwigpacifici/modern-cpp-font-lock@865955d -> ludwigpacifici/modern-cpp-font-lock@43c6b68

Rtags update includes a fix for (wrong-number-of-arguments (3 . 4) 2)
error on Emacs 28 (see #4534).
2021-05-18 19:30:01 -04:00
Henrik Lissner
69bd3da195 Don't enable lsp-ui-mode in lsp--auto-configure
Using a hook instead is more sensible (users can trivially configure
it).
2021-05-18 01:06:15 -04:00
Henrik Lissner
d141f39ee7 tools/lsp: remove unneeded lsp-ui-*-enable checks 2021-05-18 00:05:15 -04:00
Henrik Lissner
0196875d9c Remove redundant projectile-ignored-projects entries
/tmp and ~/.emacs.d/.local are already covered by our
projectile-ignored-project-function (doom-project-ignored-p).
2021-05-17 23:35:55 -04:00
Henrik Lissner
6fdaaf3ae6 Revert 3b0f23792 "Distinguish C-m from RET"
Unpredictably hijacks C-m in some cases, which is unacceptable. A better
solution is needed.
2021-05-17 22:33:22 -04:00
Henrik Lissner
1e9870e13a Refactor bin/doom
So innocuous CLI command return values don't break the post-script
written to /tmp/doom.sh.
2021-05-17 22:29:50 -04:00
Henrik Lissner
b237de5619 Fix <C-m> shadowing keypad return 2021-05-17 18:40:59 -04:00
Henrik Lissner
1840ae8a18 Backport VC-aware bug-reference-mode from 28.x
Fixes gf (+lookup/file) on issue/PR references for Emacs 27.x users,
for example:

  #1234
  doom-emacs#1234
  hlissner/doom-emacs#1234
2021-05-16 22:50:03 -04:00
Henrik Lissner
7c273ad173 Remove hard dependency on sp-point-in-* predicates 2021-05-16 21:22:06 -04:00
Henrik Lissner
060636966f Document :depth in add-hook! docstring 2021-05-16 21:19:30 -04:00
Henrik Lissner
bd94ef8f84 Optimize reading org-agenda buffers in the bg
Less init work when opening org-agenda buffers = faster org-agenda.
2021-05-16 21:18:26 -04:00
Henrik Lissner
de589e21a2 org-tree-slide-skip-outline-level = 0
Back to default, since it appears to be what people expect.
2021-05-16 21:17:45 -04:00
Henrik Lissner
e2077c823a tools/lsp: minor refactor
And several updates necessary for ff3c9777e.
2021-05-16 21:17:16 -04:00
Henrik Lissner
059a70b74b Enable hl-todo-mode in yaml-mode
Since it isn't derived from prog-mode and has a comment syntax.
2021-05-16 21:16:16 -04:00
Henrik Lissner
05866ce30f ui/modeline: don't show encoding unless nondefault 2021-05-16 21:15:55 -04:00
Henrik Lissner
fa8f73d9ed Revert b80b338b3
Causes a regression where output was written into /tmp/doom.sh,
producing errors like:

  /tmp//doom.sh: string 4: $'\E[32m✓': command not found

I'll revert this until I have a better solution.
2021-05-16 18:32:22 -04:00
Henrik Lissner
5bed0a6d16 Fix #5057: don't read editorconfig files in archives 2021-05-16 15:21:42 -04:00
Henrik Lissner
3b0f23792d Distinguish C-m from RET
But you must bind keys to "<C-m>" or [C-m] to target it.
2021-05-16 14:44:53 -04:00
Henrik Lissner
eaa32572b9 lang/rust: fix void-variable flycheck-checkers error
In case flycheck hasn't loaded yet.
2021-05-16 14:27:51 -04:00
Henrik Lissner
b80b338b3c doom--print: return message on success
More in line with `message's signature.
2021-05-16 14:22:06 -04:00
Henrik Lissner
2466f835bc Fix labeler workflow 2021-05-16 14:06:03 -04:00
Henrik Lissner
69beabe287 Fix #5060: don't hash relative backup file paths
Also refactors undo-fu-session's make-hashed-file-path advise to use
make-backup-file-name-1.
2021-05-16 14:02:34 -04:00
Henrik Lissner
62c231efe6 Bump rainbow-delimiters
Fanael/rainbow-delimiters@f43d48a -> Fanael/rainbow-delimiters@d576e66

Fixes #5059: contains fix for 'void-variable . rainbow-delimiters:'
error.
2021-05-16 14:02:34 -04:00
Henrik Lissner
f95bf845c3
Merge pull request #5058 from ericdallo/fix-light-modeline
:ui modeline: Fix missing arg to +modeline-format-icon function
2021-05-15 23:18:19 -04:00
Eric Dallo
59aabaead3
:ui modeline: Fix missing arg to function 2021-05-16 00:11:12 -03:00
Henrik Lissner
141938ef94 editor/fold: fix load-order dependency on evil
In case the user is enabling this module before the evil module.
2021-05-15 19:24:40 -04:00
Henrik Lissner
7383ed4dc1
Merge pull request #3307 from ericdallo/add-lsp-modeline
Add lsp and repl to +light modeline
2021-05-15 17:54:53 -04:00
Eric Dallo
f368745406
Fix eval on modeline 2021-05-15 18:35:19 -03:00
Henrik Lissner
b9e0ee2954 Revert 5c46a5e68 & fix treemacs-evil load order
I misunderstood the purpose of the new keybinds. They are actually fine.

Also fixes the config load order for treemacs-evil caused by weird
use-package + :after semantics.

Closes #5056
2021-05-15 17:33:37 -04:00
Eric Dallo
c224e2e771
Move to global-mode-string 2021-05-15 18:30:59 -03:00
Eric Dallo
7ddfb6271d
Add repl modeline 2021-05-15 18:26:37 -03:00
Eric Dallo
8e56aa8706
Add lsp modeline 2021-05-15 18:26:26 -03:00
Henrik Lissner
4d0ac5f46c
Merge pull request #5034 from fosskers/colin/racket-typos
:lang racket: Fix README typos
2021-05-15 17:00:49 -04:00
Henrik Lissner
e886dc6c68
Merge pull request #5052 from ckruse/develop
fix regex in lsp-file-watch-ignored-directories in elixir module
2021-05-15 17:00:05 -04:00
Henrik Lissner
79aa070b65
Merge pull request #5048 from iyefrat/unicode
unicode-chars-list-chars -> insert-char
2021-05-15 16:59:56 -04:00
Henrik Lissner
6765b9c5fd
Merge pull request #5045 from jrmiller82/develop
fix typo in how to set custom elfeed.org
2021-05-15 16:59:42 -04:00
Henrik Lissner
4c6418fcf7
Merge pull request #5044 from Janfel/fix-delete-whitespace-to-column
Fix #4577: WS not at BOL is deleted to tab columns
2021-05-15 16:59:19 -04:00
Henrik Lissner
a95abedc0e
Merge pull request #5023 from Grazfather/lispy-goggles
ophints: Add hooks for lispyville
2021-05-15 16:58:14 -04:00
Henrik Lissner
53d438d467
Merge pull request #5008 from nackjicholson/notmuch-rm-org-mime
notmuch: remove org-mime
2021-05-15 16:57:59 -04:00
Henrik Lissner
5c46a5e680 ui/treemacs: restore old h/l behavior
Fixes #5056
2021-05-15 14:09:08 -04:00
Henrik Lissner
44a0589281 Fix labeler action config 2021-05-15 14:09:08 -04:00
Henrik Lissner
dee20c7585 Remove define-obsolete-*-alias fix
Packages have had enough time to catch up. Also, with 9d3742c0d these
fixes are no longer effective for packages.

Closes #4534
2021-05-15 14:09:08 -04:00
Henrik Lissner
fb89327ff2 Revert to straight's original bytecomp behavior
Half-reverts 628f0a9, which forced straight to byte-compile packages in
another Emacs session, which produced failures for packages that didn't
properly load their compile-time dependencies (e.g. macro calls).

But now, I realize that _not_ failing in those cases is worse and
produces odd byte-code issues like #1657 or invalid-function ((date
date)) errors. This doesn't guarantee a fix, but at least takes the ball
out of Doom's court, and gracefully fails to uncompiled packages, rather
than incorrect bytecode.
2021-05-15 14:09:08 -04:00
Henrik Lissner
9e5ba5fd6c Don't suppress user-error errors
Refactor doom-run-hooks warning.
2021-05-15 14:09:08 -04:00
Henrik Lissner
755d4c7b15 Add popup rule for *envrc* error buffers 2021-05-15 14:09:08 -04:00
Henrik Lissner
528657a426 bin/org-capture: fix hanging
The script's stdin check was too simplistic and would block forever
waiting for input. From now on, to pipe to the script, pass it a dash.
2021-05-15 14:09:08 -04:00