emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org emphasis markers inside src blocks causes incorrect fontific


From: Nicolas Goaziou
Subject: Re: [O] Org emphasis markers inside src blocks causes incorrect fontification
Date: Sat, 18 Nov 2017 00:30:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Kaushal Modi <address@hidden> writes:

> Again it's a font-locking bug, and thankfully doesn't impact the empasis
> detection in exporters.
>
> Would you please look into fixing this?

I cannot. Fixing it would require to rewrite the whole thing to use the
parser, so that fontification matches the syntax of the document. This,
in turn, would require to repair the parser's cache so that it doesn't
freeze when the wind is north, northwest. Ah, well.

Meanwhile, I pile up ad-hoc rules to avoid mis-fontification, until the
next pathological case is reported.

IOW, I'm only mildly interested in fixing fontification bugs.

You may want to test the following rules and report if it fits your use
case.

Regards,

-- 
Nicolas Goaziou

Attachment: 0001-Small-fix-to-emphasis-fontification.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]