org-superstar-mode icon indicating copy to clipboard operation
org-superstar-mode copied to clipboard

src block output not fontified with org-superstar

Open timlod opened this issue 3 years ago • 1 comments

See https://github.com/nnicandro/emacs-jupyter/issues/366. On Emacs 27.1, with org 9.4.6+ (also tried at 9.5.1) - output of src blocks is not fontified if org-superstar is loaded (the problem persists even when turning org-superstar-mode off).

Tested with a minimal config, loading only org-mode. Lack of fontification can be checked with:

#+begin_src python :results output
print('AB\x1b[43mCD\x1b[0mEF')
#+end_src

#+RESULTS:
: AB[43mCD[0mEF

timlod avatar Dec 03 '21 18:12 timlod

Hi @timlod, looking into nnicandro/emacs-jupyter#366 this seems to be font-lock choking on something. I haven't gotten around to reproduce it yet since I'd need to sort out the dependencies and test things proper. But just to make sure: do you mean that just requiring the package changes the behavior of font-lock, even if the mode was never enabled? Or do you mean it has a lasting impact if it was enabled and is subsequently disabled?

integral-dw avatar Jan 16 '23 16:01 integral-dw