From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Adrian Aichner Newsgroups: gmane.emacs.devel Subject: Re: eval-to-texi Date: Mon, 03 May 2004 20:21:04 +0200 Organization: The XEmacs Project Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16530.26245.472519.384112@termi.eui.upm.es> <16530.37070.624001.570085@termi.eui.upm.es> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083608698 27677 80.91.224.253 (3 May 2004 18:24:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 18:24:58 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 20:24:45 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKi7R-0001JX-00 for ; Mon, 03 May 2004 20:24:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKi7Q-0004dF-00 for ; Mon, 03 May 2004 20:24:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKi3S-0001lE-3r for emacs-devel@quimby.gnus.org; Mon, 03 May 2004 14:20:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKi3M-0001kW-4U for emacs-devel@gnu.org; Mon, 03 May 2004 14:20:32 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKi2p-0001TJ-7A for emacs-devel@gnu.org; Mon, 03 May 2004 14:20:30 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BKi2o-0001Sl-Oh for emacs-devel@gnu.org; Mon, 03 May 2004 14:19:58 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BKi2o-0008Fr-00 for ; Mon, 03 May 2004 20:19:58 +0200 Original-Received: from pd9e50f9b.dip.t-dialin.net ([217.229.15.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 May 2004 20:19:58 +0200 Original-Received: from adrian by pd9e50f9b.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 May 2004 20:19:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 38 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd9e50f9b.dip.t-dialin.net X-Face: 4[iHdXiTu\V3u[~\I)*}#kYF[-tYl3VZga/HSOP|K,{L Rtu@f0y/=O&Cu}\:~d|P$JON?pn?j,&CnPb1z#/TL9bkAJwyol&a:SvYj-VYbM=Dtxhk9 =w|R6U3_;SH&B List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22640 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22640 jemarch@gnu.org writes: > *** texinfo.el.~1.102.~ Sat Feb 21 14:48:44 2004 > --- texinfo.el Fri Apr 30 19:43:07 2004 > *************** > *** 1050,1055 **** > --- 1050,1147 ---- > ;; job-number"\n")) > (tex-recenter-output-buffer nil)) > > + > + (defun texinfo-eval-to-texi (form &optional tostring) > + "Evaluates FORM, dumping a @lisp texinfo environment with the evaluation > + description. > + > + If TOSTRING is t, then the @lisp environment is returned into a string, > + rather than being inserted into the current buffer." > + > + (interactive "sForm to evaluate: ") > + > + (let (environment-text) > + > + (setq environment-text > + > + (with-temp-buffer > + > + (condition-case error-description > + > + (let (expression result output) > + Hi, just my two cents: why the excessive whitespace? -- Adrian Aichner mailto:adrian@xemacs.org http://www.xemacs.org/