Hello, Kaushal Modi 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