Given two separate emacs buffers, how can I combine them by joining the first rows of each, then the second, etc? I’ll probably need to add a space after each line in buffer #1 so I don’t end up with “a b1 2”, for example.
Buffer #1
a b a c c x
Buffer #2
1 2 5 4 3 2
Result
a b 1 2 a c 5 4 c x 3 2
You should be able to use rectangles to do this. Just copy the contents of buffer 2, and then rectangle-yank (C-x r y) them into buffer 1, with the point one space to the right of ‘b’ in the first line.