From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas <n.goaziou@gmail.com>
Cc: Linus Arver <linusarver@gmail.com>,
emacs-orgmode@gnu.org, Bastien <bastien.guerry@wikimedia.fr>
Subject: Re: Re: indentation for section headings vs bulleted lists
Date: Sun, 20 Feb 2011 13:39:20 +0100 [thread overview]
Message-ID: <C066F2AA-7750-482F-8825-46B37BAACA81@gmail.com> (raw)
In-Reply-To: <87d3mmzyn4.fsf@gmail.com>
On Feb 20, 2011, at 1:19 PM, Nicolas wrote:
> Hello,
>
> Linus Arver <linusarver@gmail.com> writes:
>
>> Again, I'm very curious why org-mode's indenting code treats bulleted
>> lists differently than section headings.
>
> This is due to a combination of org-indent-mode and visual-line-mode.
> Actually, it's a a two-parts problem.
>
> Firstly, org-indent-mode only works by sections. That means the whole
> section gets the same indent prefix, whatever can be inside. Thus,
> lists
> cannot be treated differently for now.
>
> Secondly, org-indent-mode is not indenting anything: it only fakes it.
> While this is fine for headings, this causes problems with lists,
> which
> are depending on real indentation.
>
> Anyway, I'm on it. I'll post a patch as soon as I find and implement a
> decent way to solve this.
Hi Nicolas,
while it might be posible to add additional line-prefix stuff to
plain lists, you need to be careful about performance.
I wrote several (I believe 4) different versions of
org-indent-mode before behavior was reasonably consistent
and fast enough.
Cheers
- Carsten
next prev parent reply other threads:[~2011-02-20 12:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-18 6:39 indentation for section headings vs bulleted lists Linus Arver
2011-02-18 8:52 ` Bastien
2011-02-19 2:34 ` Linus Arver
2011-02-19 9:35 ` Bastien
2011-02-20 7:22 ` Linus Arver
2011-02-20 12:19 ` Nicolas
2011-02-20 12:39 ` Carsten Dominik [this message]
2011-02-20 13:27 ` Nicolas
2011-02-20 19:51 ` Linus Arver
2011-02-20 23:26 ` [PATCH] " Nicolas
2011-02-21 1:04 ` Linus Arver
2011-02-21 10:59 ` Giovanni Ridolfi
2011-02-21 17:32 ` Nicolas
2011-02-18 18:18 ` Darlan Cavalcante Moreira
2011-02-19 2:46 ` Linus Arver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C066F2AA-7750-482F-8825-46B37BAACA81@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=bastien.guerry@wikimedia.fr \
--cc=emacs-orgmode@gnu.org \
--cc=linusarver@gmail.com \
--cc=n.goaziou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).