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: Andreas Schwab <schwab <at> suse.de>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: Michael Heerdegen <michael_heerdegen <at> web.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: Tue, 07 Feb 2023 09:56:46 +0100
In clisp, backquote is implemented via system::backquote,
system::unquote and system::splice.  Thus the symbol |,| has no special
meaning.

$ clisp -q -x $'(car \'`,X)'
SYSTEM::BACKQUOTE
$ clisp -q -x $'(cadr \'`,X)'
(SYSTEM::UNQUOTE X)
$ clisp -q -x $'(cadr \'`(,@X))'
((SYSTEM::SPLICE X))
$ clisp -q -x "'(system::backquote (system::unquote x))"
`,X
$ clisp -q -x "'(system::backquote (system::splice x))"
`,@X
$ clisp -q -x '`,@x'
*** - READ: the syntax `,@form is invalid

-- 
Andreas Schwab, SUSE Labs, schwab <at> suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




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.