I want to implement this binding
"\C-xk": kill-region # turn previous word into HTML/XML # opening and closing tag pair "\C-xh": "\e \eb\C-xk<\C-y>\e </\C-y>\C-x\C-x"
but it returns to the position were text was yanked for the second time after
</ instead of to the position between the tags, e.g.
I tried both functions at the command line with various texts and it seems that
set-mark value is reset by
Is it a bug or by design? For now I just added
\C-b\C-b at the end of the sequence.