all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Keybinding nit
Date: Tue, 24 Oct 2006 16:11:55 -0600	[thread overview]
Message-ID: <ehm34p$51a$1@sea.gmane.org> (raw)
In-Reply-To: <buoslhf3iz9.fsf@dhapc248.dev.necel.com>

Miles Bader wrote:
> Kevin Rodgers <ihs_4664@yahoo.com> writes:
>>> Well at least historically, I suppose one reason is because such
>>> combinations (control + shift) don't work on ttys.
>> But that's not what Peter wrote; he's using the same `C-x' prefix
>> in all cases, just varying the case of the final key:
> 
> Hmmm, good point... :-)
> 
> In that case I'd just offer a weaker reason:  It's annoying to type key
> sequences where the two components use _different_ modifier keys.
> 
> Indeed, even MOD + NO-MOD sequences can be a problem, as it's quite easy
> to mis-time releasing the modifier key when typing quickly (I very often
> mistype "C-x b" as "C-x C-b"); MOD + DIFFERENT-MOD would be even worse.

That all makes perfect sense, but in actual practice I find that there
are commands I use frequently use that aren't bound to keys, and that
the most mnemonic, available keys are C-<foo> Shift-<bar> sequences.

Here are some real examples I've had in my .emacs for years:

(global-set-key "\C-hA" 'apropos)
(global-set-key "\C-xB" 'bury-buffer)
(global-set-key "\C-xI" 'insert-buffer)

And before Emacs 22 (which binds `C-x C-k r' to 
apply-macro-to-region-lines),
I had:

(global-set-key "\C-xE" 'apply-macro-to-region-lines))

I guess you would find those far too annoying to use, but for me they
are just fine.

> [It might be tempting to answer "Well, just don't type those sequences
> quickly!" but I find such admonitions simply don't work well in practice
> -- people will slow down eventually because they'll get annoyed at all
> the times they mistype, but then they'll be annoyed too, and I think
> inherently annoying key-sequences should be avoided. :-]

I learned to touch type in 9th or 10th grade, but I guess I don't type
as quickly as you!

-- 
Kevin

  reply	other threads:[~2006-10-24 22:11 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-18 15:37 Keybinding nit David Kastrup
2006-10-18 18:29 ` Peter Lee
2006-10-18 23:22   ` Miles Bader
2006-10-19 16:53     ` Kevin Rodgers
2006-10-23  1:43       ` Miles Bader
2006-10-24 22:11         ` Kevin Rodgers [this message]
2006-10-24 23:29           ` Miles Bader
2006-10-25 21:38             ` Kevin Rodgers
2006-10-19 12:56 ` Richard Stallman
2006-10-19 13:07   ` David Kastrup
2006-10-19 20:06     ` Nick Roberts
2006-10-19 20:46       ` David Kastrup
2006-10-19 21:19         ` Nick Roberts
2006-10-19 21:37           ` David Kastrup
2006-10-20 16:09         ` Stuart D. Herring
2006-10-20  5:40     ` Jan D.
2006-10-20  7:43       ` David Kastrup
2006-10-20 19:13         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ehm34p$51a$1@sea.gmane.org' \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.