From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolaj Schumacher Newsgroups: gmane.emacs.help Subject: Re: C-s and delete under Windows Date: Mon, 30 Mar 2009 22:56:56 +0200 Message-ID: References: <8abd1937-f23c-4c21-85f8-147568bcf42c@y9g2000yqg.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1238446741 32387 80.91.229.12 (30 Mar 2009 20:59:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 20:59:01 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Ulrich Scholz To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 23:00:18 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LoOad-0000WT-S7 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 23:00:17 +0200 Original-Received: from localhost ([127.0.0.1]:44122 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoOZG-0006dp-Ht for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 16:58:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoOXU-00060i-KT for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 16:57:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoOXT-000605-A6 for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 16:56:59 -0400 Original-Received: from [199.232.76.173] (port=60375 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoOXT-0005zx-1r for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 16:56:59 -0400 Original-Received: from dd18200.kasserver.com ([85.13.138.168]:33528) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoOXS-0005FV-LE for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 16:56:58 -0400 Original-Received: from thursday (f051001054.adsl.alicedsl.de [78.51.1.54]) by dd18200.kasserver.com (Postfix) with ESMTP id CF47B1836FAE4; Mon, 30 Mar 2009 22:57:01 +0200 (CEST) In-Reply-To: (Lennart Borgman's message of "Mon, 30 Mar 2009 22:30:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63404 Archived-At: Lennart Borgman wrote: > On Mon, Mar 30, 2009 at 10:14 PM, Nikolaj Schumacher wrote: >>> (global-set-key [backspace] 'backward-delete-char-untabify) >> >> Yes, it is. =C2=A0Because globally setting backspace, will override the >> meaning in `isearch-mode-map'. =C2=A0Try: >> >> (define-key isearch-mode-map [backspace] 'isearch-delete-char) > > Why does setting it globally override the setting in isearch-mode-map? IIRC: Backspace is translated to DEL by default. DEL is bound to `isearch-delete-char' in `isearch-mode-map', but backspace isn't bound there at all. Binding backspace overrides the translation, which is responsible for the meaning in `isearch-mode-map'. regards, Nikolaj Schumacher