Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants