[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] Setting `org-adapt-indentation' to nil by default?
From: |
Tim Cross |
Subject: |
Re: [POLL] Setting `org-adapt-indentation' to nil by default? |
Date: |
Sun, 02 May 2021 18:47:42 +1000 |
User-agent: |
mu4e 1.5.12; emacs 28.0.50 |
Jean Louis <bugs@gnu.support> writes:
> * Bastien <bzg@gnu.org> [2021-05-02 09:10]:
>> Various discussions convinced me that `org-adapt-indentation' should
>> be nil by default.
>>
>> With `electric-indent-mode' being activated by default in Emacs, the
>> current behavior is that RET after a headline moves the point below
>> the beginning of this headline, not the beginning of the line, which
>> might surprise users.
>>
>> Indentation is quite sensitive: what do you think of setting a new
>> default value of nil for `org-adapt-indentation' in Org 9.5?
>
> Yes, it should be nil just as it was in beginning.
>
> But there is one problem that I encountered since that was introduced,
> namely I do like properties being indented under the first letter of
> heading or on 3rd place.
>
> Like this below, however, C-c C-x p will create properties indented
> only if org-adapt-indentation is t
>
> * Heading
> :PROPERTIES:
> :ARCHIVE: new
> :END:
>
> But if org-adapt-indentation is nil, it will be like:
>
> * Heading
> :PROPERTIES:
> :ARCHIVE: new
> :END:
>
> and I remember that behavior before the introduced change was that
> properties were intended, which does look nicer for properties.
>
> But I definitely do not prefer cursor to come indentend after writing a
> header like:
>
> * Heading
> C
> ursor on C
>
>
Sounds like you want the 'headline-data value for this variable. Please
check the documentation.
Note that there was a bug with this setting which has recently be fixed.
So if you tried it previously and found it didn't quite work correctly,
try it again in current maint version.
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Eric S Fraga, 2021/05/02