From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Kalikow Newsgroups: gmane.emacs.help Subject: Re: Emacs reads both DEL and Backspace as DEL Date: 28 Jan 2003 01:18:30 GMT Organization: Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <20030127201830166-0500@news.rcn.com> References: <84znpqlo46.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1043716861 8032 80.91.224.249 (28 Jan 2003 01:21:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 01:21:01 +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 18dKQt-00025A-00 for ; Tue, 28 Jan 2003 02:21:00 +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 18dKQN-0001FO-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 27 Jan 2003 20:20:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-X-Trace: UmFuZG9tSVYaHayP50jYu4U71vVzq1GgoBR7jZhkKfjWQiG/FISFpNL5QeBpH0Ud Original-X-Complaints-To: abuse@rcn.com Original-NNTP-Posting-Date: 28 Jan 2003 01:18:30 GMT User-Agent: Halime (MacOSX)/1.0b1 Original-Xref: shelby.stanford.edu gnu.emacs.help:109475 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:5995 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:5995 Since we seem to be solving key-binding problems here... :-) I'm running Gnu Emacs (I think 21.3.50, the Cocoa version?) on Mac OSX 10.2.3 on a TI-PowerBook. My problem is related but (I think) different. My kbd doesn't have two flavors of DEL -- only one DEL key. Most non-Emacs apps on the laptop run "delete-previous-char" for DEL and "delete-next-char" for hold-down-Function-key-and-then-press-DEL. This is an OK price to pay for a laptop keyboard, IMHO. However if I run m-X describe-key for DEL, Emacs says ==== DEL runs the command View-scroll-page-backward which is an interactive compiled Lisp function in `view'. It is bound to DEL. (View-scroll-page-backward &optional LINES) Scroll "page size" or prefix LINES lines backward in View mode. See also `View-scroll-page-forward'. ===== for m-X describe-key for Function-DEL, Emacs says ===== DEL (translated from ) runs the command View-scroll-page-backward which is an interactive compiled Lisp function in `view'. It is bound to DEL. (View-scroll-page-backward &optional LINES) Scroll "page size" or prefix LINES lines backward in View mode. See also `View-scroll-page-forward'. ===== to these unpracticed eyes, Emacs appears to think they're virtually the same. Any ideas (or pointers to ideas) on what I should put in my .emacs file to tease apart forward- from backward-delete functions? TIA for any advice.