emacs-devel
[Top][All Lists]
Advanced

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

Re: Fontification using a syntax tree


From: Clément Pit-Claudel
Subject: Re: Fontification using a syntax tree
Date: Sat, 18 Sep 2021 13:16:07 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

On 9/18/21 12:34 PM, Hugo Thunnissen wrote:
> Yuan Fu <casouri@gmail.com> writes:
> 
>> You can bind font-lock-fontify-region-function and friends to your custom 
>> functions.
>>
>> Yuan
> 
> Ah, I see. I didn't realise that this would override syntax-table
> related behavior in all scenarios. Thanks!

Check out js2-mode, too: it does that for Javascript, so reading through the 
sources should be instructive.  
http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html



reply via email to

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