From mboxrd@z Thu Jan 1 00:00:00 1970 From: onguarde - Subject: Indentation of text below headlines Date: Wed, 22 Jul 2009 10:48:39 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0032533447==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTRst-00067W-Qb for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 22:48:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTRso-00067K-Ci for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 22:48:46 -0400 Received: from [199.232.76.173] (port=35254 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTRso-00067H-74 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 22:48:42 -0400 Received: from mail-pz0-f202.google.com ([209.85.222.202]:52512) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTRsn-0002fI-O2 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 22:48:42 -0400 Received: by pzk40 with SMTP id 40so2414742pzk.14 for ; Tue, 21 Jul 2009 19:48:40 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0032533447== Content-Type: multipart/alternative; boundary=000e0cd14940949000046f426852 --000e0cd14940949000046f426852 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 editing1preserving 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 ] 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?? --000e0cd14940949000046f426852 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Peace all!

I'm trying to make text below headlines indented as p= er the example quoted below.

http://org= mode.org/manual/Clean-view.html#fnd-1

Indentation of text belo= w headlines

You may indent text below each headline to make the left boundary line up with the headline, like
          *** 3rd level
more t= ext, now indented
A good way to get this indentation is by ha= nd, and Org supports this with paragraph filling, line wrapping, and structure editing1 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 overlay= s or text properties. But I have not yet found a robust and efficient way to do this in large files

[1] See also the variable org-adapt-indentation.

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

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 n= o matter which I comment.

Am I missing something??
--000e0cd14940949000046f426852-- --===============0032533447== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0032533447==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Indentation of text below headlines Date: Wed, 22 Jul 2009 10:01:28 +0200 Message-ID: <87prbtjgdj.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTWlk-0006K7-CR for emacs-orgmode@gnu.org; Wed, 22 Jul 2009 04:01:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTWlf-0006JR-Uy for emacs-orgmode@gnu.org; Wed, 22 Jul 2009 04:01:44 -0400 Received: from [199.232.76.173] (port=56906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTWlf-0006JK-IA for emacs-orgmode@gnu.org; Wed, 22 Jul 2009 04:01:39 -0400 Received: from mx20.gnu.org ([199.232.41.8]:14387) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTWle-00017v-T0 for emacs-orgmode@gnu.org; Wed, 22 Jul 2009 04:01:39 -0400 Received: from rv-out-0708.google.com ([209.85.198.250]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTWld-00087s-ML for emacs-orgmode@gnu.org; Wed, 22 Jul 2009 04:01:38 -0400 Received: by rv-out-0708.google.com with SMTP id f25so9366rvb.6 for ; Wed, 22 Jul 2009 01:01:36 -0700 (PDT) In-Reply-To: (onguarde@gmail.com's message of "Wed, 22 Jul 2009 10:48:39 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: onguarde - Cc: emacs-orgmode@gnu.org onguarde - 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