From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johannes Weiner Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Interactive macro expansion added Date: Tue, 11 Sep 2007 12:15:14 +0200 Message-ID: <20070911101514.GB18189@saeurebad.de> References: <20070819220806.GA14139@saeurebad.de> <20070820013126.GA24021@saeurebad.de> <20070909005023.GA7580@saeurebad.de> <20070910004631.GB3342@saeurebad.de> <877imyjqp7.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0282034218==" X-Trace: sea.gmane.org 1189505737 15785 80.91.229.12 (11 Sep 2007 10:15:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 10:15:37 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 20:15:21 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IVAGb-00017l-PE for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 20:15:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV2mJ-000171-9w for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2007 06:15:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IV2m7-00013A-0R for emacs-devel@gnu.org; Tue, 11 Sep 2007 06:15:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IV2m5-00012Y-Mc for emacs-devel@gnu.org; Tue, 11 Sep 2007 06:15:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV2m5-00012T-IC for emacs-devel@gnu.org; Tue, 11 Sep 2007 06:15:17 -0400 Original-Received: from saeurebad.de ([85.214.36.134]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IV2m5-0000hb-8A for emacs-devel@gnu.org; Tue, 11 Sep 2007 06:15:17 -0400 Original-Received: by saeurebad.de (Postfix, from userid 1000) id BF91A2F0152; Tue, 11 Sep 2007 12:15:14 +0200 (CEST) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <877imyjqp7.fsf@localhorst.mine.nu> User-Agent: Mutt/1.5.16 (2007-06-11) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:78575 Archived-At: --===============0282034218== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi David, On Mon, Sep 10, 2007 at 08:55:16PM +0200, David Hansen wrote: > > +*** The new command `pp-macroexpand-last-sexp' pretty-prints the > > +macroexpansion of the s-expression before point. > > + >=20 > Some time ago I wrote something similar but the output of the > macroexpansion is displayed in a separate buffer (similar how it works > in the slime package, in case you know it). If you are interested it's > in the gnu.emacs.sources archive or I can send it / post it here. Have a look at pp-display-expression (in the sources with this patch applie= d) or at pp-eval-expression in the vanilla sources. The expansion is printed into a separate buffer if the expression is too long for the minibuffer. Hannes --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG5mqydvEGNHGk3KARAtm5AJ9Fm+yRpQKRrVM+GEBjVMkJfZP4EgCeMLcy V/DStRBA0OPDjE6YG14B0/A= =IeUJ -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn-- --===============0282034218== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============0282034218==--