emacs-orgmode
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]