From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: Refile target caching Date: Tue, 18 May 2010 02:14:43 +0200 Message-ID: References: <61308330-4F3C-4E7C-AE74-D75B3B8B87FB@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33352 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEAT1-0007EV-7t for emacs-orgmode@gnu.org; Mon, 17 May 2010 20:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEASw-0006PD-5m for emacs-orgmode@gnu.org; Mon, 17 May 2010 20:15:27 -0400 Received: from lo.gmane.org ([80.91.229.12]:47515) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEASv-0006P1-Ua for emacs-orgmode@gnu.org; Mon, 17 May 2010 20:15:22 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OEASr-0007nW-HM for emacs-orgmode@gnu.org; Tue, 18 May 2010 02:15:17 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2010 02:15:17 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2010 02:15:17 +0200 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: emacs-orgmode@gnu.org Carsten Dominik writes: > 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 On the subject of refile, I frequently refile C-c C-w from the new item buffer in which case the item is correctly refiled but the new item buffer empties and remains open. Is there a way to configure it that after the C-c C-w the new org item buffer closes?