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: Mon, 16 Dec 2002 17:36:50 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <03717F75-1160-11D7-AB00-00039398D61E@apache.org> References: <7D9FD7FA-1159-11D7-AB00-00039398D61E@apache.org> 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 1040089301 27049 80.91.224.249 (17 Dec 2002 01:41:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2002 01:41:41 +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 18O6jr-000720-00 for ; Tue, 17 Dec 2002 02:41:39 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18O6xa-0000bz-00 for ; Tue, 17 Dec 2002 02:55:50 +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 18O6hX-00079O-02 for emacs-devel@quimby.gnus.org; Mon, 16 Dec 2002 20:39:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18O6hD-00077U-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 20:38:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18O6ga-0006vX-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 20:38:17 -0500 Original-Received: from rwcrmhc53.attbi.com ([204.127.198.39]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18O6fE-0006Xa-00 for emacs-devel@gnu.org; Mon, 16 Dec 2002 20:36:52 -0500 Original-Received: from apache.org (12-234-84-6.client.attbi.com[12.234.84.6]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <20021217013650053001cjl1e>; Tue, 17 Dec 2002 01:36:51 +0000 Original-To: Ovidiu Predescu In-Reply-To: <7D9FD7FA-1159-11D7-AB00-00039398D61E@apache.org> X-Mailer: Apple Mail (2.548) Original-cc: Andrew Choi 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:10187 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10187 On Monday, Dec 16, 2002, at 16:50 US/Pacific, Ovidiu Predescu wrote: > To alleviate the problem I defined: > > (global-set-key [return] 'newline) > > in my .emacs. But it would be good to have this work with the stock > Emacs. > >> 2002-10-04 Steven Tamm >> >> * macterm.c (keycode_to_xkeysym_table): Change return to be >> treated like an X keysym. >> >> But it was done quite a while ago. But you should probably start >> looking there. > > Up until very recently I've been using CVS sources extracted from on > September 27. This problem started affecting me only in the past few > days. I was wrong, my solution worked in limited cases only. Replacing in the keycode_to_xkeysym_table array the '\x0d' with 0 solved the problem for me. Steven, could you provide a quick explanation why the change was needed in the first place? Regards, -- Ovidiu Predescu http://webweavertech.com/ovidiu/weblog/