emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Indent headline data" is indenting non-headline-data
@ 2023-04-27  0:45 "James Harkins" 
  2023-04-27  1:30 ` Ruijie Yu via General discussions about Org-mode.
  0 siblings, 1 reply; 3+ messages in thread
From: "James Harkins"  @ 2023-04-27  0:45 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-04-29  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-27  0:45 "Indent headline data" is indenting non-headline-data "James Harkins" 
2023-04-27  1:30 ` Ruijie Yu via General discussions about Org-mode.
2023-04-29  7:15   ` "James Harkins" 

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).