The Emacs appimage generates a new mountpoint on each invokation, but
Doom's profiles assume that the Emacs directories don't move. To make
Doom's profiles a little more profile, it will no longer set `load-path`
and simply add the new paths to the existing one. Same for
Info-directory-list.
Consequently, this also seems to speed up startup times for ~8% in my
tests. Neat.
Profile generators with the *.auto.el suffix are auto-deleted on every
'doom sync'. Also ensures it's deleted if lsp-mode is rebuilt with
lsp-use-plists disabled.
Amend: 5a9a2f4e18
This will supposedly make lsp-mode more memory efficient. It will only
take effect the next time lsp-mode is rebuilt/reinstalled.
It can be undone with this added to $DOOMDIR/packages.el:
(setq lsp-use-plists nil)
Because the upstream python entries in eglot-server-programs assume
basedpyright-langserver and pyright-langserver to be the executable
names.
Fix: #8436
When a file is visited via `emacsclient`, server.el does the following
in this order:
- create a buffer `b` visiting the file
- run `(set-buffer b)`
- trigger `server-visit-hook`
- run `(switch-buffer b)`
- trigger `server-switch-hook`
Thus, the right hook for `doom-run-switch-buffer-hooks-h` is
`server-switch-hook` because the "switch buffer" hooks may assume that
the buffer has already been switched to.
This fixes an org error that occurs when running
emacsclient --create-file --no-wait foo.txt
while there's a frame containing an org-roam file. Without this commit,
the server will create a new frame and set the current buffer to
foo.txt. But the new frame will still display the (duplicated) window
for the org-roam file. Then `server-visit-hook` will be triggered and
eventually run `+org-roam-manage-backlinks-buffer-h`, which will try to
enable the org-roam backlinks buffer. But this will error because the
current buffer is not an org(-roam) buffer.
Amend: 4a6de2419c
Ensures keybinds and cross-module config for the base clojure major
modes also apply to the treesit ts-modes.
Yes, we could take advantage of general.el's keymap deferral, but I
eventually want to drop general.
Fix: #8501Close: #8502
Co-authored-by: goshatch <goshatch@users.noreply.github.com>
ts-modes do this already in 30/31+ (`derived-mode-add-parents` was added
in 30), but is still needed for 29.x users and any ts-modes that haven't
adapted (many of them).
Fix: doomemacs/community#29
For both html and css grammars:
- Use 0.23.0 on Emacs 29 and 0.23.2 on 30+
- Remove :commit, because the latest commit is (essentially) 0.23.2 for
both grammars.
Close: #8498
Co-authored-by: ispringle <ispringle@users.noreply.github.com>