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

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

Re: coding esq f11


From: Martin
Subject: Re: coding esq f11
Date: Thu, 18 Feb 2010 15:01:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt)

Jim Kalb writes:

>>>>>> "Martin" == Martin  writes:
>
>     >> I have a macro that I've named "g" that I invoke with
>     >> alt-f11:
>     >> 
>     >> (global-set-key (quote [M-f11]) (quote g))
>     >> 
>     >> I'm trying to get it to work in a terminal (rxvt-unicode)
>     >> that interprets alt-f11 as esc-f11 and I get back
>     >> 
>     >> ESQ <f11> is undefined
>     >> 
>     >> So I'd like to add a global-set-key that binds it to ESQ
>     >> <f11> but neither google nor trial-and-error have helped.
>
>     Martin> define the key interactively
>
>     Martin>   M-x global-set-key RET ESC f11 RET g RET
>
>     Martin> and grab the correct ELISP line from the prompt buffer
>
>     Martin>   M-x repeat-complex-command RET
>
> When I do that I get the following in the prompt buffer:
>
> Redo: (repeat-complex-command 1)

Hi,

push the return key and scroll within the prompt buffer with the up
arrow key until you see somthing like

 (global-set-key (quote ...) (quote g))

copy that line to your .emacs file.

Martin

>
> I'm using GNU Emacs 23.1.1 if that matters.
>
> jk


reply via email to

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