[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: indentation for section headings vs bulleted lists
From: |
Nicolas |
Subject: |
[Orgmode] Re: indentation for section headings vs bulleted lists |
Date: |
Sun, 20 Feb 2011 14:27:29 +0100 |
Hello,
Carsten Dominik <address@hidden> writes:
> while it might be posible to add additional line-prefix stuff to plain
> lists, you need to be careful about performance.
Yes, this is my main concern actually. When I speak about a "decent"
solution, I'm really thinking about a "sufficiently reactive" one,
provided such a thing exists.
As far as I can tell, line-prefix is fine as it is. Lists just need to
take it as real indentation before processing. Alas, wrap-prefix is the
real problem.
A solution would be to distinguish if org-indent-refresh-section is
called with point in a list or not. In the former case, it would skip
lists when changing warp-prefix in the section. In the latter situation,
it would only set warp-prefix for the list at point.
But then, hooks like org-after-demote-entry-hook would need to call
org-indent-refresh-section with an argument telling it to redefine
warp-prefix for everything in section, lists included. After all, a
small delay is acceptable for interactive use.
Does it sound "decent"?
Regards,
--
Nicolas
- [Orgmode] indentation for section headings vs bulleted lists, Linus Arver, 2011/02/18
- Re: [Orgmode] indentation for section headings vs bulleted lists, Bastien, 2011/02/18
- Re: [Orgmode] indentation for section headings vs bulleted lists, Linus Arver, 2011/02/18
- Re: [Orgmode] indentation for section headings vs bulleted lists, Bastien, 2011/02/19
- Re: [Orgmode] indentation for section headings vs bulleted lists, Linus Arver, 2011/02/20
- [Orgmode] Re: indentation for section headings vs bulleted lists, Nicolas, 2011/02/20
- Re: [Orgmode] Re: indentation for section headings vs bulleted lists, Carsten Dominik, 2011/02/20
- [Orgmode] Re: indentation for section headings vs bulleted lists,
Nicolas <=
- [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