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

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

octave-mod.el: wrong indentation for "IF", "FOR", etc.


From: GAIL
Subject: octave-mod.el: wrong indentation for "IF", "FOR", etc.
Date: Mon, 08 Oct 2007 13:17:49 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060918 Thunderbird/1.5.0.7 Mnenhy/0.7.4.666

In octave-mode, depending on toggle-case-fold-search, octave-indent-line 
produces either this

IF = 1 ;
x = 2 ;

or that:

IF = 1 ;
  x = 2 ;

(via the function re-search-backward). The second behavior is obviously nonsense. Similar 
for "FOR" etc.

I verified the behavior for emacs-20.7.1/octave-2.1.34 and emacs 22.1.1/octave 
2.9.14.


G.





reply via email to

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