Hello,
I'm starting learning about org-refile and org-capture.
Using the following test file, I try to move items here and there.
--8<---------------cut here---------------start------------->8---
;; (setq org-refile-targets '((nil :maxlevel . 6)))
* TEST
** Second level 1
*** task for Second level 1
** Second level 2
*** task for Second level 2
** Second level 3
** Third level 0
*** task for third level 0
*** Third level 0
* TEST1
** Second level TEST1 3
** new 2nd level
** Second level 0
--8<---------------cut here---------------end--------------->8---
Sometimes the item ends up where I choose, but most of the times is doesn't. Sometimes unrelated
entries are deleted (!), heading levels are changed (for example a *** becomes a **), other times
the command fails and I read an unclear error message in *Messages*:
--8<---------------cut here---------------start------------->8---
Copied: Subtree(s) with 4 characters
org-paste-subtree: The kill is not a (set of) tree(s). Use ‘C-y’ to yank anyway
--8<---------------cut here---------------end--------------->8---
I can reproduce some of this strangeness with emacs -Q so I /think/ my config
should be fine.
I'm really sorry that I cannot be more specific, this behaviour is baffling and I can't produce a
test case consistently.
These are my org-mode customizations, just in case anyone wants to have a look:
https://git.sr.ht/~jman/dotfiles/tree/master/item/emacs/dot-config/emacs/org-mode.el
I'm sure that org-refile works just fine for everyone else. Does anyone with more experience can
help me debugging or understanding what's happening?
Thanks!