emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Adam Spiers <orgmode@adamspiers.org>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: make org-refile auto-recache when needed?
Date: Fri, 04 Sep 2020 16:12:08 +0200	[thread overview]
Message-ID: <878sdpmy13.fsf@bzg.fr> (raw)
In-Reply-To: 20200715121721.v7f7shcjibfz53bm@gmail.com

Hi Adam,

Adam Spiers <orgmode@adamspiers.org> writes:

> I note that when org-refile-use-cache is enabled and the cache becomes
> stale, attempting to refile results in this error message (originating
> from `org-refile-check-position'):
>
>     Invalid refile position, please clear the cache with `C-0 C-c C-w' before refiling
>
> Is there any reason why it couldn't just automatically rebuild the
> cache when needed?  

If we can rebuild the cache for refile target in a reliable way, sure,
we should do this.  I had a quick look and this isn't straightforward,
so help is welcome.  I note the idea for after 9.4.

Thanks,

-- 
 Bastien


  parent reply	other threads:[~2020-09-04 14:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-15 12:17 make org-refile auto-recache when needed? Adam Spiers
2020-08-02  8:48 ` Ihor Radchenko
2020-08-02 20:32 ` Samuel Wales
2020-09-04 14:12 ` Bastien [this message]
2020-09-05 16:20   ` Adam Spiers
2020-09-06  5:09     ` Bastien

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=878sdpmy13.fsf@bzg.fr \
    --to=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@adamspiers.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).