all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin <nospam@nospam.net>
To: help-gnu-emacs@gnu.org
Subject: Re: coding esq f11
Date: Thu, 18 Feb 2010 15:01:30 +0100	[thread overview]
Message-ID: <wnavdduve11.fsf@aol.de> (raw)
In-Reply-To: 87fx4yg2f0.fsf@gmail.com


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	other threads:[~2010-02-18 14:01 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
2010-02-18 12:21   ` Jim Kalb
2010-02-18 14:01     ` Martin [this message]
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=wnavdduve11.fsf@aol.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.