I frequently extract a rectangle of text from a buffer, but then find I want to yank the text as if it was not a rectangle. Is there a way to add the current killed rectangle to the kill ring?
The GNU Emacs Manual has this to say:
“Killing” a rectangle is not killing in the usual sense; the rectangle is not stored in the kill ring, but in a special place that only records the most recent rectangle killed. This is because yanking a rectangle is so different from yanking linear text that different yank commands have to be used. Yank-popping is not defined for rectangles.
However, I can basically get the behavior I want with
M->go to end of buffer
C-x r yyank rectangle
C-x C-xexchange point and mark (selects newly-yanked lines)
C-wkill the selection to the kill ring
Is there a better way to turn a killed rectangle into a kill-ring entry?