From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Sean Richards" Newsgroups: gmane.emacs.help Subject: Re: emacs calculator Date: Sun, 16 Jan 2005 15:46:52 +1300 Organization: Xtra Message-ID: <87llau6qg3.fsf@hugin.valhalla.net> References: <10uj7k64bp0tr43@corp.supernews.com> Reply-To: sean_news@myrealbox.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1105844057 15149 80.91.229.6 (16 Jan 2005 02:54:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Jan 2005 02:54:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 16 03:54:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cq0YO-0001zI-00 for ; Sun, 16 Jan 2005 03:54:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cq0eg-00039v-7o for geh-help-gnu-emacs@m.gmane.org; Sat, 15 Jan 2005 22:00:42 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!enews.sgi.com!news.xtra.co.nz!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:lQcTSb9/0lVNO7NfQrVhpiPZWcI= Original-Lines: 24 Original-NNTP-Posting-Host: 203.96.102.241 Original-X-Complaints-To: abuse@xtra.co.nz Original-X-Trace: news.xtra.co.nz 1105843391 203.96.102.241 (Sun, 16 Jan 2005 15:43:11 NZDT) Original-NNTP-Posting-Date: Sun, 16 Jan 2005 15:43:11 NZDT Original-Xref: shelby.stanford.edu gnu.emacs.help:127893 Original-To: help-gnu-emacs@gnu.org 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: main.gmane.org gmane.emacs.help:23380 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23380 "B.T. Raven" writes: > I added the following lines to my .emacs (i386-mingw: 21.3.1): > > (autoload 'calculator "calculator" > "Run the Emacs calculator." t) > (global-set-key [(control return)] 'calculator) > > After saving this, exiting, restarting, still no go. C-h k C-return is > shown as undefined. > > Then I replaced the last line with: > (define-key global-map [(control return)] 'calculator) > > Same result. What I am I doing wrong? I prefer a different notation for emacs key bindings. Try this way (global-set-key (kbd "C-") 'calculator) Sean -- "Hver sin smak", sa vintapperen, han drakk mens de andre sloss.