GNU bug report logs - #70039
30.0.50; list-packages install: Invalid read syntax: "#"

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Wed, 27 Mar 2024 21:11:01 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 70039 <at> debbugs.gnu.org
Subject: bug#70039: 30.0.50; list-packages install: Invalid read syntax: "#"
Date: Thu, 28 Mar 2024 15:34:15 -0400
> got this new error today when trying to install a package with M-x
> list-packages.
>
> When I revert this commit:
>
>   7e32e8392ab "Fix recent test regressions"
>   (Stefan Monnier <monnier <at> iro.umontreal.ca> 2024-03-22)
>
> the problem disappears.  This commit causes a destruction of my custom
> file when it gets pp-filled, by adding newlines into #N# syntaxes, like
> #1# => #1\n#.

I pushed a patch to `master` which should fix this problem, but ... this
is nasty.  I was thinking "how quickly one forgets how hard it is to
parse backward" (thinking back to the time where I worked on
`comment-backward`), but while testing I came across a similar problem
that occurs because of the (forward) `scan-sexps` behavior, so it's even
worse than that.


        Stefan





This bug report was last modified 85 days ago.

Previous Next


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