emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "\"James Harkins\" " <jamshark70@zoho.com>
To: "emacs-orgmode" <emacs-orgmode@gnu.org>
Subject: "Indent headline data" is indenting non-headline-data
Date: Thu, 27 Apr 2023 08:45:20 +0800	[thread overview]
Message-ID: <187c02bf96d.102a75f9b39134.5549411967079066520@zoho.com> (raw)
In-Reply-To: 

I just discovered a strange auto-indentation behavior. Org 9.5.2.

I'm currently using org to draft a paper.

I have set org-adapt-indentation to "adapt indentation for headline data lines."

Now I have (just stealing some body text):

```
* Headline

When this variable is set to ‘headline-data’, Org only adapts the
indentation of the data lines right below the headline, such as
planning/clock lines and property/logbook drawers.
```

If I position the cursor at the end of this paragraph, after "drawers.", and I hit return twice to start a new paragraph, org does not indent (as I expect).

If I position the cursor in the middle of the paragraph and hit return twice to break the paragraph into two, upon the second return, org *does* indent by two spaces.

Uh. What?

Perhaps I'm misunderstanding what is the definition of "headline data lines," but this looks to me like it's body text. Why is it being indented?

hjh


             reply	other threads:[~2023-04-27  0:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27  0:45 "James Harkins"  [this message]
2023-04-27  1:30 ` "Indent headline data" is indenting non-headline-data Ruijie Yu via General discussions about Org-mode.
2023-04-29  7:15   ` "James Harkins" 

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=187c02bf96d.102a75f9b39134.5549411967079066520@zoho.com \
    --to=jamshark70@zoho.com \
    --cc=emacs-orgmode@gnu.org \
    /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).