Red Green Repeat Adventures of a Spec Driven Junkie

Graphical Emacs & Clipboard Managers

When running graphical Emacs, there are interaction changes that are different than running terminal Emacs.

One of these interaction differences is how Emacs (or the operating system) deals with the clipboard - especially clipboard managers!

I never realized how quickly I fill a clipboard manager’s copy buffer when using Emacs. I flood the copy buffer so quickly that I basically can’t see what I copied before - this is a screenshot of what fills the clipboard manager just by writing this article.

Emacs filling Clipboard Buffer

Insane, right?? Copy/cutting happens so naturally in Emacs that I only notice this when I run graphical Emacs.

If your clipboard manager has a feature to “ignore applications” - I would recommend adding Emacs to that list. When I use Emacs in graphical mode, I generate copy/cut events to render the clipboard manager useless, even if there’s a “search clipboard” feature.

Looking at the items in the buffer, I guess every sequential cut/copy I do, Emacs append the result to previous result.

🤔