emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrew Burgess <andrew.burgess@embecosm.com>
To: William Denton <wtd@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: electric-indent-mode in Emacs 25 not indenting in Org
Date: Tue, 21 Oct 2014 16:11:17 +0100	[thread overview]
Message-ID: <20141021151117.GI2437@embecosm.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1410152206010.28326@shell.miskatonic.org>

* William Denton <wtd@pobox.com> [2014-10-15 22:13:16 -0400]:

> I noticed something odd with electric-indent-mode, which I had enabled, and
> which is on by default in 24.4.

I think the problem is with the calls to `newline' within org-return.

The code for `newline' was changed so that non-interactive calls don't
run the post-self-insert-hook, the result is that the
electric-indent-post-self-insert-function is not called.

HTH
Andrew

      parent reply	other threads:[~2014-10-21 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-16  2:13 electric-indent-mode in Emacs 25 not indenting in Org William Denton
2014-10-16  8:11 ` Marco Wahl
2014-10-16 18:40   ` Grant Rettke
2014-10-20 13:30 ` Bastien
2014-10-20 14:06   ` William Denton
2014-10-21 15:11 ` Andrew Burgess [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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141021151117.GI2437@embecosm.com \
    --to=andrew.burgess@embecosm.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wtd@pobox.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).