GNU bug report logs - #17895
24.3.91; electric-indent-mode not quite right with comments in fortran-mode

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Tue, 1 Jul 2014 21:32:01 UTC

Severity: minor

Tags: wontfix

Found in version 24.3.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 17895 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Roland Winkler <winkler <at> gnu.org>, 17895 <at> debbugs.gnu.org
Subject: Re: bug#17895: 24.3.91;
 electric-indent-mode not quite right with comments in fortran-mode
Date: Tue, 01 Jul 2014 22:14:56 -0400
>> Instead, the problem here seems to only affect empty lines (i.e. lines
>> where the text hasn't been written yet)
> (How do you type RET and have text already written on the new line...?)

When you hit RET in the middle of a line, of course.
And of course electric-indent-mode doesn't only trigger when you hit RET
(and for other keys, there'll usually be text on the current line), and
half the work of electric-indent-mode when triggered by RET is to
reindent the line where the RET was inserted (i.e. the "previous" line),
which is often/usually not empty either.

> So I don't really see that there is anything to do here.

Agreed,


        Stefan




This bug report was last modified 9 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.