From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Arver Subject: Re: indentation for section headings vs bulleted lists Date: Fri, 18 Feb 2011 18:46:57 -0800 Message-ID: <20110219024657.GB5405@aether.rnxn4ps> References: <20110218063938.GA11859@aether.rnxn4ps> <4d5eb801.2945960a.2aa5.ffff83d7@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pqcqd-0006fI-Rs for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 21:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pqcqc-0005CE-EC for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 21:47:03 -0500 Received: from mail-gw0-f41.google.com ([74.125.83.41]:61982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pqcqc-0005C7-3d for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 21:47:02 -0500 Received: by gwaa12 with SMTP id a12so46918gwa.0 for ; Fri, 18 Feb 2011 18:47:01 -0800 (PST) Content-Disposition: inline In-Reply-To: <4d5eb801.2945960a.2aa5.ffff83d7@mx.google.com> 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: Darlan Cavalcante Moreira Cc: emacs-orgmode@gnu.org On Fri, Feb 18, 2011 at 03:18:38PM -0300, Darlan Cavalcante Moreira wrote: > > In fact, lists are indented like this, but indentation has meaning. > > I remember some recent changes announced here in the mailing list to how > lists are handled in org that made lists more powerful. It seems now that > if some text is part or not of the list is controlled by > indentation. Therefore, if you write > #+begin_src org > - blah blah blah blah > bleh bleh bleh bleh > blih blih blih blih > #+end_src > then "bleh bleh bleh bleh" is part of the list (as if it were in the same > line of "blah blah blah blah"), but not "blih blih blih blih". You can test > this by exporting and seeing the result. > I think I failed to explain the problem more accurately. In my original post, I stated the following behavior: * blah blah blah blah blah blah blah blah blah blah blah blah ** blah blah blah blah blah blah blah blah blah blah blah blah - blah blah blah blah blah blah blah blah blah blah blah blah - blah blah blah blah blah blah blah blah blah blah blah blah In the above example, there are *only* 4 physical lines of text. That is, there are only 4 newline characters in the actual text file. The #+STARTUP: indent property, from what I understand, merely takes the 4 actual lines and "soft wraps" them intelligently, so as to create a series of *fake* newlines and indents, to give the illusion of multiple, neatly-indented lines. My problem was that org-mode handles section headings (*) properly, but not bulleted list items (-) for some reason, choosing to indent on the location of the bullet (-) itself, and not the beginning of the actual leading text. I.e., instead of - blah blah blah blah <--- a *single* line blah blah blah blah blah blah blah blah - blah blah blah blah <--- another single line blah blah blah blah blah blah blah blah I want org-mode to indent it like this: - blah blah blah blah blah blah blah blah blah blah blah blah - blah blah blah blah blah blah blah blah blah blah blah blah Again, this is a soft wrap issue. I'll try to use the latest git version of org-mode and see if that helps. -Linus