all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: raman <tv.raman.tv@gmail.com>
Cc: 16763@debbugs.gnu.org
Subject: bug#16763: 24.3.50; electric-indent annoyance: C-j doesn't indent
Date: Sun, 16 Feb 2014 22:16:22 -0500	[thread overview]
Message-ID: <jwv1tz24ei5.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87fvnkbbqx.fsf@gmail.com> (raman's message of "Sat, 15 Feb 2014 08:07:34 -0800")

> The documentation for electric-mode indicates that indentation
> will be invoked when you type any of the chars in
> electric-indent-chars

Actually, it's when you self-insert-command a char in electric-indent-chars.
Both C-j and RET call self-insert-command indirectly after fiddling to
force them both to insert ?\n.

In any case, if you prefer the old behavior, just disable
electric-indent-mode.


        Stefan





  parent reply	other threads:[~2014-02-17  3:16 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 [this message]
2014-02-15 19:27 ` Drew Adams
2014-02-15 19:50   ` Andreas Röhler
2014-02-15 21:48   ` T. V. Raman

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=jwv1tz24ei5.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=16763@debbugs.gnu.org \
    --cc=tv.raman.tv@gmail.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.