unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: despen@verizon.net
To: help-gnu-emacs@gnu.org
Subject: Re: F2
Date: Mon, 28 Feb 2011 22:16:04 -0500	[thread overview]
Message-ID: <icsjv7fs3v.fsf@verizon.net> (raw)
In-Reply-To: 577f8a29-95e7-4168-abb6-0e2b1820bda1@r4g2000prm.googlegroups.com

TheFlyingDutchman <zzbbaadd@aol.com> writes:

> If I do "ctrl-h k <f2>"   I get "f2-"  in the message area, as if
> Emacs is waiting for me to press another key. If I set a command to
> <f2> with global-set-key and then hit the <f2> key, nothing happens.
> If I again hit <f2> it tells me that "<f2> <f2> is undefined". It is
> like <f2> is set to be used in a key combination. How can I get rid of
> that and just assign a single keypress to <f2>?

I don't know that you have to get rid of anything.
This works as an override for me:

(define-key global-map [(f2)] 'next-error)

Emacs 23.2.1.


  reply	other threads:[~2011-03-01  3:16 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01  2:21 F2 TheFlyingDutchman
2011-03-01  3:16 ` despen [this message]
2011-03-01  3:39   ` F2 TheFlyingDutchman
2011-03-01  6:49     ` F2 PJ Weisberg
     [not found]     ` <mailman.1.1298962186.15292.help-gnu-emacs@gnu.org>
2011-03-01  7:14       ` F2 Tim X
2011-03-01 19:18         ` F2 TheFlyingDutchman
2011-03-01 20:05           ` F2 despen
2011-03-01 20:35           ` F2 PJ Weisberg
     [not found]           ` <mailman.8.1299011724.12270.help-gnu-emacs@gnu.org>
2011-03-01 21:18             ` F2 TheFlyingDutchman
2011-03-02 22:43               ` F2 PJ Weisberg
2011-03-02 22:56                 ` F2 Drew Adams
     [not found]               ` <mailman.0.1299105817.15358.help-gnu-emacs@gnu.org>
2011-03-02 23:51                 ` F2 TheFlyingDutchman
2011-03-03  0:57                   ` F2 Drew Adams
2011-03-03  2:05                     ` F2 PJ Weisberg
2011-03-01  9:31   ` F2 Peter Dyballa
2011-03-01 12:51 ` F2 Sean Sieger
2011-03-01 12:52 ` F2 Sean Sieger
2011-03-01 18:16 ` F2 Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=icsjv7fs3v.fsf@verizon.net \
    --to=despen@verizon.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).