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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#70039: closed (30.0.50; list-packages install: Invalid read
 syntax: "#")
Date: Sat, 01 Mar 2025 03:02:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 28 Feb 2025 19:01:07 -0800
with message-id <CADwFkm=4k=gMm05AqwMNErbkBb--WJRuSJpBUOoqunX-GNhB1A <at> mail.gmail.com>
and subject line Re: bug#70039: 30.0.50; list-packages install: Invalid read syntax: "#"
has caused the debbugs.gnu.org bug report #70039,
regarding 30.0.50; list-packages install: Invalid read syntax: "#"
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
70039: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70039
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; list-packages install: Invalid read syntax: "#"
Date: Wed, 27 Mar 2024 22:10:40 +0100
[Message part 3 (text/plain, inline)]
Hello,

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#.

Attached is a test file.  If you (pp-fill (point-min) (point-max))
you will see this effect happen near the end of that file.


TIA,

Michael.


[pp-fill-test.el (application/emacs-lisp, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Kangas <stefankangas <at> gmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 70039-done <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#70039: 30.0.50;
 list-packages install: Invalid read syntax: "#"
Date: Fri, 28 Feb 2025 19:01:07 -0800
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>> > 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
>
> Works for me, thanks.

I'm therefore closing this bug report.


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.