GNU bug report logs - #7260
24.0.50; DEL screwed up

Previous Next

Package: emacs;

Reported by: rms <at> gnu.org

Date: Thu, 21 Oct 2010 12:51:01 UTC

Severity: normal

Merged with 7235

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: rms <at> gnu.org
Cc: Lars Magne Ingebrigtsen <larsi <at> gnus.org>, emacs-devel <at> gnu.org, drew.adams <at> oracle.com, 7260 <at> debbugs.gnu.org
Subject: bug#7260: 24.0.50; DEL screwed up
Date: Sun, 24 Oct 2010 12:30:26 -0400
Richard Stallman <rms <at> gnu.org> writes:

>   It sounds rather odd to have `C-d' not delete the active region.  If
>   you (for instance) Shift-Right an area, and then press `DEL', I think
>   most people would expect the region you've just selected to be deleted.
>
> After shift-arrows is a special case when it might be proper for DEL
> and C-d to delete the region.

This might be OK, and indeed I think it should at least be an option.
One problem is that it can be confusing.  Currently, temporarily active
regions (i.e. shift-selected and/or mouse-selected) behave as much like
ordinary active regions as possible, with respect to user commands.  If
we make DEL behave differently for one type of region, what's the
justification for limiting ourselves to DEL?

For instance, in other X applications, shift-selecting a region and
typing a self-inserting character replaces the region.  By this
reasoning, shouldn't we enable Delete Selection mode style behavior for
shift-selected regions?




This bug report was last modified 13 years and 155 days ago.

Previous Next


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