GNU bug report logs - #51167
29.0.50; org-indent-line broken

Previous Next

Package: org-mode;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 12 Oct 2021 16:50:02 UTC

Severity: normal

Done: Max Nikulin <manikulin <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #15 received at 51167 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Cc: 51167 <at> debbugs.gnu.org
Subject: Re: bug#51167: 29.0.50; org-indent-line broken
Date: Wed, 13 Oct 2021 08:47:16 +0200
On 12.10.21 20:35, Kévin Le Gouguec wrote:
> Andreas Röhler <andreas.roehler <at> easy-emacs.de> writes:
>
>> With following stuff in org-mode buffer:
>>
>> * bla
>> asd
>>
>> M-x org-indent-line RET on second line has no effect.
> Org 9.5 changed the default value of org-adapt-indentation from t to
> nil, as that seemed to be what a lot of users expect[1], so
> org-indent-line should not indent the second line in Emacs 28 onward
> unless configured otherwise:
>
> - setting org-adapt-indentation back to t will make Org indent by
>    inserting whitespace;
>
> - alternatively, enabling org-indent-mode will make Org "soft-indent"
>    with text properties.
>
>
> [1] Org 9.4 made RET and C-j obey electric-indent-mode like they do in
>      most other major modes.  Since org-adapt-indentation was t by
>      default, this led to many dismayed reports on emacs-orgmode that
>      "RET now messes up indentation", indicating that these users did not
>      expect their prose to be indented.


Sounds like a chain of confusion.

A command called "indent-line" definitely should indent.

Seems the original coulprit is that unhappy switch of RET and C-j, in 
order to make Emacs "modern".

Maybe make RET RET again?







This bug report was last modified 3 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.