1

This question already has an answer here:

How can i copy the absolute path of the current open buffer to the system clipboard (i.e. ctrl + shift + v) and not (ctrl + y)

There are many solutions available for such copy, 1 and 2 but all of them doesn't work outside the emacs application.

marked as duplicate by Kaushal Modi, Dan Jul 31 '15 at 15:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I see, Jordan has already answered a similar issue here - emacs.stackexchange.com/questions/13194/…. It works with emacs gui but not with emacs in terminal... – Madhavan Jul 31 '15 at 13:58
  • kill-new works fine for me for copying stuff to system clipboard with x-select-enable-clipboard and x-select-enable-primary set to t on RHEL 5.10. What is your OS? Also can you update your question as this is not specific to copying buffer file names? – Kaushal Modi Jul 31 '15 at 14:51
  • package-install xclip and (xclip-mode 1) made it.. you guys are making my life beautiful.... on ubuntu 14.04 – Madhavan Jul 31 '15 at 14:54
  • Actually this is the possible duplicate then: emacs.stackexchange.com/q/11018/115 – Kaushal Modi Jul 31 '15 at 14:57

Browse other questions tagged or ask your own question.