From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: Roland Winkler <winkler@gnu.org>, 17895@debbugs.gnu.org
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 [thread overview]
Message-ID: <jwvk37wecfn.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <agoax88r5h.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 01 Jul 2014 21:51:06 -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
prev parent reply other threads:[~2014-07-02 2:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 21:31 bug#17895: 24.3.91; electric-indent-mode not quite right with comments in fortran-mode Roland Winkler
2014-07-01 22:47 ` Stefan Monnier
2014-07-01 23:49 ` Glenn Morris
2014-07-02 20:55 ` Roland Winkler
2014-07-02 21:03 ` Glenn Morris
2014-07-02 21:50 ` Roland Winkler
2014-07-03 2:00 ` Stefan Monnier
2014-07-01 23:38 ` Glenn Morris
2014-07-02 1:17 ` Stefan Monnier
2014-07-02 1:51 ` Glenn Morris
2014-07-02 1:57 ` Glenn Morris
2014-07-02 2:14 ` Stefan Monnier [this message]
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=jwvk37wecfn.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=17895@debbugs.gnu.org \
--cc=rgm@gnu.org \
--cc=winkler@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).