all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carlos Ungil <Carlos.Ungil@cern.ch>
Subject: nested backquotes
Date: Wed, 24 Sep 2003 16:03:41 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0309241544110.19785-100000@lxplus080.cern.ch> (raw)

Hello,

I've found (what I think it is) a bug when using nested backquotes.

What follows has been executed using "emacs --no-init".
I understand that the first test is giving the right result, and that 
in the other cases there is a problem with the backquotes.

Maybe the reason it works in windows is because I'm 
using a more recent version (21.3.50, compared to 21.2.1 in linux 
and solaris), and the bug has indeed been fixed already, but I've 
found no references to this bug in emacs newsgroups, or in the 
PROBLEMS file (and the file backquote.el has not been changed, but 
maybe the origin of the bug was somewhere else).

Regards,

Carlos Ungil

-----

(emacs-version)
=>"GNU Emacs 21.3.50.1 (i386-mingw-nt5.1.2600) of 2003-08-21 on MIDASPSE17"

(defmacro test ()
  ``(a ,b ,,c))
=>test

(let ((a 1) (b 2) (c 3))
  (macroexpand (macroexpand '(test))))
=>(list (quote a) b 3)

-----

(emacs-version)
=>"GNU Emacs 21.2.1 (sparc-sun-solaris2.9, X toolkit, Xaw3d scroll bars) of 2003-05-19 on watford-71"

(defmacro test ()
  ``(a ,b ,,c))
=>test

(let ((a 1) (b 2) (c 3))
  (macroexpand (macroexpand '(test))))
=>(list (quote a) b \,c)

-----

(emacs-version)
=>"GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-04-09 on porky.devel.redhat.com"

(defmacro test ()
  ``(a ,b ,,c))
=>test

(let ((a 1) (b 2) (c 3))
  (macroexpand (macroexpand '(test))))
=>(list (quote a) b \,c)

             reply	other threads:[~2003-09-24 14:03 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 14:03 Carlos Ungil [this message]
2003-09-24 14:22 ` nested backquotes Carlos Ungil
  -- strict thread matches above, loose matches on Subject: below --
2005-05-18 15:13 Matthieu Moy
2005-05-18 15:50 ` rgb
2005-05-18 16:19   ` Matthieu Moy
2005-05-18 18:21     ` Thierry Emery
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

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

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0309241544110.19785-100000@lxplus080.cern.ch \
    --to=carlos.ungil@cern.ch \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.