GNU bug report logs -
#16155
electric indent gripes
Previous Next
Reported by: rms <at> gnu.org
Date: Sun, 15 Dec 2013 11:49:01 UTC
Severity: minor
Merged with 16156
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #93 received at 16155 <at> debbugs.gnu.org (full text, mbox):
Richard Stallman <rms <at> gnu.org> writes:
> In text mode, if the buffer contains
> -----------------------------------------
> foo
>
> bar
>
> -----------------------------------------
>
> and point is at the end of the line, and I type RET,
> it indents the following line.
>
> I don't ever like having newline indent. It should be a minor mode,
> and the documentation of `newline' should explain how to easily turn
> this off.
It is a minor mode, and the doc string does explain this (at least now
it does).
---
It is bound to RET.
(newline &optional ARG INTERACTIVE)
Insert a newline, and move to left margin of the new line.
With prefix argument ARG, insert that many newlines.
If ‘electric-indent-mode’ is enabled, this indents the final new line
that it adds, and reindents the preceding line. To just insert
a newline, use M-x electric-indent-just-newline.
---
So I don't think there's anything we want to change here, and I'm
closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 20 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.