GNU bug report logs - #6348
24.0.50; delsel mode (or register insert) deletes text too soon.

Previous Next

Package: emacs;

Reported by: Jan Djärv <jan.h.d <at> swipnet.se>

Date: Fri, 4 Jun 2010 06:37:02 UTC

Severity: minor

Tags: wontfix

Found in version 24.0.50

Done: Jan Djärv <jan.h.d <at> swipnet.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: Jan Djärv <jan.h.d <at> swipnet.se>
Cc: 6348 <at> debbugs.gnu.org
Subject: bug#6348: 24.0.50; delsel mode (or register insert) deletes text too soon.
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/




This bug report was last modified 14 years and 337 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.