From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: F2 Date: Mon, 28 Feb 2011 22:49:33 -0800 Message-ID: References: <577f8a29-95e7-4168-abb6-0e2b1820bda1@r4g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1298962634 3642 80.91.229.12 (1 Mar 2011 06:57:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 1 Mar 2011 06:57:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 01 07:57:10 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PuJW8-0006Ww-1y for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 07:57:08 +0100 Original-Received: from localhost ([127.0.0.1]:44927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuJW6-0004ui-V2 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Mar 2011 01:57:07 -0500 Original-Received: from [140.186.70.92] (port=57209 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuJOx-0002rq-5D for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 01:49:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuJOt-0004rA-9f for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 01:49:40 -0500 Original-Received: from p3plsmtpa06-01.prod.phx3.secureserver.net ([173.201.192.102]:59719) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PuJOs-0004r1-Vq for help-gnu-emacs@gnu.org; Tue, 01 Mar 2011 01:49:39 -0500 Original-Received: (qmail 12253 invoked from network); 1 Mar 2011 06:49:35 -0000 Original-Received: from unknown (209.85.161.41) by p3plsmtpa06-01.prod.phx3.secureserver.net (173.201.192.102) with ESMTP; 01 Mar 2011 06:49:35 -0000 Original-Received: by fxm5 with SMTP id 5so5288618fxm.0 for ; Mon, 28 Feb 2011 22:49:33 -0800 (PST) Original-Received: by 10.223.96.67 with SMTP id g3mr7946059fan.114.1298962173458; Mon, 28 Feb 2011 22:49:33 -0800 (PST) Original-Received: by 10.223.97.71 with HTTP; Mon, 28 Feb 2011 22:49:33 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 173.201.192.102 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79613 Archived-At: On 2/28/11, TheFlyingDutchman wrote: > I was using > (global-set-key (kbd "") 'my-elisp-command) > > I don't know if that works differently than define-key. For the record, (global-set-key (kbd "") (lambda() (interactive) (message "Hello, world!"))) works perfectly well over here (Emacs 23.2.1 via Debian). -PJ