From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: emacs calculator Date: Mon, 17 Jan 2005 02:16:22 +0100 Message-ID: <667E55D0-6825-11D9-B7A1-000D932A32C4@Web.DE> References: <10uj7k64bp0tr43@corp.supernews.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1105927015 21031 80.91.229.6 (17 Jan 2005 01:56:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jan 2005 01:56:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 17 02:56:48 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 1CqM8N-0002A6-00 for ; Mon, 17 Jan 2005 02:56:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqMKD-0004aH-A0 for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Jan 2005 21:09:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqMK3-0004a6-R8 for help-gnu-emacs@gnu.org; Sun, 16 Jan 2005 21:08:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqMK3-0004Zu-Fe for help-gnu-emacs@gnu.org; Sun, 16 Jan 2005 21:08:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqMF5-0003Fb-Ek for help-gnu-emacs@gnu.org; Sun, 16 Jan 2005 21:03:43 -0500 Original-Received: from [194.97.50.132] (helo=mout1.freenet.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CqLVQ-0002O0-0l for help-gnu-emacs@gnu.org; Sun, 16 Jan 2005 20:16:32 -0500 Original-Received: from [194.97.50.136] (helo=mx3.freenet.de) by mout1.freenet.de with esmtpa (Exim 4.46) id 1CqLVK-0002PI-Ky; Mon, 17 Jan 2005 02:16:26 +0100 Original-Received: from d935f.d.pppool.de ([80.184.147.95] helo=[192.168.1.2]) by mx3.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:RC4-SHA:128) (Exim 4.43 #13) id 1CqLVK-0005Rk-Gh; Mon, 17 Jan 2005 02:16:26 +0100 In-Reply-To: <10uj7k64bp0tr43@corp.supernews.com> Original-To: "B.T. Raven" X-Mailer: Apple Mail (2.619) 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:23402 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23402 Am 15.01.2005 um 23:50 schrieb B.T. Raven: > 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) I'd use (global-set-key [c-return] 'calculator) Besides this it's good to check whether C-return really works. In a terminal I don't have C-return, all Emacs sees is RET. When you first do 'C-h k C-return' and then 'C-x Esc Esc' (repeat-complex-command) you can see in the mini-buffer the proper syntax for the key (and save it for later use with C-a C-k C-g). -- Greetings Pete "Email is a wonderful thing for people whose role in life is to be on top of things. But not for me; my role is to be on the bottom of things. What I do takes long hours of studying and uninterruptible concentration." -Donald Knuth