Once again there was this situation where a colleague of mine said: "There should be an editor which does this and that...". About five minutes later I had a first naive implementation and about 30 minutes later the full library is there.
In this case the colleague wished he could select several lines which are not connected and the selection should stay visible. Then later he would insert the concatenation of all those selection at another position in the buffer.
So, here you go:
multiselect-insert-selectionwhich will concatenate all the selections in the order you made them ignoring the ordering within the buffer.
Get multiselect.el, put
into your init-file and maybe call
Or your own keybindings.