From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Benjamin Riefenstahl Newsgroups: gmane.emacs.help Subject: Re: return and enter keys in emacs 21.3 on MacOSX 10.2 Date: 17 Jan 2003 16:45:00 +0100 Organization: None Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84ptqwn9r4.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042823219 19601 80.91.224.249 (17 Jan 2003 17:06:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 17:06:59 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ZZxK-00055l-00 for ; Fri, 17 Jan 2003 18:06:58 +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 18ZZvx-0000LX-01 for gnu-help-gnu-emacs@m.gmane.org; Fri, 17 Jan 2003 12:05:33 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-01!sn-post-02!sn-post-01!supernews.com!news.supernews.com!cicero.benny.turtle-trading.net!nobody Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 25 Original-Xref: shelby.stanford.edu gnu.emacs.help:109086 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:5613 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5613 Hi Tiago, tiagohenriques@lycos.co.uk (Tiago Henriques) writes: > C-h c : > is undefined > > C-h c : > RET (translated from ) runs the command newline > > After I type these 2 commands, C-h l shows: > (...) C-h c C-h c C-h l > > It seems that the return key is unassigned. How can I assign it to run > the command newline, similarly to the keypad-enter key? Been there recently. I think this should help: (define-key function-key-map [return] [?\C-m]) OTOH, I copied this line from lisp/term/mac-win.el, and that file should be loaded on Emacs startup, as I understand it. so long, benny