all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jim Kalb <jimkalb@gmail.com.INVALID>
To: help-gnu-emacs@gnu.org
Subject: Re: coding esq f11
Date: Thu, 18 Feb 2010 09:15:34 -0500	[thread overview]
Message-ID: <877hqazl2x.fsf@gmail.com.INVALID> (raw)
In-Reply-To: wnavdduve11.fsf@aol.de

>>>>> "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
    >> 

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

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

    Martin> copy that line to your .emacs file.

Yay! It works. Thanks.

jk


      reply	other threads:[~2010-02-18 14:15 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
2010-02-18 14:15       ` Jim Kalb [this message]

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=877hqazl2x.fsf@gmail.com.INVALID \
    --to=jimkalb@gmail.com.invalid \
    --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.