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

src block output not fontified with org-superstar #39

Open
timlod opened this issue Dec 3, 2021 · 1 comment
Open

src block output not fontified with org-superstar #39

timlod opened this issue Dec 3, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@timlod
Copy link

timlod commented Dec 3, 2021

See emacs-jupyter/jupyter#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 timlod added the bug Something isn't working label Dec 3, 2021
@integral-dw
Copy link
Owner

Hi @timlod, looking into emacs-jupyter/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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants