emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nathan Neff <nathan.neff@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Refile clear-cache after refiling to new headline?
Date: Fri, 23 Mar 2012 15:43:09 -0700	[thread overview]
Message-ID: <CAC=HedAS2-HApZvmzCf79n7Jwf7KQyXUJgcEQ4fz0THKX+EwYA@mail.gmail.com> (raw)
In-Reply-To: <CAC=HedAsdyBZt0_j_V8ZK0XtPco7ORH98GaF2B-7DTNmYWanEg@mail.gmail.com>

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

      reply	other threads:[~2012-03-23 22:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-09 16:44 Refile clear-cache after refiling to new headline? Nathan Neff
2012-03-23 22:43 ` Nathan Neff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAC=HedAS2-HApZvmzCf79n7Jwf7KQyXUJgcEQ4fz0THKX+EwYA@mail.gmail.com' \
    --to=nathan.neff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).