[Top][All Lists]

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

Re: XKCD/541 compliance, anyone?

From: Stefan Monnier
Subject: Re: XKCD/541 compliance, anyone?
Date: Fri, 02 Jan 2015 20:47:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

>>>> Beware: syntax-propertize-function might already be in use, in which
>>>> case you should probably use add-function to combine the two.
>>> Hm.  My Emacs (24.3) doesn't have anything called add-function.  I
>>> checked on the interwebs, and it seems it's part of the new advice
>>> system.  I'll have to upgrade finally.
>> Tho you probably only need this syntax-propertize-smileys thingy for
>> modes which don't use syntax-propertize-function yet, so maybe
>> add-function is not really necessary.
> Not sure if I understand.
> I don't need my smileys thing for programming modes

Exactly: and most of the major modes which set
syntax-propertize-function are programming modes.

> Where I need it is mainly text, org, message and (la)tex modes.

Of those 4 modes, I think only latex-mode sets syntax-propertize-function.


reply via email to

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