doomemacs/lisp
Henrik Lissner 231fc9cf53
fix(cli): link $XDG_*_HOME to fake $HOME for doom run
Due to a technical limitation of Emacs <=28, launching Emacs out of a
non-standard location is non-trivial, and `doom run` tries to promise
that it can do so on demand. Emacs 29 does introduce a --init-directory
switch that would make this easy, but it'll be some time before we can
rely on it.

So 'doom run' creates a fake $HOME in /tmp/doom.run/ and writes a
bootloader there to load your Doom config remotely. But there's a
problem: in this fake $HOME, none of the user's config, cache, data, or
binscript directories are available, so I symlink them there. This
should at least resolve the most trivial incompatibilities (like the
lack of all-the-icons fonts, which typically get installed to
$HOME/.local/share/fonts/ -- see #6807), but there may be yet more edge
cases. Still, this is a good enough compromise for now.

Fix: #6807
2022-09-18 13:55:47 +02:00
..
cli fix(cli): link $XDG_*_HOME to fake $HOME for doom run 2022-09-18 13:55:47 +02:00
lib bump: :lang org 2022-09-18 13:10:49 +02:00
doom-cli.el fix(cli): ensure doom envvars are set for post-script sessions 2022-09-17 21:41:42 +02:00
doom-editor.el refactor: remove redundant server-auth-dir setting 2022-09-18 00:54:10 +02:00
doom-keybinds.el refactor!: redesign module init/config hooks 2022-09-16 01:14:22 +02:00
doom-lib.el fix(lib): suppress 'Function X is already compiled' 2022-09-16 19:19:55 +02:00
doom-modules.el nit: minor comment revision and refactors 2022-09-16 17:01:57 +02:00
doom-packages.el nit: minor comment revision and refactors 2022-09-16 17:01:57 +02:00
doom-profiles.el feat(cli): introduce DOOMPROFILELOAD{FILE,PATH} envvars 2022-09-18 00:28:13 +02:00
doom-projects.el nit: comment revision and formatting 2022-09-16 01:14:22 +02:00
doom-start.el fix: envvar file not loading 2022-09-18 01:08:27 +02:00
doom-ui.el fix: properly disable tooltip-mode 2022-09-18 10:36:00 +02:00
doom.el tweak: use doom-profile-*-dir for core dir/file vars 2022-09-17 21:41:42 +02:00
packages.el bump: :core 2022-09-06 22:55:47 +02:00