[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: refiling heading onto itself
From: |
Ihor Radchenko |
Subject: |
Re: refiling heading onto itself |
Date: |
Thu, 11 May 2023 10:12:33 +0000 |
Ruijie Yu via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:
> ... (2) the completiong system shouldn't even provide
> "two" as a completion candidate.
Maybe. The current implementation of refile target selection is not
aware about the context. One might try to temporarily extend
`org-refile-target-verify-function', but we currently approach this
differently and check (in `org-refile') the selected refile target only,
throwing an error when attempting to refile into the child subtree.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>