[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-selection-mode
From: |
David Kastrup |
Subject: |
Re: delete-selection-mode |
Date: |
Thu, 18 Mar 2010 11:30:19 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
Alan Mackenzie <address@hidden> writes:
> Hi, Stephen!
>
> On Thu, Mar 18, 2010 at 01:40:14PM +0900, Stephen J. Turnbull wrote:
>> Alan Mackenzie writes:
>
>> > The answer is to ask them why they want this. C-w is easy to type,
>> > as is <delete>.
>
>> I can't speak for "them," but I want DEL to *delete* the region
>> because *kill-region* is very often *not* what I want. Ie, I do not
>> want the deleted text on the kill ring.
>
> OK, that's an interesting point, but I'm not sure how connected it is
> to d-s-m.
I also don't think it is a good idea to tie the distinction delete/kill
into a side effect of different workflows.
> OK. The penalty for that convenience is having your region explode
> and disappear when you accidentally type a self-insert character (or
> arrow key). This might happen if you hit the x before the M in M-x,
> or something like that. Or, you might regionify a defun with C-M-h
> for some reason and accidentally lose it.
For the record: I just noticed that a few minutes ago I yanked some
stuff from one buffer into a different buffer, then used C-x C-x to move
to the top of the inserted material in order to add a newline and some
other stuff there.
delete-insertion-mode would have just deleted my inserted material
again.
The sequence C-y C-x C-x is rather common in my usage patterns. And I
don't know an equally convenient substitute.
--
David Kastrup
- RE: delete-selection-mode, (continued)
- RE: delete-selection-mode, Drew Adams, 2010/03/18
- RE: delete-selection-mode, Drew Adams, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/18
- Re: delete-selection-mode, Juri Linkov, 2010/03/17
- Re: delete-selection-mode, Kevin Rodgers, 2010/03/17
- Re: delete-selection-mode (was: Put scroll-bar on right by default on UNIX.), Chad Brown, 2010/03/17
- Re: delete-selection-mode (was: Put scroll-bar on right by default on UNIX.), Stephen J. Turnbull, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/18
- Re: delete-selection-mode, Stephen J. Turnbull, 2010/03/19
- Re: delete-selection-mode (was: Put scroll-bar on right by default on UNIX.), Alan Mackenzie, 2010/03/18
- Re: delete-selection-mode,
David Kastrup <=
- Re: delete-selection-mode, Stefan Monnier, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/18
- RE: delete-selection-mode, Drew Adams, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/18
- Re: delete-selection-mode, Lennart Borgman, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/18
- Re: delete-selection-mode, Stefan Monnier, 2010/03/18
- Re: delete-selection-mode, David Kastrup, 2010/03/19
- RE: delete-selection-mode, Drew Adams, 2010/03/19
- RE: delete-selection-mode, Drew Adams, 2010/03/18