[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Macro expansion: Why doesn't the invoked macro see (let (variables)) fro
From: |
Alan Mackenzie |
Subject: |
Macro expansion: Why doesn't the invoked macro see (let (variables)) from the invoking one? |
Date: |
Wed, 8 Feb 2012 17:26:38 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello, Emacs.
One macro FOO binds a let variable, then invokes another macro BAR. BAR
doesn't see this let variable. Why not? Is there anything I can do
about this?
(defmacro BAR ()
(message (if (boundp 'asdf) "asdf" "no asdf"))
'(message "bar"))
(defmacro FOO ()
(let (asdf)
`(BAR)))
--
Alan Mackenzie (Nuremberg, Germany).
- Macro expansion: Why doesn't the invoked macro see (let (variables)) from the invoking one?,
Alan Mackenzie <=
- RE: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Drew Adams, 2012/02/08
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Alan Mackenzie, 2012/02/08
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Stefan Monnier, 2012/02/08
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Alan Mackenzie, 2012/02/08
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, PJ Weisberg, 2012/02/10
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Alan Mackenzie, 2012/02/10
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables))from the invoking one?, Andreas Schwab, 2012/02/08
- Re: Macro expansion: Why doesn't the invoked macro see (let (variables)) from the invoking one?, Tassilo Horn, 2012/02/08