From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Refile target caching Date: Tue, 18 May 2010 07:57:10 +0200 Message-ID: <63BDB24D-EAE7-454A-A598-461309D4F04D@gmail.com> References: <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=51965 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OELJJ-0003rn-DN for emacs-orgmode@gnu.org; Tue, 18 May 2010 07:50:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEGce-0001OF-SM for emacs-orgmode@gnu.org; Tue, 18 May 2010 02:52:48 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:55322) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEGce-0001NZ-7l for emacs-orgmode@gnu.org; Tue, 18 May 2010 02:49:48 -0400 Received: by wyb33 with SMTP id 33so244952wyb.0 for ; Mon, 17 May 2010 23:49:43 -0700 (PDT) In-Reply-To: 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: Richard Riley Cc: emacs-orgmode@gnu.org On May 18, 2010, at 2:14 AM, Richard Riley wrote: > 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? By "new item buffer", do you mean a remember buffer? Then: Just exit with `C-1 C-c C-c'. This will use refile to file the new entry, and it will remove the buffer. HTH - Carsten > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten