unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: Mike Kupfer <mkupfer@alum.berkeley.edu>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: Org mode behavior change in 27.2 (org-adapt-indentation)
Date: Tue, 23 Mar 2021 08:23:50 +1100	[thread overview]
Message-ID: <CAC=50j9wYbBgR+9rQNLB=d+ekH+O+inp48Zgys0vXckt2HznJw@mail.gmail.com> (raw)
In-Reply-To: <15975.1616436248@alto>

[-- Attachment #1: Type: text/plain, Size: 1131 bytes --]

On Tue, 23 Mar 2021 at 05:15, Mike Kupfer <mkupfer@alum.berkeley.edu> wrote:

> I upgraded from 27.1 to 27.2-rc2 over the weekend and noticed that Org
> mode behaves differently, even with "emacs -Q".
>
> In 27.1, if I visit foo.org and type "* header RET", point is put in the
> first column.  In 27.2, point is put in column 3.
>
> This behavior is apparently controlled by org-adapt-indentation, which
> is t in both 27.1 and 27.2.  So maybe the behavior change is the result
> of a bug fix?  Should this be documented in NEWS somewhere?
>
>
> This is actually a side effect of org now honouring electric-indent-mode.
There is a section about this in the org NEWS file. Previously, org did not
support electric-indent-mode. Adding this support means that
org-adapt-indentation now acts slightly differently than it did before and
can be impacted by the setting of electric-indent-mode.

I would agree that the NEWS item on org-adaptive-indent should probably
referrence the entry on electric-indent-mode (and vice-versa) and the two
entries probably should be closer together in the NEWS file.


-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 1774 bytes --]

  parent reply	other threads:[~2021-03-22 21:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22 18:04 Org mode behavior change in 27.2 (org-adapt-indentation) Mike Kupfer
2021-03-22 18:15 ` Eli Zaretskii
2021-03-22 18:34   ` Mike Kupfer
2021-03-22 18:54     ` Eli Zaretskii
2021-03-22 19:16       ` chad
2021-03-22 19:22         ` Eli Zaretskii
2021-03-22 21:23 ` Tim Cross [this message]
2021-03-23  0:23   ` Mike Kupfer
2021-03-23  6:55     ` Kévin Le Gouguec
2021-05-02  6:26       ` Bastien

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='CAC=50j9wYbBgR+9rQNLB=d+ekH+O+inp48Zgys0vXckt2HznJw@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=mkupfer@alum.berkeley.edu \
    /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).