From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: tiagohenriques@lycos.co.uk (Tiago Henriques) Newsgroups: gmane.emacs.help Subject: Re: return and enter keys in emacs 21.3 on MacOSX 10.2 Date: 19 Jan 2003 14:12:48 -0800 Organization: http://groups.google.com/ 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043014498 26547 80.91.224.249 (19 Jan 2003 22:14:58 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2003 22:14:58 +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 18aNiS-0006u2-00 for ; Sun, 19 Jan 2003 23:14:57 +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 18aNio-0000PI-02 for gnu-help-gnu-emacs@m.gmane.org; Sun, 19 Jan 2003 17:15:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 10 Original-NNTP-Posting-Host: 212.113.164.99 Original-X-Trace: posting.google.com 1043014368 11745 127.0.0.1 (19 Jan 2003 22:12:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 19 Jan 2003 22:12:48 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:109205 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:5729 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5729 Benjamin Riefenstahl wrote in message > tiagohenriques@lycos.co.uk (Tiago Henriques) writes: > > 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]) Great tip! That one line seems to have solved the problem. Thanks a lot!