Re: [BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-17 Thread Fraga, Eric
On Wednesday, 17 Aug 2022 at 17:39, Ihor Radchenko wrote: > P.S. I am genuinely surprised that this bug is only revealed now. I'm not. Is there any other language whose fontification is indentation dependent? Python is indentation based but the fontification doesn't get affected (generally

Re: [BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-17 Thread Ihor Radchenko
Bhavin Gandhi writes: > In the following Org mode file, the Ledger mode source block is not > highlighted correctly. > > How to reproduce: > ... Confirmed. Another example is https://www.reddit.com/r/orgmode/comments/wi0jq9/highlight_doesnt_work_for_src_block_of_diff_with/ > PS: I haven't

[BUG] Incorrect fontification of src blocks for indentation sensitive language modes

2022-08-16 Thread Bhavin Gandhi
In the following Org mode file, the Ledger mode source block is not highlighted correctly. How to reproduce: 1. Clone Ledger mode: git clone https://github.com/ledger/ledger-mode.git /tmp/ledger-mode 2. emacs -Q -L ~/src/org-mode/lisp 3. Evaluate the following in the *scratch* buffer.