[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG in org master?]
From: |
Kévin Le Gouguec |
Subject: |
Re: [BUG in org master?] |
Date: |
Fri, 22 Oct 2021 18:14:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Tim Cross <theophilusx@gmail.com> writes:
> The effect of org-adapt-indentation is somewhat confusing to say the
> least. The effect of that setting is also dependent on the setting for
> electric-indent-mode. Getting the desired result often depends on having
> the right setting for both that variable and electric-indent-mode.
In case that can clear things up:
- org-adapt-indentation dictates what the "canonical" indentation should
be, i.e. what happens when you select the whole text and M-:
(indent-for-tab-command):
- nil (default as of 9.5): nothing is indented;
- t (default before 9.5): drawers and text are indented;
- 'headline-data: drawers are indented.
- electric-indent-mode dictates *what key* causes automatic indentation:
- nil: C-j indents, RET does not,
- t: C-j does not indent, RET does.