From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ovidiu Predescu Newsgroups: gmane.emacs.devel Subject: Re: Problem with the RETURN key Date: Thu, 19 Dec 2002 18:22:29 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v548) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1040351042 607 80.91.224.249 (20 Dec 2002 02:24:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 20 Dec 2002 02:24:02 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18PCpT-00009E-00 for ; Fri, 20 Dec 2002 03:23:59 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18PCqs-0006bb-00 for ; Fri, 20 Dec 2002 03:25:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18PCpB-0000pO-01 for emacs-devel@quimby.gnus.org; Thu, 19 Dec 2002 21:23:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18PCoj-0000S9-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 21:23:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18PCoc-00007I-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 21:23:10 -0500 Original-Received: from sccrmhc03.attbi.com ([204.127.202.63]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18PCo4-0007gx-00 for emacs-devel@gnu.org; Thu, 19 Dec 2002 21:22:32 -0500 Original-Received: from apache.org (12-234-84-6.client.attbi.com[12.234.84.6]) by sccrmhc03.attbi.com (sccrmhc03) with SMTP id <2002122002222900300lqlpue>; Fri, 20 Dec 2002 02:22:29 +0000 Original-To: Andrew Choi In-Reply-To: X-Mailer: Apple Mail (2.548) Original-cc: Steven Tamm X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10297 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10297 Hi Andrew, On Tuesday, Dec 17, 2002, at 00:48 US/Pacific, Andrew Choi wrote: > Ovidiu Predescu writes: > >> The result is " is undefined". This happens with no startup >> file. [...] >> >> Any ideas on how to proceed further? > > Please read the node `Translating Input' in the Elisp manual. > > What is the value of `function-key-map'? Mine says: > > (keymap (M-return . [-134217715]) (return . [13]) (kp-equal . [61]) > (kp-divide . [47]) (kp-decimal . [46]) (kp-subtract . [45]) > (kp-separator . [44]) (kp-add . [43]) (kp-multiply . [42]) (kp-enter . > [13]) (kp-tab . [9]) ...) > > Note the entry for `return'. If it is not there, you can say something > like > > (define-key function-key-map [return] [13]) > > but this really shouldn't be necessary. The value of function-key-map is (keymap (kp-equal . [61]) (kp-divide . [47]) (kp-decimal . [46]) (kp-subtract . [45]) (kp-separator . [44]) (kp-add . [43]) (kp-multiply . [42]) (kp-enter . [13]) (kp-tab . [9]) (kp-space . [32]) (kp-9 . [57]) ...) Adding the define-key does solve the problem, everything starts working normally. > Are you sure you have a correct installation? I have a system which I upgraded from 10.1 to 10.2, then 10.2.1 and 10.2.2 with all the successive patches from Apple. > Is the problem really specific to the Powerbook G4? I don't know. The only MacOS X machine I have is this laptop, everything else are Linux boxes. Thanks for the tips! Best regards, Ovidiu