3

Impulsive saving. I just cut a portion of newly written code (not committed), saved the file as a reflex, and accidentally closed emacs instead of switching window.

The environment should have had the cut in its clipboard, but nope. I should have a history of autosaves, but that doesn't seem to work as I expected.

Binding C-x C-c to null again :(
I have work to do on my .emacs.

Comments
  • 0
    What environment are you in? If you're on unix/linux, did you try and paste into something with the middle mouse button?

    There are two clipboards; so opening a text editor and CTRL-V might not paste what emacs cut. In that case, the middle mouse button may work.
  • 0
    Usually ctrl+v pastes what I killed with emacs, but not there. But there was a couple of minutes of swearing before I tested this, maybe I copied something else.
    Linux with xmonad. I'll try and see if I can get some kind of kill-ring in the environment as well. I did try to yank in a reopened emacs, nothing.
  • 0
    I wonder of somehow the environment's clipboard interaction with emacs's doesn't require emacs to be running 🤔
    I need to experiment.
Add Comment