I see, Jordan has already answered a similar issue here - http://emacs.stackexchange.com/questions/13194/how-can-i-clear-the-contents-of-the-clipboard-before-calling-clipboard-kill-regi. It works with emacs gui but not with emacs in terminal...
– SaravanaJul 31 '15 at 13:58
1
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 ModiJul 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
– SaravanaJul 31 '15 at 14:54
kill-new
works fine for me for copying stuff to system clipboard withx-select-enable-clipboard
andx-select-enable-primary
set tot
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:51package-install xclip
and(xclip-mode 1)
made it.. you guys are making my life beautiful.... on ubuntu 14.04 – Saravana Jul 31 '15 at 14:54