GNU bug report logs - #21624
Syntax weirdness lately

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 5 Oct 2015 19:48:02 UTC

Severity: normal

Tags: moreinfo, wontfix

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 21624 in the body.
You can then email your comments to 21624 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#21624; Package emacs. (Mon, 05 Oct 2015 19:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Colascione <dancol <at> dancol.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Oct 2015 19:48:02 GMT) Full text and rfc822 format available.

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

From: Daniel Colascione <dancol <at> dancol.org>
To: bug-emacs <bug-gnu-emacs <at> gnu.org>
Subject: Syntax weirdness lately
Date: Mon, 5 Oct 2015 12:47:01 -0700
[Message part 1 (text/plain, inline)]
In latest master, syntax-propertize application seems to be buggy in a
way I can't readily reproduce or analyze.

Consider this bit of shell:

                elif [[ $c = '\' ]]; then
                    state=word-backslash

Sometimes, unreproducibly of course, we don't close the string at the
trailing
single quotation mark, and the rest of the buffer ends up being a
string, at least up until the single quotation mark. A similar problem
in Python sometimes leads to Python inflooping in buffers containing
strings triple-quoted with single quotation marks: it appears that we
interpret "'''" as just an empty single-quoted string, followed by a
single-quoted opener.

Did we change something about how complex syntax rules work lately?
Revision history doesn't point to anything.

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21624; Package emacs. (Mon, 05 Oct 2015 20:51:01 GMT) Full text and rfc822 format available.

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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Daniel Colascione <dancol <at> dancol.org>, 21624 <at> debbugs.gnu.org
Subject: Re: bug#21624: Syntax weirdness lately
Date: Mon, 5 Oct 2015 23:50:26 +0300
On 10/05/2015 10:47 PM, Daniel Colascione wrote:

> Did we change something about how complex syntax rules work lately?
> Revision history doesn't point to anything.

There have been some changes in syntax.c not too long ago, e.g. in 
3928ef2dd5b8febf3b1d9c1bfb22af3698d16bea.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#21624; Package emacs. (Mon, 05 Oct 2015 20:53:02 GMT) Full text and rfc822 format available.

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

From: Daniel Colascione <dancol <at> dancol.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>, 21624 <at> debbugs.gnu.org
Subject: Re: bug#21624: Syntax weirdness lately
Date: Mon, 5 Oct 2015 13:52:42 -0700
[Message part 1 (text/plain, inline)]
On 10/05/2015 01:50 PM, Dmitry Gutov wrote:
> On 10/05/2015 10:47 PM, Daniel Colascione wrote:
> 
>> Did we change something about how complex syntax rules work lately?
>> Revision history doesn't point to anything.
> 
> There have been some changes in syntax.c not too long ago, e.g. in
> 3928ef2dd5b8febf3b1d9c1bfb22af3698d16bea.

Thanks. I'll have to read the code. Since Stefan's changes touched the
syntax-propertize stuff and the problems I'm seeing involve that code
path, the on-demand stuff is a prime suspect. But I have no repro, and
I'm not particularly familiar with how the syntax machinery works.

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 08 Dec 2016 22:04:02 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Thu, 08 Dec 2016 22:04:02 GMT) Full text and rfc822 format available.

Notification sent to Daniel Colascione <dancol <at> dancol.org>:
bug acknowledged by developer. (Thu, 08 Dec 2016 22:04:03 GMT) Full text and rfc822 format available.

Message #18 received at 21624-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 21624-done <at> debbugs.gnu.org
Subject: Re: bug#21624: Syntax weirdness lately
Date: Thu, 08 Dec 2016 17:03:31 -0500
I don't see how anything can be done with this report as it stands, so
given that it's been a year I'm closing it. Feel free to reopen, or make
a new report, if there is something more substantive to say.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Jan 2017 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 167 days ago.

Previous Next


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