From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jemarch@gnu.org Newsgroups: gmane.emacs.devel Subject: Re: eval-to-texi Date: Fri, 30 Apr 2004 20:38:20 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16530.40220.745356.655967@termi.eui.upm.es> 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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1083610089 31284 80.91.224.253 (3 May 2004 18:48:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 May 2004 18:48:09 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 03 20:47:52 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 1BKiTn-0003H1-00 for ; Mon, 03 May 2004 20:47:51 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BKiTn-00050E-00 for ; Mon, 03 May 2004 20:47:51 +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 1BKiTU-0001PZ-BV for emacs-devel@quimby.gnus.org; Mon, 03 May 2004 14:47:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BKiRX-0000Pk-3Z for emacs-devel@gnu.org; Mon, 03 May 2004 14:45:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BKiQx-0000Bh-89 for emacs-devel@gnu.org; Mon, 03 May 2004 14:45:27 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BKiQi-0008Lh-Ov for emacs-devel@gnu.org; Mon, 03 May 2004 14:44:40 -0400 Original-Received: from [138.100.152.2] (helo=fenix.eui.upm.es) by mx20.gnu.org with esmtp (Exim 4.30) id 1BKiMQ-0003IJ-LM for emacs-devel@gnu.org; Mon, 03 May 2004 14:40:14 -0400 Original-Received: from termi.eui.upm.es.gnu.org (zorzal.eui.upm.es [138.100.158.159]) by fenix.eui.upm.es (Postfix) with ESMTP id 0C588B6F44; Mon, 3 May 2004 20:37:49 +0200 (CEST) Original-To: Adrian Aichner In-Reply-To: X-Mailer: VM 7.17 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." 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:22642 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22642 Adrian Aichner writes: jemarch@gnu.org writes: =20 > + (defun texinfo-eval-to-texi (form &optional tostring) > + "Evaluates FORM, dumping a @lisp texinfo environment with the= evaluation > + description. > +=20 > + If TOSTRING is t, then the @lisp environment is returned into a= string, > + rather than being inserted into the current buffer." > + =20 > + (interactive "sForm to evaluate: ") > +=20 > + (let (environment-text) > +=20 > + (setq environment-text=20 > +=20 > + =09 (with-temp-buffer=20 > +=20 > + =09 (condition-case error-description > +=20 > + =09=09(let (expression result output) > +=20 =20 Hi, just my two cents: why the excessive whitespace? =BFDo you mean the line spacing? In this way i found easier to read the= code. It is a personal taste, of course. The spacing can be reduced. --=20 Jos=E9 E. Marchesi=20 http://www.gnu.org GNU No es Unix! http://es.gnu.org GNU Espa=F1a .---------------. | .-[]--. | | [] `>[]-| | BEE GNU/Hurd http://bee.es.gnu.org | `-.[]<-' | =20 ._______________. =20