bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24749: Making sure syntax-propertize is called


From: Stefan Monnier
Subject: bug#24749: Making sure syntax-propertize is called
Date: Fri, 21 Oct 2016 12:34:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> >> Nowadays, syntax-propertize is automatically called ondemand by the sexp
>> >> functions, but only if parse-sexp-lookup-properties is non-nil.
>> >> See bug#4920 for an example of the problem and the fix we installed.
>> >> I suggest we install the patch below instead, so as to fix this bug in
>> >> more/all major modes at once.
>> > Since when does this issue exist?
>> 25.1.
> Then I'm okay with having this on the emacs-25 branch, thanks.

I think I may have described it incorrectly: the issue that it solves is
one that's been around forever.  It's just that 25.1 fixes this issue in
most cases and hence creates a new expectations that the issue is fixed,
but there's still a hole if you try to use navigation commands before
any syntax-propertize call, which this patch intends to fix.

So I don't think this is urgent, and since the fix (whichever we choose)
affects (by nature) "all" modes, I don't think it's safe enough for
emacs-25.


        Stefan





reply via email to

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