emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding xterm-extras to Emacs


From: Andreas Schwab
Subject: Re: Adding xterm-extras to Emacs
Date: Fri, 14 Sep 2007 16:13:28 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>>> However, it S-left and left is the same in 'C-h k', how can I bind them
>>> to different commands?
>> They are different, you can bind them just fine. I don't remember the
>> explanation why is C-h k showing them like that.
>
> C-h k shows the "raw data" as well as the "final event".  It doesn't show
> all the intermediate steps.  In this case one of the steps is to turn the
> escape sequence into S-left, and another step turns `S-left' into `left'
> (because Emacs always tried to unshift a key to find a binding in case
> where the shifted version has no binding).

That last step (unshifing) is omitted if you try to bind the key
interactively.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]