[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp macros problem
From: |
Pascal Bourguignon |
Subject: |
Re: elisp macros problem |
Date: |
26 Jul 2004 07:20:38 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Barry Margolin <barmar@alum.mit.edu> writes:
> In article <ce1sfo$3ol$1@mughi.cs.ubc.ca>,
> Lowell Kirsh <lkirsh@cs.ubc.ca> wrote:
>
> > Yes, I have been making sure to quote the list, but it doesn't seem to
> > work at all. I've also tried to macroexpand the forms I'm evaluating but
> > the minibuffer just shows a condensed version of the expansion with lots
> > of '...' placeholders. Is there a simple way to macroexpand and pretty
> > print a form without the '...'s ?
>
> Use the *scratch* buffer for a better interface to the Emacs Lisp R-E-P
> loop.
Or any elisp buffer, with: C-u C-x C-e:
(macroexpand '(push 'a a)) C-u C-x C-e --> (setq a (cons (quote a) a))
--
__Pascal Bourguignon__ http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he does not
want merely because you think it would be good for him. -- Robert Heinlein
Re: elisp macros problem, Barry Margolin, 2004/07/25
Re: elisp macros problem, Oliver Scholz, 2004/07/26
Re: elisp macros problem, David Kastrup, 2004/07/26
- Re: elisp macros problem, Lowell Kirsh, 2004/07/27
- Re: elisp macros problem, Lowell Kirsh, 2004/07/27
- Re: elisp macros problem, David Kastrup, 2004/07/27
- Re: elisp macros problem, Lowell Kirsh, 2004/07/27
- Re: elisp macros problem, Pascal Bourguignon, 2004/07/27
- Re: elisp macros problem, Rob Warnock, 2004/07/28
Re: elisp macros problem, Barry Fishman, 2004/07/27