emacs-which-key
emacs-which-key copied to clipboard
Which-key popup too small in emacsclient
The popup for which-key renders too small in emacsclient while it works fine in emacs:
emacsclient left and emacs right.
Note that I can only reproduce this when running emacs as a daemon (not with server-start).
Is this both through the gui or is one the terminal?
Gui on both
I can confirm this. Emacs 27.2.
A workaround: instead of just enabling the mode in init.el
use
(if (daemonp)
(add-hook 'server-after-make-frame-hook 'which-key-mode)
(which-key-mode))
You can mitigate the issues with fonts when running Emacs as a daemon by creating a custom function to configure your fonts, then calling it with:
'after-init-hook
and
'server-after-make-frame-hook