From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: mark belloni Newsgroups: gmane.emacs.help Subject: emacs on MAC OS X 10.2 Date: Thu, 16 Jan 2003 15:06:42 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <0802CD38-298E-11D7-A737-000393C4514E@earthlink.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v543) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1042748252 19977 80.91.224.249 (16 Jan 2003 20:17:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2003 20:17:32 +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 18ZGRj-0005AM-00 for ; Thu, 16 Jan 2003 21:17:03 +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 18ZGJX-00047x-05 for gnu-help-gnu-emacs@m.gmane.org; Thu, 16 Jan 2003 15:08:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ZGJP-000470-00 for help-gnu-emacs@gnu.org; Thu, 16 Jan 2003 15:08:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ZGJL-00045t-00 for help-gnu-emacs@gnu.org; Thu, 16 Jan 2003 15:08:26 -0500 Original-Received: from snipe.mail.pas.earthlink.net ([207.217.120.62]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZGHi-0003tS-00 for help-gnu-emacs@gnu.org; Thu, 16 Jan 2003 15:06:42 -0500 Original-Received: from user-2ivfa19.dialup.mindspring.com ([165.247.168.41] helo=mark-bellonis-Computer.local.) by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18ZGHg-0004Uc-00 for help-gnu-emacs@gnu.org; Thu, 16 Jan 2003 12:06:41 -0800 Original-To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.543) 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:5576 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5576 help-gnu-emacs: I am a powerbook G4 OS X 10.2 user and am brand new to GNU Emacs. To customize GNU Emacs, I have tried to create a .emacs file that is bug free without success that works on the terminal.app . What I would like to do at this time is two fold. 1.) map the arrow keys to their respective GNU Emacs commands. 1a.) preserve the C-x 1 window setting; when butchering the attempt at 1.) the window gets split into 2. I tried to get a macro inserted into .emacs below but it does not work 2.) map the delete-backward-char command to the "delete" key. I could not so I chose to map to the "pipe" key instead. Anyway, below is the butchered .emacs file so far, which needs attention. Please advise. Mark (setq term-file-prefix nil) (send-string-to-terminal "\e=") (fset 'kbdmac ; macro to correct the split window "\C-x1\C-m") (define-key global-map "|" 'delete-backward-char) ;delete key (define-key global-map "ESC-O A" 'previous-line) ;activate up arrow key (define-key global-map "ESC-O B" 'next-line) ;activate down arrow key (define-key global-map "ESC-O C" 'forward-char) ;activate right arrow key (define-key global-map "ESC-O D" 'backward-char) ;activate left arrow key