unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* octave-mod.el: wrong indentation for "IF", "FOR", etc.
@ 2007-10-08 11:17 GAIL
  0 siblings, 0 replies; only message in thread
From: GAIL @ 2007-10-08 11:17 UTC (permalink / raw)
  To: bug-gnu-emacs

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.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-08 11:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 11:17 octave-mod.el: wrong indentation for "IF", "FOR", etc GAIL

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).