emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] adapted org-flag-drawer to hide newlines of consecutive drawers


From: Nicolas Goaziou
Subject: Re: [O] adapted org-flag-drawer to hide newlines of consecutive drawers to save lines
Date: Wed, 13 Nov 2013 12:24:51 +0100

Bastien <address@hidden> writes:

> Is the cache activated by default?

Yes, it is.

There's an emergency variable, `org-element-use-cache' to disable it,
but it should be used for debugging purpose only. From the user point of
view, if the cache appears to be corrupted due to a bug, it may be
simpler to call `org-element-cache-reset'.

> If so, does it come with some inconveniency?

As every cache, you pay the full price the first time you fill it. For
example, there may be a small overhead when opening an Org file.

Most editing operations only remove the current element from the cache,
but some of them (mostly operations on blocks and drawers boundaries)
delete larger parts of it. As such, these are more expensive than the
average.

> If not, should we simply activate it all the time?

We really should.


Regards,

-- 
Nicolas Goaziou



reply via email to

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