Tim Cross <[email protected]> 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.

Reply via email to