[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: key-binding values
From: |
Andreas Schwab |
Subject: |
Re: key-binding values |
Date: |
Wed, 07 Sep 2005 00:14:03 +0200 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> > Also, correct me if I'm wrong, but my understanding is that
> the form [?\C- ]
> > is generally preferred over the form "\C- ", for a key binding.
>
> These two key sequences represent quite different bindings.
> You can't get
> one override the other, it depends on the terminal which key you receive
> on typing C-space.
>
> Whenever either is acceptable, is one of the two preferred in Emacs-Lisp
> code, for binding keys? My understanding was that the vector form was
> preferred.
IMHO there is no real preference. The string notation can only represent
a limited set of keys, but is easier to read when it works.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."