Now, imagine doing that while running a shell from #emacs.
Not only you can go back to whatever snipped you did, but you can paste it and go back and forth also *up* and *down* in the shell window (meaning, direction, not as in press up to repeat the last command!) and add whatever you need to the killring.
Now, that's powerful.
@jrss there are times when it just seems self evident that you should never leave Emacs.