[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] Fontification error when unknown or missing lang
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] Fontification error when unknown or missing lang |
Date: |
Sun, 09 Feb 2025 15:17:57 +0000 |
Aitenate <aitenate@outlook.com> writes:
> There appears to be a minor bug with fontification and certain block
> configurations.
>
> The following example block results in a fontification error.
>
> #+begin_example
> <-- two spaces followed by a tab
> #+end_example
>
> It looks like org-src-font-lock-fontify-block is the culprit because
> native-tab-width is only set when the block has a valid lang. Testing
> with source blocks show they also suffer from the issue.
> ...
> I've attached a diff with, what I believe is, one possible way to
> address the issue.
Thanks for reporting and for providing the fix!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1a9d408a4
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [BUG] Fontification error when unknown or missing lang,
Ihor Radchenko <=