help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: F2


From: despen
Subject: Re: F2
Date: Mon, 28 Feb 2011 22:16:04 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]