mwolson.org Blog - /Tech

Tue, 30 Sep 2008

Emacs Clipboard manager

I had an idea for a new Emacs mode yesterday while talking with a coworker: a clipboard manager for Emacs. Think M-x browse-kill-ring, but able to pick up on yanks and kills made by other X programs, and set the current X (and Emacs) selection. An initial search didn't yield anything similar to this, so it might be interesting to implement — don't think I'll do it myself, though, since XFCE's Clipman is good enough for me.

Posted by mnp at Tue Sep 30 12:52:42 2008

Won't take much.  Here's a bit:

(apply 'insert (mapcar
(lambda (n) (x-get-cut-buffer n))
'(0 1 2 3 4 5 6 7)))

Add a comment

Name: 
Your email address: 
Your website: 
 
Comment: