org-superstar-mode
org-superstar-mode copied to clipboard
org-superstar is automatically deactivated after file saving
Org-superstar is a great emacs mode, thank you for your work.
However, there is a problem bothering me a lot. I am not sure whether it is a bug or just I am using org-superstar in a wrong way. I find that org-superstar is automatically deactivated after file saving. After file saving, I have to M-x org-superstar-restart to invoke superstar again otherwise it is deactivated. Such makes org-superstar almost not work for my org-mode work.
My config of superstar is minimal as below (require 'org-superstar) (add-hook 'org-mode-hook (lambda () (org-superstar-mode 1))) (setq inhibit-compacting-font-caches t)
I don't think there is any problem with my superstar config, but wonder the problem may be caused by a conflict with other emacs config, however I can not figure out at this moment.
Do you have any idea how it happens or how to solve it?
Best regards,
Here is my screencast showing the issue.
https://user-images.githubusercontent.com/5511100/169758561-a420791a-fff0-4427-b35a-16f48698ee7a.mp4
Hi,
I tried to use a slightly tweaked version of your MWE by opening Emacs with
emacs -q -l ../org-superstar.el -l mwe-43.el sample.org
in the repo's test subdir,
editing the file and saving it. The MWE file I used is:
;;; MWE for #43
(add-hook 'org-mode-hook
(lambda ()
(org-superstar-mode 1)))
(setq inhibit-compacting-font-caches t)
Could it be there is some other part of your config that messes with font-lock?