While it's certainly possible to program something to do that, there's
no reason not to be able to yank back previously killed text even if
you do some other edits after the kill.
Note that emacs does not define cut and paste operations, but similar killing and yanking, as the "Killing and Moving Text" section of the manual states:
In Emacs, “killing” means erasing text and copying it into the “kill
ring”. “Yanking” means bringing text from the kill ring back into the
buffer. (Some applications use the terms “cutting” and “pasting” for
similar operations.) The kill ring is so-named because it can be
visualized as a set of blocks of text arranged in a ring, which you can
access in cyclic order.
Subsection "Yanking" defines:
“Yanking” means reinserting text previously killed. The usual way to
move or copy text is to kill it and then yank it elsewhere.
‘C-y’
Yank the last kill into the buffer, at point (‘yank’).
‘M-y’
Replace the text just yanked with an earlier batch of killed text
(‘yank-pop’).
So what you can do is simply kill your text and yank it back (C-y
)
when you need it. If you have performed other kills in between, you
can use M-y
to replace the just yanked text with the previous in the
kill ring. Repeating M-y
will cycle through the kill ring, letting
you find the wanted block of previously killed text.
Of course the kill ring cannot grow indefinitely, but it defaults to
storing a maximum of 60 kills, wich is most probably much more than
you need, and can be changed:
The maximum number of entries in the kill ring is controlled by the
variable ‘kill-ring-max’. The default is 60. If you make a new kill
when this limit has been reached, Emacs makes room by deleting the
oldest entry in the kill ring.