Subject: bug#23443: 25.0.93; Temporary change to syntax-table is in effect during syntax-propertize

From: Andreas Röhler <[email-masked]>
Date: Tue, 10 May 2016 19:34:12 +0200

On 08.05.2016 02:58, Dmitry Gutov wrote:
> Hi Noam,
>
> On 05/04/2016 01:41 PM, Noam Postavsky wrote:
>> In Emacs 24.5, it runs without a problem. It's not entirely clear to
>> me who should be reponsible for ensuring the right syntax-table during
>> syntax-propertize.
>
> IIUC, the difference is that in Emacs 25 scan-sexps and other 
> low-level primitives started calling syntax-propertize when appropriate. 

AFAIS scan-sexps, which calls scan-lists internally, updates the 
syntax-table during scan.
Is this reasonable?

May you point me to the spot resp. discussion, when this change was made?

Thanks,

Andreas

> And in 24.5 test-check-syntax-table is only called after (probably by 
> font-lock).
>
> In that's the reason, the new behavior is the correct one.
>
>
>