all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Strange change in backquote expansion
@ 2007-08-18 21:34 Sascha Wilde
  2007-08-19 15:52 ` Richard Stallman
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Sascha Wilde @ 2007-08-18 21:34 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Reichör

Hi *,

I'm not quite sure what to think about it, but something changed in
expansion of macro expansion, more precisely in expansion of
backquotes:

Old Emacs (including 22.0):
(defmacro debug-macro-test (arg)
  ``(,,@(list (list arg))))

(macroexpand '(debug-macro-test foo))
=> (list (foo))

Current HEAD:
(macroexpand '(debug-macro-test foo))
=> (list ((foo)))

note the extra parenthesis.

Please don't ask, what the code is supposed to do, this is a extremely
boiled down version of the problem.  I stumbled across this problem
when I noticed that DVC stopped working in HEAD recently.  (They are
using a somewhat esoteric macro, which suffers from this change in
behavior.)

cheers
sascha
-- 
Sascha Wilde
Well, *my* brain likes to think it's vastly more powerful than any
finite Turing machine but it hasn't proven that to me...
  -- Christopher Koppler in comp.lang.lisp

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-08-26  6:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-18 21:34 Strange change in backquote expansion Sascha Wilde
2007-08-19 15:52 ` Richard Stallman
2007-08-19 16:11   ` Andreas Schwab
2007-08-20 15:16     ` Richard Stallman
2007-08-20 16:36       ` Stefan Monnier
2007-08-21 14:46         ` Richard Stallman
2007-08-21 14:57           ` David Kastrup
2007-08-21 18:11             ` Glenn Morris
2007-08-22  3:15             ` Richard Stallman
2007-08-21 19:26           ` Stefan Monnier
2007-08-22  3:15             ` Richard Stallman
2007-08-22 16:10               ` Stefan Monnier
2007-08-19 16:19   ` Johan Bockgård
2007-08-20 15:16     ` Richard Stallman
2007-08-20  4:16 ` Stefan Monnier
2007-08-21 19:09 ` Stefan Monnier
2007-08-21 19:45   ` Andreas Schwab
2007-08-22 14:58     ` Stefan Monnier
2007-08-22 16:57       ` Andreas Schwab
2007-08-22 18:36         ` Stefan Monnier
2007-08-22 20:33   ` Sascha Wilde
2007-08-22 20:36     ` Stefan Monnier
2007-08-26  6:33 ` Michael Olson

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.