[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-selection-mode
From: |
Stefan Monnier |
Subject: |
Re: delete-selection-mode |
Date: |
Wed, 17 Mar 2010 21:48:20 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux) |
> If delete-selection-mode affects only what DEL does after a
> mouse-selection, then it should have no effect on editing in the
> normal Emacs way with keyboard commands. Perhaps there is no
> particular reason to do, here, anything other than what beginning
> users ask for.
It does have many more effects. The most significant one is that any
self-inserting key typed when the region is active will cause the region
to be deleted before the char is inserted.
If the fact that the region is active at that point "is right"
(i.e. you indeed intended to highlight that region), then deleting it is
probably the right thing to do.
But if the region is active by accident (e.g. the fact that it's
highlighted is something you grudgingly live with since t-m-m was made
the default), then you may get annoyed that merely inserting a char at
point ends up deleting all the text that happened to be highlighted.
I think delete-selection-mode makes sense, FWIW, but I can also see that
it might annoy some users, although these should pretty much only be the
users who don't like t-m-m but don't hate it enough to go through the
trouble of turning it off. Not sure how many of them might be
out there.
Stefan
- Re: delete-selection-mode, (continued)
- Re: delete-selection-mode, Stefan Monnier, 2010/03/18
- RE: delete-selection-mode, Drew Adams, 2010/03/18
- Re: delete-selection-mode, Juri Linkov, 2010/03/18
- Re: delete-selection-mode, Manoj Srivastava, 2010/03/21
- Re: delete-selection-mode, David Kastrup, 2010/03/21
- Re: delete-selection-mode, Manoj Srivastava, 2010/03/21
- Re: delete-selection-mode, Lennart Borgman, 2010/03/21
- Re: delete-selection-mode, Richard Stallman, 2010/03/29
- Re: delete-selection-mode, Harald Hanche-Olsen, 2010/03/17
- Re: delete-selection-mode (was: Put scroll-bar on right by default on UNIX.), Richard Stallman, 2010/03/17
- Re: delete-selection-mode,
Stefan Monnier <=
- Re: delete-selection-mode, Miles Bader, 2010/03/17
- Re: delete-selection-mode, Richard Stallman, 2010/03/18
- Re: delete-selection-mode, Lennart Borgman, 2010/03/18
- AW: delete-selection-mode, Berndl, Klaus, 2010/03/18
- Re: delete-selection-mode, Harald Hanche-Olsen, 2010/03/18
- Re: delete-selection-mode, Richard Stallman, 2010/03/19
- Re: delete-selection-mode, Chad Brown, 2010/03/19
- Re: delete-selection-mode, Richard Stallman, 2010/03/19
- Re: delete-selection-mode, Lennart Borgman, 2010/03/19
- Re: delete-selection-mode, Uwe Siart, 2010/03/20