I found this odd primitive transpose-regions (which has not seen much use anywhere). I tried to use it a bit and found the annoying error when one of the two regions is empty. I wonder if the attached patch makes sense. Thanks. Leo