Subject: bug#6348: 24.0.50; delsel mode (or register insert) deletes text too soon.

From: Juri Linkov <[email-masked]>
Date: Fri, 04 Jun 2010 19:43:10 +0300

> % emacs -Q
> M-x delete-selection-mode <return>
> C-x h C-x r i
>
> Notice that the whole text is deleted when i is pressed.  If you then
> press a key, say a, it states that register does not conatin text, which
> is correct.  But the text of the buffer is deleted, even though
> nothing replaced it.  Undo gets you the text back, but it is
> inconvinient.

What do you need undo when after deleting the selected region,
you can type again `C-x r i' with the correct key and get the
same result as you wanted before typing an incorrect key
(i.e. the region gets deleted and text from the correct register
still inserted into the buffer)?

-- 
Juri Linkov
http://www.jurta.org/emacs/