GNU bug report logs -
#51167
29.0.50; org-indent-line broken
Previous Next
Full log
Message #15 received at 51167 <at> debbugs.gnu.org (full text, mbox):
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.