GNU bug report logs - #61281
“`(a \, b)” equals to “`(a . ,b)”

Previous Next

Package: emacs;

Reported by: Xie Shynur <one.last.kiss <at> outlook.com>

Date: Sat, 4 Feb 2023 23:29:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Andreas Schwab <schwab <at> suse.de>, Xie Shynur <one.last.kiss <at> outlook.com>, "61281 <at> debbugs.gnu.org" <61281 <at> debbugs.gnu.org>
Subject: bug#61281: “`(a \, b)” equals to “`(a . , b)”
Date: Thu, 09 Feb 2023 03:15:51 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Maybe we mean different things by the bugged behavior?  Do you see
> lots of places where the Emacs sources use "\,"?

Yes, there are indeed some.  A common one is (eq \, (car-safe EXPR)) to
test whether some expression is an "unquote expression".  Used in
code-walker like things - byte compiler, stuff to save expressions in
files, pcase, such things.

Any package can make use of the reader constructs in non-trivial ways (I
mean, uses unrelated to backquote).  And the only way to treat such
expressions is to test for the expansion.

> > > Assuming the bug isn't going to be fixed, I'd propose we just describe
> > > the problem in a comment.
> >
> > Where should this comment be located?
>
> As part of the comment you pointed to, which tries
> to describe how the code works/behaves?

See my other comment then.


Michael.




This bug report was last modified 2 years and 127 days ago.

Previous Next


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