unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Emery <see.sig@spamfoil.invalid>
Subject: Re: nested backquotes
Date: Wed, 18 May 2005 20:21:15 +0200	[thread overview]
Message-ID: <87acms1jl0.fsf@spamfoil.invalid> (raw)
In-Reply-To: vpqmzqsbj7l.fsf@ecrins.imag.fr

Hi,

Matthieu Moy <MatthieuNOSPAM.Moy@imag.fr.invalid> writes:

> "rgb" <rbielaws@i1.net> writes:
>
>> > I'm experiencing problems with nested backquotes in Emacs lisp:
>> > 
>> > Emacs 21 says:
>> > 
>> > ELISP> ``( ,,(+ 1 2))
>> > (cons
>> >  (+ 1 2))
>> 
>> On 22.0.50 I'm getting (list 3)
>
> Surprisingly, backquote.el hasn't changed much. Loading backquote.el
> from CVS on my Emacs 21 "works" (in the sense that it doesn't break my
> Emacs), but still gets the same result.
>
> So, I'm still looking for a portable solution ... :-(

(` (` ( (, (, (+ 1 2))))))

tested on GNU Emacs 21.4 and 22.0.50, and on XEmacs 21.4.17,
consistently returns :
(list 3)

Hoping this helps,

Thierry
-- 
thierry |dot| emery |at| free |dot| fr

  reply	other threads:[~2005-05-18 18:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18 15:13 nested backquotes Matthieu Moy
2005-05-18 15:50 ` rgb
2005-05-18 16:19   ` Matthieu Moy
2005-05-18 18:21     ` Thierry Emery [this message]
2005-05-20 15:16     ` Stefan Monnier
2005-05-20 15:24     ` Stefan Monnier
2005-05-20 16:05       ` Matthieu Moy
2005-05-20 20:25         ` Stefan Monnier
2005-05-21  9:51           ` Matthieu Moy
2005-05-21 10:02             ` Matthieu Moy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87acms1jl0.fsf@spamfoil.invalid \
    --to=see.sig@spamfoil.invalid \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).