From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: elisp errors Date: Sat, 31 Jan 2009 19:52:13 -0700 Message-ID: <20524da70901311852x728e33b8v39cbed78fa5251e4@mail.gmail.com> References: <26488aad-8ff8-4dda-bda5-ce5036de3617@w39g2000prb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233456758 22610 80.91.229.12 (1 Feb 2009 02:52:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Feb 2009 02:52:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 01 03:53:52 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LTST2-0000ja-97 for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Feb 2009 03:53:52 +0100 Original-Received: from localhost ([127.0.0.1]:53830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTSRj-0000Py-Vo for geh-help-gnu-emacs@m.gmane.org; Sat, 31 Jan 2009 21:52:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTSRT-0000Ps-Np for help-gnu-emacs@gnu.org; Sat, 31 Jan 2009 21:52:15 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTSRT-0000Pe-1X for help-gnu-emacs@gnu.org; Sat, 31 Jan 2009 21:52:15 -0500 Original-Received: from [199.232.76.173] (port=34630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTSRS-0000PX-SE for help-gnu-emacs@gnu.org; Sat, 31 Jan 2009 21:52:14 -0500 Original-Received: from ey-out-1920.google.com ([74.125.78.148]:3132) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTSRS-0001dZ-EQ for help-gnu-emacs@gnu.org; Sat, 31 Jan 2009 21:52:14 -0500 Original-Received: by ey-out-1920.google.com with SMTP id 4so138857eyg.24 for ; Sat, 31 Jan 2009 18:52:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IY5PbHnvyEwrw3lvdqpfGPvtuiuJSUsQA96mhy4Ic08=; b=rKvPeoWpx8w7o9EfdpQDEzBswW1RyX1kZk3SUmj9UQSUN6IKDotImCKesqgghf9Lqj U3Oh21eVpZTXNfBthfd11jRbMHDZ2TIVTVrK4jd4fAnhP6dNiIcPXMWasdZq1Z3Q3daf zbH6LSeBfftxEQqBxW4v+l4dfa4Iytn4My5Q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IpmqlWWEH0A9I9mAih9arpOqunf0IBFb06LKd1rtxy9HYWy95oypbW+oTUUU3+AtHY B8QWr9o/Pg9RlsuQYrvF/AEi83OK1kB0aenSLXM1ewliH+X4epL31aeDylYelnGNv0Fu l8THTqqSglcj508AqYHSuFF+E/oyAa/qY378I= Original-Received: by 10.210.58.13 with SMTP id g13mr1126827eba.7.1233456733439; Sat, 31 Jan 2009 18:52:13 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61817 Archived-At: On Thu, Jan 22, 2009 at 20:48, Barry Margolin wrote: > (dotimes (i 100) > (c-indent-command) > (move-beginning-of-line 0) > (next-line 1) > (message "fin partielle")) Question: is this the usual approach? Seems a little strange to bind i when it's not used, especially since emacs lisp uses dynamic extent by default. A minor note: this might require 'cl, (an excellent package). (For those who don't know, Barry is a very experienced Common Lisper.) -- For personal and corporate gain, myalgic encephalomyelitis denialists are knowingly causing massive suffering and 25-years-early death by grossly corrupting science. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm