From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 70039@debbugs.gnu.org
Subject: bug#70039: 30.0.50; list-packages install: Invalid read syntax: "#"
Date: Thu, 28 Mar 2024 15:34:15 -0400 [thread overview]
Message-ID: <jwvjzlmxif4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8734sbfkj3.fsf@web.de> (Michael Heerdegen's message of "Wed, 27 Mar 2024 22:10:40 +0100")
> 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@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
next prev parent reply other threads:[~2024-03-28 19:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 21:10 bug#70039: 30.0.50; list-packages install: Invalid read syntax: "#" Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-28 19:34 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-03-29 11:51 ` Michael Heerdegen via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvjzlmxif4.fsf-monnier+emacs@gnu.org \
--to=bug-gnu-emacs@gnu.org \
--cc=70039@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.