From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: recognizing "end" correctly in Octave mode Date: Fri, 01 Dec 2006 21:10:41 +0100 Organization: The Church of Emacs Message-ID: <87ejrj1iny.fsf@hans.local.net> References: <873b82e9vv.fsf@ma-patru.mathematik.uni-karlsruhe.de> <87irgwrlr4.fsf@ma-patru.mathematik.uni-karlsruhe.de> <87psb3r07r.fsf@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1165009939 10932 80.91.229.2 (1 Dec 2006 21:52:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2006 21:52:19 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 01 22:52:17 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GqGIe-0006sT-K0 for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Dec 2006 22:52:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqGIe-0002sJ-86 for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Dec 2006 16:52:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GqGHt-0002NR-Im for help-gnu-emacs@gnu.org; Fri, 01 Dec 2006 16:51:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GqGHp-0002KU-5l for help-gnu-emacs@gnu.org; Fri, 01 Dec 2006 16:51:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GqGHo-0002KM-Mf for help-gnu-emacs@gnu.org; Fri, 01 Dec 2006 16:51:12 -0500 Original-Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GqGHn-0003y9-Ul for help-gnu-emacs@gnu.org; Fri, 01 Dec 2006 16:51:12 -0500 Original-Received: from [84.167.37.37] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GqGHm19Ui-0001JZ; Fri, 01 Dec 2006 22:51:10 +0100 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id 1BF1D755E6; Fri, 1 Dec 2006 21:10:42 +0100 (CET) Original-To: Markus Triska In-Reply-To: <87psb3r07r.fsf@gmx.at> (Markus Triska's message of "Fri\, 01 Dec 2006 18\:32\:24 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 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:39187 Archived-At: Markus Triska writes: > Nicolas Neuss writes: > >> This is how Octave mode wants to indent: >> >> function A = LR3 (A0) >> A=A0; >> m=rows(A); n=columns(A); ... > for i=1:min(m,n) > A(i+1:m,i)=A(i+1:m,i)/A(i,i); > A(i+1:m,i+1:n) = A(i+1:m,i+1:n)-A(i+1:m,i)*A(i,i+1:n); > end > end > > in GNU Emacs 22.0.90.10. > Yes thanks, forgot to mention that I had (as hopefully everybody on this list Emacs 22), I'm sorry Nicolas, by the way, have you heard about Emacs Calc, the great calculator mode in Emacs 22? Might be interesting for you. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany