[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17895: 24.3.91; electric-indent-mode not quite right with comments i
From: |
Stefan Monnier |
Subject: |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
>> 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
- bug#17895: 24.3.91; electric-indent-mode not quite right with comments in fortran-mode, (continued)
bug#17895: 24.3.91; electric-indent-mode not quite right with comments in fortran-mode, Glenn Morris, 2014/07/01