doomemacs/lisp
Henrik Lissner 9359a81e81
fix: gui frames fail to open from emacsclient
This was a tricky regression to track down. 9753bfb tries to fix an
issue where the `default` face's :foreground changes to `#000000` in any
new frames created after the initial one (by calling `make-frame`),
because those frames' `background-color` and `foreground-color`
parameters default to "#000000" (possibly a bug with `disable-theme` too
eagerly defaulting them to black).

240493a replaces that with new, seemingly cleaner approach: setting
`frame-inherited-parameters`, which instructs `make-frame` to copy those
parameters from the last open frame, however, those parameters in the
initial daemon frame will be set to "unspecified-bg" or
"unspecified-fg" (see the docstring for `face-{back,fore}ground`), which
are invalid color strings. `make-frame` crashes tries to create a frame
with those color values, causing #8059.

Fix: #8059
Amend: 240493ae92
Amend: 9753bfb775
2024-09-12 06:06:25 -04:00
..
cli fix(cli): doom run: symlinks to XDG dirs beyond $HOME 2024-09-11 20:08:16 -04:00
lib fix(lib): doom/sandbox: vanilla-doom+ target 2024-09-10 17:56:35 -04:00
demos.org docs: letf!: add demo & rewrite docstring 2024-09-11 19:46:15 -04:00
doom-cli-lib.el nit: minor reformatting & revision 2024-09-11 19:46:14 -04:00
doom-cli.el refactor(cli): separate cli bootstrap from lib 2024-09-01 14:45:52 -04:00
doom-editor.el refactor!: move helpful from :core to :lang emacs-lisp 2024-08-30 02:26:41 -04:00
doom-keybinds.el feat: distinguish [C-m] key from RET 2024-09-07 14:50:32 -04:00
doom-lib.el fix(lib): define doom-context-error 2024-09-11 19:46:15 -04:00
doom-modules.el nit: minor reformatting & revision 2024-09-11 19:46:14 -04:00
doom-packages.el fix: package!: unpinning with :pin nil 2024-08-25 17:44:29 -04:00
doom-profiles.el fix(lib): doom/sandbox: vanilla-doom+ target 2024-09-10 17:56:35 -04:00
doom-projects.el fix: adding newly created project to known-projects 2024-09-11 03:50:57 -04:00
doom-start.el refactor: remove redundant auto-mode-alist entries 2024-09-11 19:46:15 -04:00
doom-ui.el fix: gui frames fail to open from emacsclient 2024-09-12 06:06:25 -04:00
doom.el fix: trigger defcustom setters in files opened from command-line 2024-09-11 19:46:15 -04:00
init.el feat: backport safe-local-variable-directories from Emacs 30 2024-09-10 04:18:39 -04:00
packages.el refactor!: move helpful from :core to :lang emacs-lisp 2024-08-30 02:26:41 -04:00