Ihor Radchenko <[email protected]> writes:

I am struggling to understand how the error could happen in this
scenario. Are you sure that it is still related to xclip-mode? Does it
go away if you disable it? If yes, could you provide the full backtrace
you are seeing if you do M-x toggle-debug-on-error?

Any update here?

Hello Ihor, thank you so much for not leaving this issue unattened, I didn't forget it either :-) it's just that I can't make head or tail of it.

I've tried once again using either Org mode version 9.7.11 (shipped with emacs 30.2) and cloning https://github.com/bzg/org-mode at commit def8e57 (~2 months old but should be enough). The first is still broken (as expected, it's from 5 months ago), the latter seems now to work.

Just for adding context, when using the Emacs 30.2 version and enabling toggle-debug-on-error in the *Messages* buffer I only see:

     Copied: Subtree(s) with 85 characters
     org-paste-subtree: The kill is not a (set of) tree(s).  Use ‘C-y’ to yank 
anyway

Not very useful. I've bisected again my configuration and confirm that disabling xclip-mode solves the issue (or using that workaround described before).

Here's again the file I use to test refiling:

--8<---------------cut here---------------start------------->8---
;; (setq org-refile-targets '((nil :maxlevel . 6)))

* Tasks
** Entertainment
*** Watch CCC talks
*** Play tabletop games
** Duties
*** Clean room
*** Mount frame
** Groceries
*** Bread
*** Nutella
*** Veggies
* TODOs
** File an orgmode bug
--8<---------------cut here---------------end--------------->8---

I think we can probably mark this as resolved and call it a day. I will keep monitoring this behaviour because I am not completely sure it's gone. Sometimes I get strange behaviours but testing on two different Orgmode is not very easy (with .elc caching and all sometimes I'm not sure about which version I am really using).

Thanks for your support.

Reply via email to