From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [gail@tnp-online.de: octave-mod.el: wrong indentation for "IF", "FOR", etc.] Date: Fri, 12 Oct 2007 11:59:33 -0400 Message-ID: References: <18188.40056.604794.828796@mithrandir.hornik.net> <18188.61920.576598.871247@segfault.lan> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1192205950 15565 80.91.229.12 (12 Oct 2007 16:19:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 16:19:10 +0000 (UTC) Cc: Kurt.Hornik@wu-wien.ac.at, emacs-devel@gnu.org, gail@tnp-online.de, jwe@bevo.che.wisc.edu To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 12 18:18:59 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 1IgN0c-0001vw-5C for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 18:05:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgN0V-00058l-PB for ged-emacs-devel@m.gmane.org; Fri, 12 Oct 2007 12:04:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IgMvJ-000300-O5 for emacs-devel@gnu.org; Fri, 12 Oct 2007 11:59:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IgMvH-0002z2-RJ for emacs-devel@gnu.org; Fri, 12 Oct 2007 11:59:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgMvH-0002yo-Ll for emacs-devel@gnu.org; Fri, 12 Oct 2007 11:59:35 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IgMvH-0000b4-Dx for emacs-devel@gnu.org; Fri, 12 Oct 2007 11:59:35 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IgMvF-0001Gc-Ps; Fri, 12 Oct 2007 11:59:33 -0400 In-reply-to: (message from Glenn Morris on Thu, 11 Oct 2007 21:23:08 -0400) X-detected-kernel: by monty-python.gnu.org: 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:80722 Archived-At: > +(defun octave-re-search-backward-kw (regexp) > + (let ((case-fold-search nil)) > + (re-search-backward regexp nil 'move inc))) It seems ugly to (ab)use the variable `inc' in this way. That is true. It is not clean to inherit a variable from a calling function without defvar'ing it, and for that it should have a longer name.