GNU bug report logs -
#51167
29.0.50; org-indent-line broken
Previous Next
Full log
View this message in rfc822 format
close 51167
quit
On 17/10/2021 03:02, Andreas Röhler wrote:
> On 13.10.21 14:59, Max Nikulin wrote:
>> On 13/10/2021 01:35, Kévin Le Gouguec wrote:
>>> Andreas Röhler writes:
>>>
>>>> With following stuff in org-mode buffer:
>>>>
>>>> * bla
>>>> asd
>>>>
>>>> M-x org-indent-line RET on second line has no effect.
>>
>> Andreas, do the following settings make behavior consistent with you
>> expectations?
>>
>> (add-hook 'org-mode-hook (lambda () (electric-indent-local-mode -1)))
>> (setq org-adapt-indentation t)
>
> Thanks. That works for me.
So it is not a bug.
> Still thinking a command "indent" should indent.
Such settings are not the best choice for defaults. They are not friendly to
- New users who do not press TAB after each RET, so they later get
inconsistent indentation after promoting/demoting/refiling headings.
- Users who write long documents where convenience of indented
paragraphs is disputed. Likely org-indent is better to get visual indent
without adding spaces in front of every line
- VCS because of promoting or demoting headings results in overblown
patches.
I do not think that behavior of TAB in Org is deviates from major modes.
(Side note: sometimes I do not mind to have indent accordingly to my
taste even if it is not conventional one for particular structure.)
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.