rougier / svg-tag-mode

A minor mode for Emacs that replace keywords with nice SVG labels

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disables font-lock-mode when used with emacsclient [emacs-plus]

YashKarthik opened this issue · comments

Using svg-tag-mode disables font-lock-mode if used via emacsclient.
It works perfectly when I open emacs standalone without the --daemon.

Env info:

  • macOS 11.6.2 (Big Sur)
  • Intel mackbook pro
  • Emacs 27.2 (emacs-plus) with doom emacs

Thanks for this beautiful package :)
Cheers!

svg-tag-mode is enabled in the buffers on the right.

emacsclient:

emacsclient

This one is in standalone emacs:

emacs

Can you try with 'Emacs -Q" just be sure on the origin of the problem?

I'm not sure what you mean, emacs -q will disable svg-tag-mode too.

Sorry, I meant disable everything and load svg tag mode manually (by opening the file and evaluating the buffer)

Oh sorry, I didn't think of it like that. I just started using emacs, so...

The svg tags render in both emacs -q and emacs -q --daemon like this:

Screenshot 2022-01-19 at 09 12 54

I'm guessing it must be a problem with my config (doom emacs).

I have the same issue with doom emacs. When using the daemon, I have the font-lock that is disabled (in org files, on Linux).

I'm not familiar with doom emacs. Hopefully, someone will jump in or you can ask on doom github issue tracker.