GNU bug report logs - #72334
[PATCH] Always print commas and comma-ats specially

Previous Next

Package: emacs;

Reported by: Thuna <thuna.cing <at> gmail.com>

Date: Sun, 28 Jul 2024 13:34:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 72334 <at> debbugs.gnu.org, Thuna <thuna.cing <at> gmail.com>
Subject: bug#72334: [PATCH] Always print commas and comma-ats specially
Date: Tue, 11 Feb 2025 15:37:44 -0800
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

>>>> Could you please summarize the issue that this is intended to fix?
>>> (cons 'foo (list '\, 'bar)) should be printed as (foo . ,bar) instead of
>>> (foo \, bar).  Same for (foo . ,@bar) and (foo . `bar), and maybe even
>>> (foo . 'bar) and (foo . #'bar).
>> Stefan M, any comments?
>
> I haven't looked at the patch, but the goes above sounds good.
> It doesn't occur very often in my experience, but when it occurs it does
> look odd and can easily confuse the reader.

Thanks.

Thuna, I didn't study your patch very deeply yet but the first thing
that stands out is that there are no tests.  Any chance you could look
into that?




This bug report was last modified 104 days ago.

Previous Next


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