[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make org-refile auto-recache when needed?
From: |
Ihor Radchenko |
Subject: |
Re: make org-refile auto-recache when needed? |
Date: |
Sun, 02 Aug 2020 16:48:44 +0800 |
Seconding this. Ideally, refile should also try to perform refiling
after rebuilding the cache.
Best,
Ihor
Adam Spiers <orgmode@adamspiers.org> 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 `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 it did that then I struggle to imagine why
> anyone would ever *not* want the cache enabled, because in the worst
> case org-refile would just behave the same as when the cache is
> disabled, and in the best case it would perform a lot faster.
>
> Cheers,
> Adam
>
--
Ihor Radchenko,
PhD,
Center for Advancing Materials Performance from the Nanoscale (CAMP-nano)
State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong
University, Xi'an, China
Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg
- Re: make org-refile auto-recache when needed?,
Ihor Radchenko <=