From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: mark belloni Newsgroups: gmane.emacs.bugs Subject: emacs on MAC OS X 10.2 Date: Thu, 16 Jan 2003 20:02:54 -0500 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <68DF0BC3-29B7-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 1042765335 23201 80.91.224.249 (17 Jan 2003 01:02:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 17 Jan 2003 01:02:15 +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 18ZKth-00061w-00 for ; Fri, 17 Jan 2003 02:02:13 +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 18ZKux-0006JM-01 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 16 Jan 2003 20:03:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ZKue-000673-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 16 Jan 2003 20:03:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ZKuX-0005q3-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 16 Jan 2003 20:03:05 -0500 Original-Received: from harrier.mail.pas.earthlink.net ([207.217.120.12]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZKuM-0005HS-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 16 Jan 2003 20:02:54 -0500 Original-Received: from user-2ivfc1k.dialup.mindspring.com ([165.247.176.52] helo=mark-bellonis-Computer.local.) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18ZKuJ-00006E-00 for bug-gnu-emacs@prep.ai.mit.edu; Thu, 16 Jan 2003 17:02:51 -0800 Original-To: bug-gnu-emacs@prep.ai.mit.edu X-Mailer: Apple Mail (2.543) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4224 > C-x( ; test card for email only...not part of below problem > bug-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 which is > bug free and operates on a terminal.app, without success. > > What I would like to do 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 > > > C-x) ; end test card