Eric Abrahamsen <e...@ericabrahamsen.net> writes: > Another thing you can try is edebugging `org-capture-fill-template' and > stepping through it, and just see if anything weird happens. See the > Elisp manual for how to edebug, if you haven't before. > > Does it only happen for the "t" template? What's the "t" template look > like?
I've really just started with org mode and task capture; so far I've only used the default "todo" (t) template. Debugging the function, the "stall" happens on the indicated line below, the call to org-get-x-clipboard with the value 'SECONDARY [...] ;; Is the link empty? Then we do not want it... (v-a (if (equal v-a "[[]]") "" v-a)) (clipboards (remove nil (list v-i (org-get-x-clipboard 'PRIMARY) (org-get-x-clipboard 'CLIPBOARD) >>> (org-get-x-clipboard 'SECONDARY) <<< v-c))) [...] I've heard of primary and clipboard X11 selections, but not secondary. I found a web post[1] suggesting it's a "near-extinct" feature. If I comment out that line the delay vanishes. Footnotes: [1] https://sjohannes.wordpress.com/2010/02/28/what-is-the-x11-secondary-selection/ Allan