From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: unexpected Del behaviour after C-d binding Date: Tue, 26 Nov 2002 16:11:35 GMT Organization: Genuity, Woburn, MA Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <20021126141644.11922.11637.Mailman@monty-python.gnu.org> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038327541 18002 80.91.224.249 (26 Nov 2002 16:19:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 16:19: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 18GiQL-0004fe-00 for ; Tue, 26 Nov 2002 17:18:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18GiNp-0000JS-00; Tue, 26 Nov 2002 11:16:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!crtntx1-snh1.gtei.net!news.gtei.net!paloalto-snr1.gtei.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Mail-Copies-To: never X-Newsreader: trn 4.0-test72 (19 April 1999) Originator: barmar@genuity.net (Barry Margolin) Original-Lines: 14 Original-X-Trace: /w5MH9/qfUr1jJ28795AjVRH5Ajeio1SAxsKg5PryDjb4A0wKpZXi4rWCdNqFyBRRM9wdgf7dvZv!/briYlEWeCpQyqDMyVu4Mf5azjK4D1EKO5vRS0hyOvzDPsYR2ud3wxGzld8yyiW7Ej7/Ofi+eIi+!UyiOh5iVkJWL Original-X-Complaints-To: abuse@gte.net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly Original-NNTP-Posting-Date: Tue, 26 Nov 2002 16:11:35 GMT Original-Distribution: world Original-Xref: shelby.stanford.edu gnu.emacs.help:107490 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:4041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4041 In article , Dani Barral wrote: >Here is the new binding of is there a nicer way to write it? > >(define-key global-map [delete] (lambda () (interactive) >(delete-backward-char -1))) (global-set-key [delete] 'delete-char) -- Barry Margolin, barmar@genuity.net Genuity, Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.