Jean Louis <bugs@gnu.support> writes:
> * Bastien <b...@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.