Emacs copy and paste

Today I got sick of not being able to sanely copy and paste between Acrobat Reader and Emacs under Linux (Debian Etch + Gnome). The “automatic-copy” from selecting does not happen when in Acrobat, and the “Ctrl+V” version of paste doesn’t work in Emacs. This means it’s impossible to copy something from Acrobat and paste it in Emacs. My (pathetic) work-around is generally to paste into a draft email in Mozilla Thunderbird since it plays nicely with both types of copy-and-paste. Well, there’s a solution:

Add this to your .emacs:
(setq x-select-enable-clipboard t)

I take it back this doesn’t work consistently either. I hate computers.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s