[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to put this in a macro
From: |
José A . Romero L . |
Subject: |
Re: How to put this in a macro |
Date: |
Tue, 04 May 2010 15:45:05 -0000 |
User-agent: |
G2/1.0 |
On 17 Kwi, 17:14, Barry Margolin <bar...@alum.mit.edu> wrote:
(...)
> > possible at all) asking for trouble -- what would happen when foo is
> > nil, or 5?
>
> My macro requires that the parameters be variables, not expressions.
You're right. Emacs is actually smarter than I thought and won't let
you pass anything but variables to the call.
(...)
> > i.e. passing the symbols of the variables you want to set.
>
> If you call it like that, it can be a function, not a macro.
(...)
It can be a function or a macro, whatever you prefer, though I do
agree your version is definitely better.
Cheers,
--
José A. Romero L.
escherdragon at gmail
"We who cut mere stones must always be envisioning cathedrals."
(Quarry worker's creed)
- Re: How to put this in a macro, (continued)
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro, Cecil Westerhof, 2010/05/04
- Re: How to put this in a macro, José A . Romero L ., 2010/05/04
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
- Re: How to put this in a macro,
José A . Romero L . <=
- Re: How to put this in a macro, Barry Margolin, 2010/05/04
Re: How to put this in a macro, Pascal J. Bourguignon, 2010/05/04