How do I cut and paste between different files using emacs?

Posted by JStarx on Super User See other posts from Super User or by JStarx
Published on 2012-03-21T22:25:49Z Indexed on 2012/03/21 23:33 UTC
Read the original article Hit count: 143

Filed under:
|
|

I'm running OSX 10.6.8. Lets say I have two terminal windows open and in each window I begin editing a different file using emacs. In the first file I select some text and then copy it (M-w), and in the second file I then try and paste it (C-y). I thought this would paste what I copied from the other file but instead I get the error message "previous command was not a yank".

Those commands work just fine for copying and pasting within a single file, how do I copy and paste between different files?

© Super User or respective owner

Related posts about osx

Related posts about emacs