From: Thuna <thuna.cing@gmail.com>
To: 72434@debbugs.gnu.org
Subject: bug#72434: [PATCH] Print list-ending comma/backquote forms specially
Date: Sat, 03 Aug 2024 03:44:30 +0200 [thread overview]
Message-ID: <878qxemlc1.fsf@gmail.com> (raw)
In-Reply-To: <87ikwimlxr.fsf@gmail.com>
> (This patch follows from 72334, but that patch is not necessary for this
> one to work.)
Actually, that is incorrect...-ish. The specific problem happens when
you encounter a comma or comma-at while not inside a backquote. With
72334 this is not a problem, but without it you end up with the
(unevaluated) form
(foo bar . ,baz)
printed as
(foo bar . (\, baz))
which is obviously not ideal.
It /should/ be possible to lightly change the patch to have it work, by
checking `new_backquote_output' in case the car is a comma or a comma-at
but honestly I would just rather 72334 be pushed instead.
prev parent reply other threads:[~2024-08-03 1:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-03 1:31 bug#72434: [PATCH] Print list-ending comma/backquote forms specially Thuna
2024-08-03 1:44 ` Thuna [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878qxemlc1.fsf@gmail.com \
--to=thuna.cing@gmail.com \
--cc=72434@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).