Commit graph

16384 commits

Author SHA1 Message Date
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
Colin Woodbury
04b5dee615
[rust] Correct references to "elgot"
It's a typo.
2021-05-17 07:32:49 -07:00
Colin Woodbury
e05dd2651f
[:completion ivy] Call pacman in the normal way
`--needed` and `--noconfirm` are fine, but are usual to use when
installing a single package.
2021-05-17 07:25:23 -07:00
Colin Woodbury
b771425f45
[:lang rust] Expand Prerequisites
And fix some minor spelling/grammar issues.
2021-05-17 07:24:55 -07: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
Henrik Lissner
ff3c9777e7 Bump :tools debugger lsp
emacs-lsp/dap-mode@ae395aa -> emacs-lsp/dap-mode@49af1b8
emacs-lsp/helm-lsp@74a02f8 -> emacs-lsp/helm-lsp@c2c6974
emacs-lsp/lsp-ivy@515e597 -> emacs-lsp/lsp-ivy@4dcb635
emacs-lsp/lsp-mode@eda51c2 -> emacs-lsp/lsp-mode@3dc87f6
emacs-lsp/lsp-ui@1dbea9f -> emacs-lsp/lsp-ui@efae00e
emacs-straight/project@388ffdf -> emacs-straight/project@ef2d487
joaotavora/eglot@f930a09 -> joaotavora/eglot@b06589b
realgud/realgud-trepan-ni@6e38cf8 -> realgud/realgud-trepan-ni@0ec088e
realgud/realgud@f73c039 -> realgud/realgud@34557f8
tumashu/posframe@fff21cc -> tumashu/posframe@739d8fd
2021-05-15 14:08:21 -04:00
Christian Kruse
f3b71b0495 fix regex in lsp-file-watch-ignored-directories in elixir module 2021-05-14 21:31:41 +02:00
Itai Y. Efrat
8a40e83ab5 unicode-chars-list-chars -> insert-char
`unicode-chars-list-chars` doesn't seem to be an actual function (not
defined in emacs or found online), and `insert-char` seems like what one
would want here.
2021-05-13 17:04:16 +03:00
Jan Felix Langenbach
c84bc953d9 Simplify (% current-column tab-width) code 2021-05-13 10:50:44 +02:00
Jan Felix Langenbach
3c41823824 Fix wrong column being used and resulting bugs 2021-05-13 09:49:30 +02:00
James Miller
b523d5314d
change from list to ' form 2021-05-12 22:08:52 -04:00