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: Refile clear-cache after refiling to new headline?
Date: Fri, 9 Mar 2012 10:44:59 -0600	[thread overview]
Message-ID: <CAC=HedAsdyBZt0_j_V8ZK0XtPco7ORH98GaF2B-7DTNmYWanEg@mail.gmail.com> (raw)

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

             reply	other threads:[~2012-03-09 16:45 UTC|newest]

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

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=HedAsdyBZt0_j_V8ZK0XtPco7ORH98GaF2B-7DTNmYWanEg@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).