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

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

Re: coding esq f11


From: Jim Kalb
Subject: Re: coding esq f11
Date: Thu, 18 Feb 2010 07:21:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

>>>>> "Martin" == Martin  <nospam@nospam.net> 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)

I'm using GNU Emacs 23.1.1 if that matters.

jk


reply via email to

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