GNU bug report logs - #23443
25.0.93; Temporary change to syntax-table is in effect during syntax-propertize

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Wed, 4 May 2016 10:43:02 UTC

Severity: normal

Tags: notabug

Found in version 25.0.93

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #25 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23443: 25.0.93; Temporary change to syntax-table is in effect
 during syntax-propertize
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.
>
>
>





This bug report was last modified 9 years and 11 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.