From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: simple editor required Date: Tue, 10 Jun 2003 19:10:16 +0200 Organization: University of Duisburg, Germany Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8465nduadj.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 1055273636 27732 80.91.224.249 (10 Jun 2003 19:33:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 19:33:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 10 21:33:54 2003 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 19PosU-0007Cu-00 for ; Tue, 10 Jun 2003 21:33:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Pou2-0007RD-3k for gnu-help-gnu-emacs@m.gmane.org; Tue, 10 Jun 2003 15:35:30 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!fu-berlin.de!uni-berlin.de!pd951f045.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: pd951f045.dip.t-dialin.net (217.81.240.69) Original-X-Trace: fu-berlin.de 1055273660 16507543 217.81.240.69 (16 [73968]) Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:B6ie0hJMJ6Ru3dWmQWWFeeLe28Y= Original-Xref: shelby.stanford.edu gnu.emacs.help:114343 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:10837 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10837 "Paul Edwards" writes: > Unfortunately this command doesn't work. I get the same old > same old... > > DEL runs the command backward-delete-char-untabify Please type x, then hit the delete key, then C-h l. Then you can see what Emacs sees when you hit the delete key. Suppose you see ... x frumple gargle C-h l in the lossage buffer. Then do (global-set-key (kbd " ") 'delete-char) Alas, it is not obvious when do you have to add the angle brackets and when you should not add them. As a rule of thumb, if it looks like a normal character, possibly with modifiers, then do NOT use <...>. When it looks like a function key, DO use <...>. Additionally, there are some special keys, that look like function keys, but aren't. You can recognize them from the upper case. So RET, TAB, SPC, LFD, DEL are *not* function keys whereas prior, next, f3, delete, tab *are* function keys. When you see C-f3, put C- into the string ( will also work), including the <...>. -- This line is not blank.