From: TheFlyingDutchman <zzbbaadd@aol.com>
To: help-gnu-emacs@gnu.org
Subject: Re: F2
Date: Mon, 28 Feb 2011 19:39:00 -0800 (PST) [thread overview]
Message-ID: <ed244125-4434-4b60-be21-9ae47fba78c9@o21g2000prh.googlegroups.com> (raw)
In-Reply-To: icsjv7fs3v.fsf@verizon.net
> 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.
Thanks for the reply.
I was using
(global-set-key (kbd "<f2>") 'my-elisp-command)
I don't know if that works differently than define-key.
Anyway, I used your command and it worked as desired - pressing F2
executed "next-error".
Then I used global-set-key to set F2 to "previous-error" and it also
worked.
Then I executed the initial command I was using and couldn't get to
work with 1 F2 press and it also worked??? Oh well, case solved, at
least for this instantiation of Emacs (also 23.2.1).
next prev parent reply other threads:[~2011-03-01 3:39 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 ` F2 despen
2011-03-01 3:39 ` TheFlyingDutchman [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed244125-4434-4b60-be21-9ae47fba78c9@o21g2000prh.googlegroups.com \
--to=zzbbaadd@aol.com \
--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.