GNU bug report logs -
#13312
24.3.50; delete selection mode not killing on overwrite
Previous Next
Reported by: Tony Day <tonyday567 <at> gmail.com>
Date: Mon, 31 Dec 2012 01:14:01 UTC
Severity: wishlist
Tags: moreinfo
Found in versions 24.1, 24.3.50
Fixed in version 24.4
Done: Juri Linkov <juri <at> jurta.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > I don't think this should be on the wishlist. It's a clear bug.
> >
> > (put 'ANY-COMMAND 'delete-selection 'kill) should kill the
> > text in the active region. It does not do so in the case
> > where ANY-COMMAND is `self-insert-command'. A bug.
> >
> > The fact that "usually the delete text is still available from the
> > "PRIMARY" selection" is irrelevant. (Not to mention that there is
> > no "PRIMARY" selection on some platforms.)
> >
> > Putting `kill' as the property value should kill the text, pure
> > and simple.
>
> There is no bug. In delete-selection-mode with overwrite-mode
> selecting a region and typing a self-inserting key deletes the
> selected region and replaces it with the typed key.
Did you read the bug description and the associate StackOverflow
question? The bug is that when you put `kill' as the
`delete-selection' property value on `self-insert-command' the
region is not killed - it is not added to the `kill-ring'. And
the first char to be self-inserted is not inserted.
This is not about the out-of-the-box behavior of self-inserting
in delete-selection mode, i.e., with the property value having
its default value.
This bug report was last modified 11 years and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.