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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Daniel Colascione <dancol <at> dancol.org>
Subject: bug#21624: closed (Re: bug#21624: Syntax weirdness lately)
Date: Thu, 08 Dec 2016 22:04:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#21624: Syntax weirdness lately

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 21624 <at> debbugs.gnu.org.

-- 
21624: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21624
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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.

[Message part 3 (message/rfc822, inline)]
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 4 (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)]

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.