Next: , Previous: Clearing cells, Up: The Basics

2.5 Copy, cut, and paste

The copy functions work on rectangular regions of cells. You can paste the copies into non-SES buffers to export the print text.

M-w
[copy]
[C-insert]
Copy the highlighted cells to kill ring and primary clipboard (kill-ring-save).
[drag-mouse-1]
Mark a region and copy it to kill ring and primary clipboard (mouse-set-region).
[M-drag-mouse-1]
Mark a region and copy it to kill ring and secondary clipboard (mouse-set-secondary).
C-w
[cut]
[S-delete]
The cut functions do not actually delete rows or columns—they copy and then clear (ses-kill-override).
C-y
[S-insert]
Paste from kill ring (yank). The paste functions behave differently depending on the format of the text being inserted:
[paste]
Paste from primary clipboard or kill ring (clipboard-yank).
[mouse-2]
Set point and paste from primary clipboard (mouse-yank-at-click).
[M-mouse-2]
Set point and paste from secondary clipboard (mouse-yank-secondary).
M-y
Immediately after a paste, you can replace the text with a preceding element from the kill ring (ses-yank-pop). Unlike the standard Emacs yank-pop, the SES version uses undo to delete the old yank. This doesn't make any difference?