I'm a writer (non-programmer) using org-mode
mainly for prose notes/planning and writing.
I'm trying to enable first-line paragraph indents for text under Org headings. I discovered paragraph-indent-mode
, and after enabling it to no effect, I finally realized that it doesn't work, and Org's normal ability to first-line indent also doesn't work, when org-indent-mode
is enabled. With the latter enabled, M-i
indents the whole paragraph.
Are the two features incompatible? Ideally I would have my text body indented under the headline as per normal org-indent-mode
, and then M-i
would allow me to further indent the first line of a paragraph from the new margin (if I wanted to).
E.g.,
* org heading
a paragraph nicely indented and aligned to the heading text (thx org-indent, you're really great, i'd hate to have to lose you just to enable first-line paragraph indents!). sentence sentence blah blah waffle waffle
a new first-line indented prose paragraph starting here.
and back to non-indented new paragraph still possible if i wanted to.
The idea is just to have the two types of paragraph breaks available.
I also have variable-pitch-mode
and org-bullets-mode
enabled.
edit: * M-i is bound to tab-to-tab-stop.
i'm running emacs 26.1 and org latest from melpa (9.3)
if i first run org-fill-paragraph, then the indentation works, but i don't at all like the idea of using that for my writing.
(i also have indent-tools installed (but disabled by default in org buffers). if i run indent-tools-indent, i also get whole paragraph indenting.)
M-x forward-paragraph
at various places in your buffer and see what you get. In particular,a new first-line indented paragraph
is no such thing: it is still part of the first paragraph.M-i
, which is bound totab-to-tab-stop
in my case, indents the first line of a paragraph as you want and the indentation survives aM-q
(org-fill-paragraph
).M-i
bound totab-to-tab-stop
in your case as it is in my case? I cannot reproduce the problem you are seeing. You might also add the org version (and possibly the emacs version) to your question: it might depend on the version.