I had this once upon a time but I have misplaced the bit that did it. In an arbitrary file at point I want to make an external file orgmode link that sticks around long enough to paste elsewhere. I am sure someone did this before as I used to have it. But alas, I have misplaced it.

  • 1
    You don't mean org-store-link, org-insert-link? What do you mean by link that sticks around long enough to paste elsewhere?
    – theldoria
    Dec 1, 2016 at 22:06
  • Exactly. I had such a thing once upon a time that I saw on one such emacs list as this. But I have misplaced it. One command created the link at the point in the file where my cursor was. Then I would move to my org file to paste it in and be prompted to chose which with the default being the most recent. I would get a prompt to give it a label (second part of mypellink). Dec 14, 2016 at 2:42

1 Answer 1


Use org-store-link to store the position of your current emacs buffer file and in your org file org-insert-link to insert the stored link. This prompts you with a selection of links and a query for the description to insert.

  • It is often recommended to bind org-store-link to C-c l, since org-insert-link is bound to C-c C-l by default. Dec 14, 2016 at 9:34
  • Thanks! And here I was thinking it was more complicated. Dec 17, 2016 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.