emacs-devel
[Top][All Lists]
Advanced

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

Re: font-lock-syntactic-keywords obsolet?


From: Noam Postavsky
Subject: Re: font-lock-syntactic-keywords obsolet?
Date: Mon, 20 Jun 2016 13:23:16 -0400

On Mon, Jun 20, 2016 at 11:57 AM, Dmitry Gutov <address@hidden> wrote:
> Hi Noam,
>
> On 06/20/2016 05:52 PM, Noam Postavsky wrote:
>>
>> On Mon, Jun 20, 2016 at 8:15 AM, Dmitry Gutov <address@hidden> wrote:
>
>
>>> On 06/20/2016 01:58 PM, Alan Mackenzie wrote:
>>>>
>>>> Somebody (either you or Stefan) opined
>>>> that ALL s-t properties are, in practice, "local".
>>>
>>>
>>>
>>> You're misremembering.
>>
>>
>> I think Alan refers to this message from Stefan:
>> http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00395.html
>
>
> How does it follow from that message?

Alan said 'In CC Mode, all the uses of the syntax-table property are
"local";' and Stefan replied 'AFAICT, this doesn't actually depend on
how the syntax-table property is
applied[...]and indeed this also applies to all other languages I can
think of (and hence all major modes where we use syntax-propertize).'

But since you brought up multline string literals in subsequent
discussion, it's important to note Alan's caveat (the "aside from...")
in his definition of "local":

    a buffer change in an earlier part of the buffer (aside from
    crude syntactic things like inserting unclosed comment/string
    delimiters) cannot affect the properties on the current part of the
    buffer.



reply via email to

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