[Top][All Lists]
[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.
- C-d deleting region considered harmful, Miles Bader, 2010/09/17
- Re: C-d deleting region considered harmful, Miles Bader, 2010/09/17
- Re: C-d deleting region considered harmful, Stefan Monnier, 2010/09/18
- Re: C-d deleting region considered harmful, Eli Zaretskii, 2010/09/18
- Re: C-d deleting region considered harmful, David Kastrup, 2010/09/18
- Re: C-d deleting region considered harmful, Eli Zaretskii, 2010/09/18
- Re: C-d deleting region considered harmful, Eli Zaretskii, 2010/09/18
- Re: C-d deleting region considered harmful, Sebastian Rose, 2010/09/18
- RE: C-d deleting region considered harmful, Drew Adams, 2010/09/18
- Re: C-d deleting region considered harmful, Christoph, 2010/09/18
- Re: C-d deleting region considered harmful, Eli Zaretskii, 2010/09/18
- Re: C-d deleting region considered harmful, Christoph, 2010/09/18
- Re: C-d deleting region considered harmful, Sebastian Rose, 2010/09/18