[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] indentation for section headings vs bulleted lists
From: |
Linus Arver |
Subject: |
Re: [Orgmode] indentation for section headings vs bulleted lists |
Date: |
Fri, 18 Feb 2011 18:46:57 -0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
- Re: [Orgmode] indentation for section headings vs bulleted lists, (continued)
- [Orgmode] Re: indentation for section headings vs bulleted lists, Linus Arver, 2011/02/20
- [Orgmode] Re: [PATCH] indentation for section headings vs bulleted lists, Nicolas, 2011/02/20
- [Orgmode] Re: [PATCH] indentation for section headings vs bulleted lists, Linus Arver, 2011/02/20
- Re: [Orgmode] Re: [PATCH] indentation for section headings vs bulleted lists, Giovanni Ridolfi, 2011/02/21
- [Orgmode] Re: [PATCH] indentation for section headings vs bulleted lists, Nicolas, 2011/02/21
Re: [Orgmode] indentation for section headings vs bulleted lists, Darlan Cavalcante Moreira, 2011/02/18
- Re: [Orgmode] indentation for section headings vs bulleted lists,
Linus Arver <=