[Top][All Lists]

[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 <address@hidden> writes:

> In article <address@hidden>,
>  Lowell Kirsh <address@hidden> 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__           

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]