From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Refile target caching Date: Mon, 17 May 2010 20:14:12 +0200 Message-ID: <61308330-4F3C-4E7C-AE74-D75B3B8B87FB@uva.nl> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34099 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OE4pe-0004WD-Dy for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:14:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OE4pb-00067m-JW for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:14:25 -0400 Received: from postduif.ic.uva.nl ([145.18.40.180]:38582) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OE4pb-00066u-Bi for emacs-orgmode@gnu.org; Mon, 17 May 2010 14:14:23 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose , Samuel Wales Cc: mailing-list-org-mode Mode Hi Sebastian, hi Samuel, I remember that both of you have in the past reported that refiling has a long startup time because of target collection. I have now built a cache for refile targets and would like you to try it out. (setq org-refile-use-cache t) This will speed up refile target collection for the second and further instance. If you are moving or adding entries that are targets themselves, that chace needs to be cleared with prefix arg 0 (zero), i.e. `C-0 C-c C-w' or, if you prefer, with a triple C-u prefix. Samuel, note that this only speeds up target collection - it does nothing to the overhead added by ido - so we will have to see how much this helps for your use-case. - Carsten