From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: emacs on MAC OS X 10.2 Date: Fri, 17 Jan 2003 18:06:46 +0100 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <84lm1jd7tl.fsf@lucy.is.informatik.uni-duisburg.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042823514 21226 80.91.224.249 (17 Jan 2003 17:11:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 17:11:54 +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 18Za22-0005Vj-00 for ; Fri, 17 Jan 2003 18:11: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 18Za0l-0001ec-08 for gnu-help-gnu-emacs@m.gmane.org; Fri, 17 Jan 2003 12:10:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!pd951fcde.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: pd951fcde.dip.t-dialin.net (217.81.252.222) Original-X-Trace: fu-berlin.de 1042823252 24487607 217.81.252.222 (16 [73968]) User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:1tmKvr2JVfFobtkk2MdsNyar5c4= Original-Xref: shelby.stanford.edu gnu.emacs.help:109088 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:5616 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5616 mark belloni writes: > (define-key global-map "ESC-O A" 'previous-line) ;activate up > arrow key That's the wrong way to do it. Emacs looks in lisp/term/foo.el if $TERM is set to foo for the keybindings to use. (the lisp/term/README file has more data.) If that file contains the wrong bindings, please submit a bug report to the Emacs developers. But maybe $TERM is just set wrongly? If you want to have it quick, try (define-key function-key-map (kbd "ESC O A") (kbd "")) and similar statements. Note that the string after kbd uses the same syntax that's produced by C-h k, C-h l and friends. -- Ambibibentists unite!