From: "T. V. Raman" <tv.raman.tv@gmail.com>
To: drew.adams@oracle.com
Cc: tv.raman.tv@gmail.com, 16763@debbugs.gnu.org
Subject: bug#16763: 24.3.50; electric-indent annoyance: C-j doesn't indent
Date: Sat, 15 Feb 2014 13:48:53 -0800 [thread overview]
Message-ID: <21247.57541.83209.804037@gargle.gargle.HOWL> (raw)
In-Reply-To: <ad061eaa-c1ea-4d07-b6ec-44d1ccf20b0a@default>
The source code docs need to be fixed too
>>>>> "Drew" == Drew Adams <drew.adams@oracle.com> writes:
>> This has been bothering me for a while when writing lisp
>> code -- started happening roughly a few months ago.
Drew>
Drew> Yup.
Drew>
>> I always hit C-j for newline, and a couple of months ago,
>> this stopped indenting -- by default C-j runs control j
>> runs the command electric-indent-just-newline when
>> electric-indent-mode is on.
>>
>> The documentation for electric-mode indicates that
>> indentation will be invoked when you type any of the chars
>> in electric-indent-chars -- and that variable is set to a
>> list containing ?\n which is ascii 10; yet, C-j invokes a
>> command that explicitly only inserts a newline? (feeling
>> very confused)
Drew>
Drew> It is not yet reflected in NEWS or the manuals, but
Drew> `C-j' and `RET' have been effectively swapped: `RET'
Drew> now indents and `C-j' does not indent.
Drew>
Drew> The new behavior was apparently adopted to make Emacs
Drew> correspond better with what newbie users expect, based
Drew> on their experience with other editors and IDEs.
Drew>
Drew> You are not alone in "feeling very
Drew> confused". Hopefully, the NEWS entry covering this, and
Drew> perhaps the manuals, will explain the best and simplest
Drew> way to restore the previous, longstanding behavior for
Drew> those who might prefer it. Otherwise, you can just
Drew> retrain your fingers. ;-)
prev parent reply other threads:[~2014-02-15 21:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <<87fvnkbbqx.fsf@gmail.com>
[not found] ` <mailman.15193.1392492502.10748.bug-gnu-emacs@gnu.org>
2014-02-15 16:07 ` bug#16763: 24.3.50; electric-indent annoyance: C-j doesn't indent raman
2014-02-15 22:18 ` Alan Mackenzie
2014-02-17 3:16 ` Stefan Monnier
2014-02-15 19:27 ` Drew Adams
2014-02-15 19:50 ` Andreas Röhler
2014-02-15 21:48 ` T. V. Raman [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21247.57541.83209.804037@gargle.gargle.HOWL \
--to=tv.raman.tv@gmail.com \
--cc=16763@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.