emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Indentation of text below headlines
@ 2009-07-22  2:48 onguarde -
  2009-07-22  8:01 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: onguarde - @ 2009-07-22  2:48 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1331 bytes --]

Peace all!

I'm trying to make text below headlines indented as per the example quoted
below.

http://orgmode.org/manual/Clean-view.html#fnd-1
*
Indentation of text below headlines*
You may indent text below each headline to make the left boundary line up
with the headline, like

          *** 3rd level
              more text, now indented

A good way to get this indentation is by hand, and Org supports this with
paragraph filling, line wrapping, and structure
editing1<http://orgmode.org/manual/Clean-view.html#fn-1>preserving or
adapting the indentation as appropriate. A different approach
would be to have a way to automatically indent lines according to outline
structure by adding overlays or text properties. But I have not yet found a
robust and efficient way to do this in large files

[1 <http://orgmode.org/manual/Clean-view.html#fnd-1>] See also the variable
org-adapt-indentation.

http://osdir.com/ml/emacs-orgmode-gnu/2009-06/msg00132.html

If the variable `org-adapt-indentation' is non-nil, the entire text is
also indented so that it starts in the same column as the headline
\(i.e. after the stars).

.emacs config file
;(setf org-adapt-indentation nil)
(setf org-adapt-indentation t)

I tried setting it up it .emacs like so but it doesn't seem to work no
matter which I comment.

Am I missing something??

[-- Attachment #1.2: Type: text/html, Size: 1920 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Indentation of text below headlines
  2009-07-22  2:48 Indentation of text below headlines onguarde -
@ 2009-07-22  8:01 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2009-07-22  8:01 UTC (permalink / raw)
  To: onguarde -; +Cc: emacs-orgmode

onguarde - <onguarde@gmail.com> writes:

> .emacs config file
> ;(setf org-adapt-indentation nil)
> (setf org-adapt-indentation t)
>
> I tried setting it up it .emacs like so but it doesn't seem to work no
> matter which I comment.
>
> Am I missing something??

,----[ org-adapt-indentation ]
| Non-nil means, adapt indentation when promoting and demoting.
| When this is set and the *entire* text in an entry is indented, the
| indentation is increased by one space in a demotion command, and
| decreased by one in a promotion command.  If any line in the entry
| body starts at column 0, indentation is not changed at all.
| 
| This variable also influences how property drawers and planning
| information is inserted.  When t, these lines drawers will be inserted
| indented.  When nil, they will not be indented.
`----

The important sentence here is "If any line in the entry body starts at
column 0, indentation is not changed at all."

Maybe you have such a line in the subtree you try to indent?

-- 
 Bastien

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

end of thread, other threads:[~2009-07-22  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22  2:48 Indentation of text below headlines onguarde -
2009-07-22  8:01 ` Bastien

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