Commit graph

16794 commits

Author SHA1 Message Date
Henrik Lissner
f65439310f fix(solidity): install company/flycheck packages conditionally 2021-10-18 12:09:42 +02:00
Henrik Lissner
4b9c0e8df8 bump: :lang clojure
clojure-emacs/cider@2b8bde3580 -> clojure-emacs/cider@0a9d0ef429
clojure-emacs/clj-refactor.el@9e1f920334 -> clojure-emacs/clj-refactor.el@a5e1953753
clojure-emacs/parseclj@fcebf65075 -> clojure-emacs/parseclj@a8c4cf30fb
clojure-emacs/parseedn@b00eb42a1c -> clojure-emacs/parseedn@e5ba280d1f

Includes a fix for 'void-variable: xref-etags-location' errors.

Close #5656
2021-10-18 12:09:42 +02:00
Björn Larsson
8101661763
docs(rotate-text): add README (#5654) 2021-10-18 01:43:37 +02:00
Miko Nieminen
36d41b600a
fix(lsp): move lsp-session to doom cache dir (#5650)
Because this data contains cached session data, it makes more sense to
have it under `~/.emacs.d/.local/cache` so that it is clear that it can
and should be removed when debugging and testing LSP using modules.

Fix #5649
2021-10-18 01:38:20 +02:00
Ellis Kenyő
9aba0aea23
fix(php): let +phpunit-docker-compose-mode be disabled (#5648) 2021-10-18 01:37:32 +02:00
Karthik Nayak
3e89872e8c
docs(go): use go install instead of go get (#5638)
Currently the dependencies listed use `go get`, but this is
soon to be deprecated. Replace the `go get` commands with
`go install` command.
2021-10-18 01:37:03 +02:00
Dylan Barker
390fd1a7b0
fix(mu4e): reflect upstream naming changes (#5620) 2021-10-18 01:36:21 +02:00
jwillhite
e0e031ad08
feat(eshell): add vertico completion for eshell history (#5614) 2021-10-18 01:35:44 +02:00
Henrik Lissner
3bd358dc36 fix(lookup): +lookup/online for vertico users
Would formerly throw wrong-number-of-args errors.
2021-10-18 01:24:28 +02:00
Henrik Lissner
910230d14d bump: :tools lookup
alexmurray/ivy-xref@3d4c35fe2b -> alexmurray/ivy-xref@a82e8e117d
brotzeit/helm-xref@23f1174cfc -> brotzeit/helm-xref@ea0e4ed8a9
jacktasia/dumb-jump@542e72d3fe -> jacktasia/dumb-jump@f3176fbf9c
tkf/emacs-request@2b68b3ca54 -> tkf/emacs-request@68003b3f85

Fix #5637
Fix #5634
2021-10-18 01:15:54 +02:00
Henrik Lissner
4d20fc65cd bump: :core
bbatsov/projectile@17c152b062 -> bbatsov/projectile@7f64570d3e
hlissner/ws-butler@2bb49d3ee7 -> hlissner/ws-butler@572a10c11b
noctuid/general.el@a0b17d207b -> noctuid/general.el@26f1d4c4e2
raxod502/straight.el@45eb6112b2 -> raxod502/straight.el@f81d9b755f

Fix #5619
2021-10-18 01:15:54 +02:00
Henrik Lissner
1a86b0fc0f fix(cli): deploy git hooks to correct directory
'doom install' now consults git to find the hooks directory, which will
work for users who have Doom as a submodule (#5632).

Fix #5632
2021-10-18 01:15:54 +02:00
Henrik Lissner
ff854157a6 fix(lib): package URL in documentation
Fixes [[doom-package:*]] links in (future) docs and always displays a
homepage URL in 'SPC h p' (or 'C-h p') package docs.
2021-10-18 01:15:54 +02:00
Henrik Lissner
0112319c04 fix(lib): add &allow-other-keys in fn! sub-arglists
Before this fix:

  (fn! (x &key y z))
  ;; implies
  (fn! (&key x &allow-other-keys)).

But

  (fn! (x (&key y) &key z))
  ;; would not imply
  (fn! (x (&key y &allow-other-keys) &key z &allow-other-keys)).
2021-10-18 01:15:54 +02:00
Henrik Lissner
db09cb001f perf: inhibit redisplay when loading modules
Some packages my force a redraw for no good reason.
2021-10-18 01:15:54 +02:00
Henrik Lissner
e431dbc138 fix(doom-dashboard,workspaces): module init order
Change (and simplify) the load order of Doom's dashboard and persp-mode
so that the dashboard always initializes later. This and 0ab6aba should
fix #5643.

Fix #5643
Ref 0ab6aba056
2021-10-18 01:15:20 +02:00
Henrik Lissner
0ab6aba056 perf: inhibit redisplay/echo area at startup
Unnecessary redraws can add 0.2-0.4s to startup times in some cases,
especially where site-files are involved (which spam *Messages* with
"Loading X..." messages; which force redraws).

May also indirectly fix #5643 by deferring redisplay (and therefore
window-buffer-change-functions, which triggers doom-init-ui-hook, which
triggers both Doom's dashboard and persp-mode).

Also removes a redundant set-language-environment call.

Ref #5643
2021-10-18 01:15:09 +02:00
Henrik Lissner
3106443707 fix(file-templates): +file-templates/debug
Command was previously inoperable (threw an error).
2021-10-18 01:15:09 +02:00
Henrik Lissner
b36d798f74 fix: restore auth-sources default
This was accidentally removed in 68d8364.

Ref 68d8364aea
Fix #5628
2021-10-18 01:15:09 +02:00
Henrik Lissner
06dc65f906
merge: pull request #5292 from elken/feature/php-improvements
Improve `:lang php`
2021-10-12 23:24:12 +02:00
Henrik Lissner
a33865569e fix: premature deprecation of *-local-vars-hook
68d8364ae added a deprecation notice to any use of a
MODE-local-vars-hook, instructing users to use after-MODE-hook instead,
however this hasn't been decided yet and shouldn't have made it into
68d8364ae.

Ref 68d8364aea
Fix #5612
2021-10-11 20:25:18 +02:00
Henrik Lissner
ade96ed515 docs(lib): clarify type of add-hook!'s first arg 2021-10-11 20:25:18 +02:00
Henrik Lissner
b47440010f docs: add EMACSDIR == DOOMDIR doctor check 2021-10-11 20:25:15 +02:00
Dominik Schrempf
316209ea61
feat(latex): add keybinds for compilation (#5585) 2021-10-11 00:18:51 +02:00
Kenneth Lin
380d04f890
fix(evil): reference to removed command (#5608)
+vc/browse-at-remote-file-or-region no longer exists.
+vc/browse-at-remote seems like the reasonable replacement.
2021-10-11 00:13:11 +02:00
Henrik Lissner
4eeb3c7a19 fix: wrong-number-of-args error on font init
set-frame-font's fourth argument was introduced in 28 and shouldn't be
used yet.

Fix 2614df72bd
2021-10-10 21:40:53 +02:00
Henrik Lissner
46ba5826cd fix(eshell,shell): display buffer post-init
By displaying them pre-init:

a) eshell will not have loaded, ensuring any user-popup rules in
   an (after! eshell ...) block don't load in time for the first eshell
   popup,
b) Popup predicate functions don't have access to the full state of the
   buffer, if needed.
2021-10-10 21:16:52 +02:00
Henrik Lissner
b15abdbd74 bump: :tools magit
charignon/github-review@341b7a1352 -> charignon/github-review@4d91dd6c56
magit/forge@22f905c4e8 -> magit/forge@8264234db6
magit/magit@f53148a569 -> magit/magit@bb7b7a4020
2021-10-10 20:16:03 +02:00
Henrik Lissner
b092a8f8e7 bump: :editor evil
emacs-evil/evil-collection@bc5a02ed85 -> emacs-evil/evil-collection@6709c1ec41
emacs-evil/evil@d8f5732708 -> emacs-evil/evil@ebae35360c
2021-10-10 20:15:40 +02:00
Henrik Lissner
114841bfd2 refactor: defer UI init a little longer at startup
Fixes a regression introduced in 0bb4d4dfc, which changed how
doom-switch-buffer-hook works, but makes it fire too early during
startup, eagerly loading packages that wait for the first interactively
opened buffer. This moves doom-init-ui-h to
window-buffer-change-functions, which fires once at the end of startup,
when any buffer is displayed for the first time in the session.

Ref 0bb4d4dfcb
2021-10-10 18:58:32 +02:00
Henrik Lissner
1545500db5 bump: :tools lsp debugger
emacs-lsp/dap-mode@00e1a5d70c -> emacs-lsp/dap-mode@a225e73026
gagbo/consult-lsp@e8a50f2c94 -> gagbo/consult-lsp@b9aa9617f1
joaotavora/eglot@c17bdf6c98 -> joaotavora/eglot@9665359bb6
mohkale/consult-eglot@28a09cc839 -> mohkale/consult-eglot@f93c571dc3
2021-10-10 18:36:46 +02:00
Henrik Lissner
0bb4d4dfcb refactor: switch buffer/frame/window hooks
Emacs 27 introduced a bunch of `window-*-change-functions` hooks,
including `window-selection-change-functions` and
`window-buffer-change-functions`, which handles 98% of the use case for
Doom's `doom-switch-{buffer,window,frame}-hook` hooks, so I've rewritten
them to use them under the hood, which amounts to simpler code and fewer
hacks.
2021-10-10 18:36:46 +02:00
Henrik Lissner
2614df72bd refactor: font, theme, & UI init
Use the new server-after-make-frame-hook, introduced in Emacs 27.1, to
clean up how we initialize fonts, themes, and the UI in general.

This may indirectly fix font issues in daemon sessions.
2021-10-10 18:36:46 +02:00
Henrik Lissner
0f25a813e1 dev(ci): add cancel-workflow-action to linter
Ref https://github.com/styfle/cancel-workflow-action
2021-10-10 18:36:46 +02:00
Henrik Lissner
0c68486424 dev(ci): set timeout for github actions to 10m
Default is 6 hours; much longer than they'll ever need.
2021-10-10 18:36:46 +02:00
Henrik Lissner
c92b2b3724 dev(ci): exclude undecided issues from stalebot 2021-10-10 18:36:46 +02:00
Henrik Lissner
3bcee249d3 fix: side-effects unset backup-directory-alist 2021-10-10 18:36:46 +02:00
Henrik Lissner
f5c1332a31 refactor: minor refactors & nit picks across core 2021-10-10 18:36:46 +02:00
Henrik Lissner
432ca05c4f tweak(cli): improve backtrace formatting 2021-10-10 18:36:46 +02:00
Henrik Lissner
3854c2fd70 dev(ci): deploy git hooks on 'doom install' 2021-10-10 18:36:46 +02:00
Henrik Lissner
3831096cfb fix(lib): doom-package-depend{ing-on,encies}
Doom doesn't use these two functions, but since they can be useful for
debugging *and* straight provides impleemntations for them already,
they're trivial to fix.
2021-10-10 18:36:46 +02:00
Henrik Lissner
281ee1d27b feat(lib): add doom/remove-recent-file
To interactively remove a file from your recentf list. (Perhaps similar
could be added to embark for consult-recent-files?)
2021-10-10 18:36:46 +02:00
Henrik Lissner
6bd9c7c880 perf: run GC a little less aggressively
The delay will not be adjusted on a per-GC basis, depending on its last
run-time. This should average to around 2-3s, which should be a good
compromise between GCing too often and too infrequently.
2021-10-10 18:36:46 +02:00
Henrik Lissner
68d8364aea refactor: adopt CalVer and reorganize core.el
Doom is adopting CalVer (starting at 21.12) and, later, I'll move Doom's
core out to a separate repo, where it'll stay with SemVer (starting at
3.0).
2021-10-10 18:36:46 +02:00
Henrik Lissner
094b4c1023 refactor: move init helpers to core-lib
The functions have more general use-cases and should be considered part
of Doom's stdlib.
2021-10-10 18:36:46 +02:00
Henrik Lissner
91770b66e5 feat(lib): add :depth support to add-hook!
The semantics of add-hook's APPEND argument changed in 27.1: it was
replaced with DEPTH, which controls its exact order of the hook (and is
respected every time a function is added to a hook, throughout its
lifetime).

Includes a general refactor for add-hook! too.
2021-10-10 18:36:46 +02:00
SukBeom Kim
8e285177d9
fix(mu4e): invalid bookmark error
Adding 'Flagged messages' to mu4e-bookmarks with attributes results in
mu4e loading failure. Change the line not to use attributes.

error in process filter: mu4e-error: [mu4e] Invalid bookmark in
mu4e-bookmarks error in process filter: [mu4e] Invalid bookmark in
mu4e-bookmarks
2021-10-10 18:36:23 +02:00
marienz
a17e06283e
bump: :lang go
mdempsky/gocode@4acdcbdea7 -> emacsattic/company-go@31948b463f

melpa/melpa@552d033e57 updated the recipe for company-go to pull from
emacsattic instead of mdempsky/gocode, which does not contain the commit
Doom pins company-go to.

Pin to the latest commit in the new repository instead, which is one
commit behind the previous repo (it does not have
mdempsky/gocode@f531cad262, but it looks like this does not matter for
Doom).

Ref melpa/melpa@552d033e57
2021-10-10 18:30:50 +02:00
Mikko Koski
a433242509 bump: :lang clojure
clojure-emacs/clj-refactor.el@23743432c3 -> clojure-emacs/clj-refactor.el@9e1f920334

Fix #5593
2021-10-10 18:24:57 +02:00
Henrik Lissner
8b256f590e
merge: pull request #5602 from iyefrat/vertico-things
Bump `:completion vertico` and fix bugs
2021-10-10 18:23:51 +02:00