From: PJ Weisberg <pj@irregularexpressions.net>
To: help-gnu-emacs@gnu.org
Subject: Re: F2
Date: Mon, 28 Feb 2011 22:49:33 -0800 [thread overview]
Message-ID: <AANLkTikiXWsOpbrtDV+A1J_p64sWMB8EPr6t+E=Z31+o@mail.gmail.com> (raw)
In-Reply-To: <ed244125-4434-4b60-be21-9ae47fba78c9@o21g2000prh.googlegroups.com>
On 2/28/11, TheFlyingDutchman <zzbbaadd@aol.com> wrote:
> I was using
> (global-set-key (kbd "<f2>") 'my-elisp-command)
>
> I don't know if that works differently than define-key.
For the record,
(global-set-key (kbd "<f2>") (lambda() (interactive) (message "Hello, world!")))
works perfectly well over here (Emacs 23.2.1 via Debian).
-PJ
next prev parent reply other threads:[~2011-03-01 6:49 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 ` F2 TheFlyingDutchman
2011-03-01 6:49 ` PJ Weisberg [this message]
[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='AANLkTikiXWsOpbrtDV+A1J_p64sWMB8EPr6t+E=Z31+o@mail.gmail.com' \
--to=pj@irregularexpressions.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.