GNU bug report logs -
#6348
24.0.50; delsel mode (or register insert) deletes text too soon.
Previous Next
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
Message #11 received at 6348 <at> debbugs.gnu.org (full text, mbox):
Juri Linkov skrev 2010-06-04 18.43:
>> % 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)?
>
Well, sometimss that works. But sometimss I think I have text in a register,
but I have overwritten it with something else, or after C-x r i I descide to
not do it that way and type C-g. Or I see thst the selection is just not the
right selection to replace and want to abort the command for that reason.
The point is that C-x r i C-g should leave stuff as they where, like they do
with delsel off.
Jan D.
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.