emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Refile clear-cache after refiling to new headline?
@ 2012-03-09 16:44 Nathan Neff
  2012-03-23 22:43 ` Nathan Neff
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Neff @ 2012-03-09 16:44 UTC (permalink / raw)
  To: emacs-orgmode

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.  I accept.

Then, I refile another note to foo.org/foo

foo.org/foo appears as the default refile location in the mini-buffer.
So far so good.  I press Enter.

But now, I'm prompted again to create "foo" headline.  I 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.  Am I just imagining things?

Thanks,
-Nate

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Refile clear-cache after refiling to new headline?
  2012-03-09 16:44 Refile clear-cache after refiling to new headline? Nathan Neff
@ 2012-03-23 22:43 ` Nathan Neff
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Neff @ 2012-03-23 22:43 UTC (permalink / raw)
  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 <nathan.neff@gmail.com> 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.  I 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.  I press Enter.
>
> But now, I'm prompted again to create "foo" headline.  I 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.  Am I just imagining things?
>
> Thanks,
> -Nate

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-23 22:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-09 16:44 Refile clear-cache after refiling to new headline? Nathan Neff
2012-03-23 22:43 ` Nathan Neff

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).