From: GAIL <gail@tnp-online.de>
To: bug-gnu-emacs@gnu.org
Subject: octave-mod.el: wrong indentation for "IF", "FOR", etc.
Date: Mon, 08 Oct 2007 13:17:49 +0200 [thread overview]
Message-ID: <470A11DD.6050207@tnp-online.de> (raw)
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 other threads:[~2007-10-08 11:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=470A11DD.6050207@tnp-online.de \
--to=gail@tnp-online.de \
--cc=bug-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).