emacs-devel
[Top][All Lists]
Advanced

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

Re: Giving "text quotes" syntax in font-lock-syntax-table only


From: Ikumi Keita
Subject: Re: Giving "text quotes" syntax in font-lock-syntax-table only
Date: Thu, 04 Jun 2020 22:36:32 +0900

Hi Stefan,

>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Could you test the patch below to see if it makes the old code
> work correctly?

Yes, the fontification doesn't get scrambled with this modification.

If I understand correctly, fontification still can fail even with this
fix, if `font-lock-syntax-table' is modified after font lock mode is
enabled. So I think it's preferable to advertise that
`font-lock-syntax-table' should not modified directly, unless the
modification is restricted within translation between ".",  "w" and "_",
once after font lock mode is enabled.

Regards,
Ikumi Keita



reply via email to

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