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

org-superstar is automatically deactivated after file saving #43

Open
ruanxiang opened this issue May 23, 2022 · 2 comments
Open

org-superstar is automatically deactivated after file saving #43

ruanxiang opened this issue May 23, 2022 · 2 comments
Assignees
Labels
bug Something isn't working non-reproducible This issue cannot be reproduced.

Comments

@ruanxiang
Copy link

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,

@ruanxiang ruanxiang added the bug Something isn't working label May 23, 2022
@ruanxiang
Copy link
Author

Here is my screencast showing the issue.

screencast.mp4

@integral-dw
Copy link
Owner

integral-dw commented Jan 16, 2023

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?

@integral-dw integral-dw added the non-reproducible This issue cannot be reproduced. label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-reproducible This issue cannot be reproduced.
Projects
None yet
Development

No branches or pull requests

2 participants