emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C-d deleting region considered harmful


From: Chong Yidong
Subject: Re: C-d deleting region considered harmful
Date: Mon, 20 Sep 2010 12:11:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Chong Yidong <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>> I don't know what was Chong's motivation for it, but one reason is
>> that the `delete' key is often remapped to C-d.
>
> Indeed.  I suppose we could get away with mapping C-d to delete-char and
> [delete] to delete-forward-char.  The main disadvantage would be the
> breaking of the equivalence of C-d and DEL.

It is also worth noting that one of the motivations for making deletion
characters act on the region was to eliminate mouse-region-delete-keys,
and hence to avoid treating "regions made with the mouse" as a special
case.

[delete] was in mouse-region-delete-keys, but not C-d.  So, if C-d
deleting the active region is especially bothersome, I think it is OK to
decouple [delete] and C-d.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]