[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [POLL] Setting `org-adapt-indentation' to nil by default?
From: |
Kévin Le Gouguec |
Subject: |
Re: [POLL] Setting `org-adapt-indentation' to nil by default? |
Date: |
Mon, 03 May 2021 16:57:08 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Bastien <bzg@gnu.org> writes:
> Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>
>> Great! One last snag that I can see: when inserting properties or
>> clocking in, the :LOGBOOK:, :PROPERTIES: and :END: lines are indented,
>> but the /first/ :property: or CLOCK: line remains at column 0.
>
> Er. Can you try this (hopefully last) patch and report any problem?
>
> Thanks for your patience in testing this!
Well, try as I might, I couldn't get this one to misindent 😃 And a good
thing too, I was about to run out of synonyms for wrinkles/nits/snags
and the like 😉
If anyone is wondering what these exchanges are all about: with
Bastien's latest patch[1], setting org-adapt-indentation to
'headline-data results in the following behaviour, *whether
electric-indent-mode is enabled or not*:
- "* heading RET" starts an unindented line (point goes to column 0).
- The drawers inserted by org-set-property and org-clock-in are
indented.
So, to bring the discussion back to the poll:
- If nil or 'headline-data becomes the default value, RET will no longer
indent regular text after a headline (even with electric-indent-mode).
- The difference will be whether :DRAWERS: are indented or not.
As far as I am concerned, my preference has become:
(1) 'headline-data (indented drawers)
(2) nil (nothing indented)
(3) t (the status quo)
although I suppose an argument could be made that 'headline-data might
be a bit "young" and as such, should not be used as default value…
Let's see what the poll yields 🙂
[1] Uncommited, to apply on branch maint:
87fsz4ue9e.fsf@bzg.fr/2-fix-indent.patch">https://orgmode.org/list/87fsz4ue9e.fsf@bzg.fr/2-fix-indent.patch
- Re: [POLL] Setting `org-adapt-indentation' to nil by default?, (continued)
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Dr. Arne Babenhauserheide, 2021/05/03
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Jim Porter, 2021/05/02
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Kévin Le Gouguec, 2021/05/02
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Maxim Nikulin, 2021/05/06
Re: [POLL] Setting `org-adapt-indentation' to nil by default?, Bastien, 2021/05/15
[PATCH] etc/ORG-NEWS: Suggest against disabling `electric-indent-mode', Maxim Nikulin, 2021/05/19
Re: [PATCH] etc/ORG-NEWS: Suggest against disabling `electric-indent-mode', Bastien, 2021/05/20
[PATCH] org-faq.org: Expand "What is the best setup for indenting?", Maxim Nikulin, 2021/05/19
Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?", Greg Minshall, 2021/05/19
Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?", Maxim Nikulin, 2021/05/20
Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?", Greg Minshall, 2021/05/20
Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?", Maxim Nikulin, 2021/05/27
Re: [PATCH] org-faq.org: Expand "What is the best setup for indenting?", Bastien, 2021/05/21