From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dani Barral Newsgroups: gmane.emacs.help Subject: Re: unexpected Del behaviour after C-d binding Date: Tue, 26 Nov 2002 16:56:39 +0000 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3DE3A7C7.5070606@staffs.ac.uk> References: <20021126161602.1025.15862.Mailman@monty-python.gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038329939 28887 80.91.224.249 (26 Nov 2002 16:58:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 26 Nov 2002 16:58:59 +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 18Gj33-0007VV-00 for ; Tue, 26 Nov 2002 17:58:58 +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 18Gj20-0006IA-00; Tue, 26 Nov 2002 11:57:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18Gj19-0005xM-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 11:56:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18Gj16-0005v3-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 11:56:58 -0500 Original-Received: from mail.staffs.ac.uk ([193.60.4.62]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18Gj16-0005uq-00 for help-gnu-emacs@gnu.org; Tue, 26 Nov 2002 11:56:56 -0500 Original-Received: from staffs.ac.uk (bsdhcp-108-173.staffs.ac.uk [195.195.108.173]) by mail.staffs.ac.uk (8.9.1/8.9.1) with ESMTP id QAA09307; Tue, 26 Nov 2002 16:56:54 GMT User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 X-Accept-Language: en-us, en 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:4046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4046 >>Stefan Monnier writes: >> >>>>>>> "Dani" == Dani Barral writes: >> >>> Now everytime I press Del next-line is executed. However C-h Del >>returns: >>> runs the command "^D" >>> which is a keyboard macro. >> >> >>This is not part of the default config, so it must come from your >>.emacs or the default.el or site-start.el files (or you're running a >>modified version of Emacs as is too often the case with standard >>distributions not able to resist the temptation to "fix" things >>without understanding the implications). >> >>Try to start your emacs with `emacs -q --no-site-file' and see if >>the problem is still there. You're right. That binding was in /etc/emacs/site-start.el (Xlaunch (define-key global-map [(delete)] "\C-d")) which is the mandrake configuration file for emacs. From this I understand rewritting (Xlaunch (define-key global-map [(delete)] 'delete-char)) is more appropiate isn't it? Thanks also to Barry for reminding that delete-char exists. Dani