help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recognizing "end" correctly in Octave mode


From: Dieter Wilhelm
Subject: Re: recognizing "end" correctly in Octave mode
Date: Fri, 01 Dec 2006 21:10:41 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Markus Triska <triska@gmx.at> writes:

> Nicolas Neuss <lastname@mathematik.uni-karlsruhe.de> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]