Re: make org-refile auto-recache when needed?

2020-09-05 Thread Bastien
Hi Adam, Adam Spiers writes: > I don't see why we need to be able to rebuild it reliably. Can't we > just try, then if it succeeds, refile as normal, and if it fails, then > output an error saying that the cache rebuild failed and making a > helpful suggestion of what to try next? Maybe. Plea

Re: make org-refile auto-recache when needed?

2020-09-05 Thread Adam Spiers
Hi Bastien, On Fri, Sep 04, 2020 at 04:12:08PM +0200, Bastien wrote: Adam Spiers 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

Re: make org-refile auto-recache when needed?

2020-09-04 Thread Bastien
Hi Adam, Adam Spiers 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 >

Re: make org-refile auto-recache when needed?

2020-08-02 Thread Samuel Wales
i recall wanting this at some point also, and also did not figure out why one would not want it. perhaps it thinks you will use an alternate to refiling if you know it will be too slow. but it's worth keeping in mind that caching has, or had, bugs. in particular, if refile targets are filtered [

Re: make org-refile auto-recache when needed?

2020-08-02 Thread Ihor Radchenko
Seconding this. Ideally, refile should also try to perform refiling after rebuilding the cache. Best, Ihor Adam Spiers writes: > Hi all, > > 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 `or

make org-refile auto-recache when needed?

2020-07-15 Thread Adam Spiers
Hi all, 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 wh