emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: Tim Cross <theophilusx@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG in org master?]
Date: Fri, 22 Oct 2021 18:14:49 +0200	[thread overview]
Message-ID: <878ryldojq.fsf@gmail.com> (raw)
In-Reply-To: <m24k992m61.fsf@blind-drunk.fritz.box> (Tim Cross's message of "Sat, 23 Oct 2021 00:55:14 +1100")

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.


  reply	other threads:[~2021-10-22 16:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 14:52 how to indent (or refill) properties Uwe Brauer
2021-10-21 17:48 ` Kévin Le Gouguec
2021-10-22  6:31   ` [BUG in org master?] (was: how to indent (or refill) properties) Uwe Brauer
2021-10-22 13:55     ` Tim Cross
2021-10-22 16:14       ` Kévin Le Gouguec [this message]
2021-10-22 16:34       ` [BUG in org master?] Uwe Brauer
2021-10-22 22:36         ` Tim Cross
2021-10-22 15:50     ` Kévin Le Gouguec
2021-10-23  6:38       ` Uwe Brauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ryldojq.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=theophilusx@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).