From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nathan Neff Subject: Re: Refile clear-cache after refiling to new headline? Date: Fri, 23 Mar 2012 15:43:09 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45519) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBDCU-0004LW-CY for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 18:43:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SBDCS-00013k-Ku for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 18:43:13 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:48059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SBDCS-0000wc-BC for emacs-orgmode@gnu.org; Fri, 23 Mar 2012 18:43:12 -0400 Received: by lagz14 with SMTP id z14so3327751lag.0 for ; Fri, 23 Mar 2012 15:43:09 -0700 (PDT) In-Reply-To: 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: emacs-orgmode I'd like to bump this thread -- it seems like this is an error/bug with refiling. On Fri, Mar 9, 2012 at 8:44 AM, Nathan Neff wrote: > I have org-refile-use-cache set. > > I refile a headline to foo.org/foo which doesn't exist yet. > > I'm prompted to create "foo" headline. =A0I accept. > > Then, I refile another note to foo.org/foo > > foo.org/foo appears as the default refile location in the mini-buffer. Note that I see "Refile subtree 'foo' to foo.org//foo" in the prompt -- the double-slashes look odd. > So far so good. =A0I press Enter. > > But now, I'm prompted again to create "foo" headline. =A0I accept, and > now foo.org has two "foo" headlines. > > Is this correct behavior? > > Of course, if I run C-0 C-x C-w then the foo headline is accepted > without a prompt. > > It seems like org-mode didn't need to have the cache refreshed if > you added a new headline by using org-refile. =A0Am I just imagining thin= gs? > > Thanks, > -Nate