From: Martin <nospam@nospam.net>
To: help-gnu-emacs@gnu.org
Subject: Re: coding esq f11
Date: Thu, 18 Feb 2010 10:23:24 +0100 [thread overview]
Message-ID: <wnafx4yx5gz.fsf@web.de> (raw)
In-Reply-To: 87k4ucf1v0.fsf@gmail.com.INVALID
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
next prev parent reply other threads:[~2010-02-18 9:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 13:06 coding esq f11 Jim Kalb
2010-02-18 9:23 ` Martin [this message]
2010-02-18 12:21 ` Jim Kalb
2010-02-18 14:01 ` Martin
2010-02-18 14:15 ` Jim Kalb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wnafx4yx5gz.fsf@web.de \
--to=nospam@nospam.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.