[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Shift-movement selection
From: |
Kim F. Storm |
Subject: |
Re: Shift-movement selection |
Date: |
Wed, 12 Mar 2008 11:06:03 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> If this applis to all motion commands, then it is hard to do by
> binding all the keys, there being so many, and some rebound in major
> modes, too. So it would need to be implemented by some special
> feature that checks for shift. But I think that is an unclean way to
> do things.
>
I strongly disagree that doing things consistently for the user is
unclean.
> Therefore, this is one reason not to make this apply to
> all motion commands.
That is what CUA mode does now - and it works _very_ well.
E.g. to mark a word, line, or sexp, just do S-M-f, S-C-n, or S-C-M-f.
Why force people to use the arrow-keys etc. when we have the
perfect emacs bindings already.
You may argue that some implementations to achieve this are not clean
(such as using the generic pre-command-hook), but using a shifted-key-hook
and 'shift property on movement commands I've suggested is clean
enough for me -- and it has proven to work well in CUA.
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Shift-movement selection, (continued)
- Re: Shift-movement selection, Stefan Monnier, 2008/03/10
- Re: Shift-movement selection, Stefan Monnier, 2008/03/09
- Re: Shift-movement selection, Miles Bader, 2008/03/10
- Re: Shift-movement selection, Stefan Monnier, 2008/03/10
- Re: Shift-movement selection, Kim F. Storm, 2008/03/10
- Re: Shift-movement selection, Stefan Monnier, 2008/03/10
- Re: Shift-movement selection, Lennart Borgman (gmail), 2008/03/10
- Re: Shift-movement selection, Richard Stallman, 2008/03/11
- Re: Shift-movement selection, Stefan Monnier, 2008/03/11
- Re: Shift-movement selection, Richard Stallman, 2008/03/11
- Re: Shift-movement selection,
Kim F. Storm <=
- Re: Shift-movement selection, Richard Stallman, 2008/03/12
- Re: Shift-movement selection, Kim F. Storm, 2008/03/12
- Re: Shift-movement selection, Thomas Lord, 2008/03/12
- Re: Shift-movement selection, Thomas Lord, 2008/03/12
- Re: Shift-movement selection, tomas, 2008/03/13
- Re: Shift-movement selection, Alan Mackenzie, 2008/03/11
- Re: Shift-movement selection, Lennart Borgman (gmail), 2008/03/11
- Re: Shift-movement selection, David Kastrup, 2008/03/11
- Re: Shift-movement selection, Lennart Borgman (gmail), 2008/03/11
- Re: Shift-movement selection, Stefan Monnier, 2008/03/11