[Top][All Lists]

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

Re: emacs 18 mapping function keys

From: Kevin Dziulko
Subject: Re: emacs 18 mapping function keys
Date: Tue, 29 Oct 2002 08:13:15 -0500 (EST)

I'm using vt100, but my key code is not ^[11~.  You can see the escape
sequence by going into the *scratch* buffer, pressing C-q, then hitting
your F1 key.

On 28 Oct 2002, Glynn Smith wrote:

> In version 18 of emacs
>     (global-set-key (quote [f1]) (quote undo))
> produces the followng error:
> Wrong type argument: string p, [f1]
> This global-set-key command works just fine in version 19 or later.
> Using describe-key-briefly for F1 just results in a 11~ written at the
> first line first column of the current file being visited.
> I believe the vt100 key code for F1 is ESC11~ or ^[11~ so I tried
> changing the global-set-key statement to:
>     (global-set-key (quote "\e11~") (quote undo))
> This produced the following error:
> Key sequence ^[11~ uses invalid prefix characters.
> I hope someone can help.
> Regards
> _______________________________________________
> Help-gnu-emacs mailing list

reply via email to

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