Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Which-key popup too small in emacsclient #306

Open
abbec opened this issue Jun 17, 2021 · 6 comments
Open

Which-key popup too small in emacsclient #306

abbec opened this issue Jun 17, 2021 · 6 comments

Comments

@abbec
Copy link

abbec commented Jun 17, 2021

The popup for which-key renders too small in emacsclient while it works fine in emacs:

which-key

emacsclient left and emacs right.

@abbec
Copy link
Author

abbec commented Jun 17, 2021

Note that I can only reproduce this when running emacs as a daemon (not with server-start).

@justbur
Copy link
Owner

justbur commented Jun 20, 2021

Is this both through the gui or is one the terminal?

@abbec
Copy link
Author

abbec commented Jun 20, 2021

Gui on both

@karthink
Copy link

I can confirm this. Emacs 27.2.

@adql
Copy link

adql commented Nov 25, 2021

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))

@andyhunne
Copy link

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

bergheim added a commit to bergheim/dotfiles that referenced this issue May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants