org-cliplink icon indicating copy to clipboard operation
org-cliplink copied to clipboard

org-cliplink function inserts result after the current position of the cursor

Open rexim opened this issue 10 years ago • 0 comments

Any platform and Emacs version.

Steps to reproduce:

  1. Copy a URL to the clipboard
  2. Make M-x org-cliplink
  3. Before the request is finished move the cursor somewhere

Observed: an org-mode link is inserted right after the current position of the cursor Expected: the org-mode link should be inserted right after the position from where the org-cliplink function was invoked

I believe that the expected behaviour gives more benefits from the asynchronous nature of the org-cliplink function. It allows us to cliplink a heavy request and continue to work on something else moving the cursor around.

Also, fixing this bug may cause some compatibility problems with the code that depends on the incorrect behaviour, but I hope there is not so much of such code in the user configs. :stuck_out_tongue_winking_eye:

rexim avatar Feb 23 '15 19:02 rexim