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: 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: Sun, 05 Feb 2023 05:32:34 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Yes, but see above.  I think \, should be read
> as the symbol whose print name is ",".

That's the case.

>  To me, `(a \, b) should be treated like (a foo b): a list of 3
> symbols - no evaluation.

No evaluation by backquote, you mean?  Yes, you need to say `(a ,'\, b).
Is this really different in other Lisps (isn't `,' a reader macro in
Common Lisp)?

>  And `(a \,b) should be treated as a list of two symbols, whose print
> names are "a" and ",b".

That's also the case.


I don't decide about this, but when we changed the semantics of `,' like
you suggest, we will probably break a lot of code for no real gain (I
think the semantics in Elisp clear and easy to understand), so this
sounds like a very bad idea to me.

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.