From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: adapted org-flag-drawer to hide newlines of consecutive drawers to save lines Date: Wed, 13 Nov 2013 12:24:51 +0100 Message-ID: <87mwl8ee7w.fsf@gmail.com> References: <87iovx7hbx.fsf@univie.ac.at> <87r4alqoml.fsf@bzg.ath.cx> <87y54semrn.fsf@gmail.com> <87fvr03cq3.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgYYr-0001VK-6K for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 06:24:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgYYl-0007vH-SD for emacs-orgmode@gnu.org; Wed, 13 Nov 2013 06:24:41 -0500 In-Reply-To: <87fvr03cq3.fsf@bzg.ath.cx> (Bastien's message of "Wed, 13 Nov 2013 09:52:36 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org, Gregor Kappler Bastien 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