help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to bind (shift Fx) for emacs in putty?


From: Stefan Monnier
Subject: Re: How to bind (shift Fx) for emacs in putty?
Date: Mon, 26 Dec 2005 11:51:58 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> (define-key function-key-map "\e[23~" [(shift f1)])

This is wrong.  It should be

  (define-key function-key-map "\e[23~" [S-f1])

The compatibility code that turns XEmacs-style [(shift f1)] into [S-f1] is
only applied to the second argument of define-key, not the third.


        Stefan



reply via email to

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