emacs 2025-02-11

So. I recently installed Emacs from source and there are obviously some recent changes to Eglot. One being an indicator in the margin which by default is set to ElDoc textual hint. However, it appears as if a symbol/icon is missing. I'm thinking I'll need to use a different font, but I'm struggling to figure out what face is actually in use right here.

If I set the default face to a nerd-font I get a light-bulb icon. But I assume it's possible to narrow it down a bit

Actually. This font looks pretty good. I'll just try it on for a while 🙂

does something like

(set-fontset-font t 'symbol
                  (font-spec :family
                             (if (eq system-type 'darwin)
                                 "Apple Color Emoji"
                               "Symbola"))
                  nil 'prepend)
help?

though in my case dejavu serif is used

so, probably in your case something like

(set-fontset-font t ? (font-spec :family "Nerd Fonts") nil 'prepend)
may help (not sure what's the proper family for nerd fonts)

FYI: there are lots of common fonts that have already been pre-patched with nerd-font icons https://www.nerdfonts.com/font-downloads