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 01:28:46 +0100
Drew Adams <drew.adams <at> oracle.com> writes:

> Good catch!
>
> `(a \, b) returns (a . <value-of-b>)
>
> Looks like a bug to me.

Isn't `(a \, b) just another read syntax for `(a . (\, b)), which is
another syntax for `(a . ,b) ?

With other words, I think `(a \, b) and `(a . ,b) are different read
syntaxes for the same expression, equivalent to (cons 'a b).

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.