[Top][All Lists]

[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: Gecko/20060918 Thunderbird/ Mnenhy/

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 


reply via email to

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