From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: elisp macros problem Date: 26 Jul 2004 07:20:38 +0200 Organization: [posted via Easynet Spain] Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87acxn2vkp.fsf@thalassa.informatimago.com> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090819342 18731 80.91.224.253 (26 Jul 2004 05:22:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 05:22:22 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 26 07:22:12 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BoxwB-0004Q1-00 for ; Mon, 26 Jul 2004 07:22:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BoxzC-00072b-VU for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jul 2004 01:25:18 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!colt.net!easynet-monga!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.lang.lisp User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 23 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=V0G List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19793 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19793 Barry Margolin writes: > In article , > Lowell Kirsh 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