[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 10:23:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (windows-nt) |
Jim Kalb 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.
>
> Can someone suggest something?
Hi,
define the key interactively
M-x global-set-key RET ESC f11 RET g RET
and grab the correct ELISP line from the prompt buffer
M-x repeat-complex-command RET
Cheers
Martin
--
parozusa at web dor de