From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: C-s and delete under Windows Date: Mon, 30 Mar 2009 23:02:30 +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 1238447125 1430 80.91.229.12 (30 Mar 2009 21:05:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Mar 2009 21:05:25 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Ulrich Scholz To: Nikolaj Schumacher Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 30 23:06:44 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 1LoOfg-0002be-Q8 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 23:05:52 +0200 Original-Received: from localhost ([127.0.0.1]:36542 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoOeJ-0008ON-Fo for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Mar 2009 17:04:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoOcv-0007uq-NQ for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 17:02:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoOcq-0007tn-BN for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 17:02:36 -0400 Original-Received: from [199.232.76.173] (port=50749 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoOcq-0007tk-2N for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 17:02:32 -0400 Original-Received: from mail-fx0-f166.google.com ([209.85.220.166]:54951) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoOcp-0005ui-Hu for help-gnu-emacs@gnu.org; Mon, 30 Mar 2009 17:02:31 -0400 Original-Received: by fxm10 with SMTP id 10so2059059fxm.42 for ; Mon, 30 Mar 2009 14:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Bey1m9MhCAUPmmdt55t04W8lg3QftfcoCPqKFSAoiNo=; b=HMv1dteE9fJhk0brps07SCYlBMbt1HskB0Uf9VIbNu9N1QsY2oa9XLByvTSmf93HDA 0J9cvVeB1Ce0wwIbdITI0Vy4hiM+6ZIcNyfYvR1MhO9OR6WJwPDkA2UCtsjzcAIsHIeN fYvswVGAscOQywFit60IGQ4/L3ig4MqO4ZHT4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=em0XWoJZme4KBDMWzp145IuVPzpr9pi0uNEDu7ve8JxAIlwPBY5agFbP+3bdVa0XPt Ftp3QrvE6zuCIlF7v00up8hsaDSEV0El3b2NFaGpUTtrCchWAfFHfz3mMx+D4Uh3mo4R y1B9vg75ocvGO4MBWEsFLuzFOdTRZ+1kospsE= Original-Received: by 10.223.124.75 with SMTP id t11mr4382853far.58.1238446950368; Mon, 30 Mar 2009 14:02:30 -0700 (PDT) In-Reply-To: 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:63405 Archived-At: On Mon, Mar 30, 2009 at 10:56 PM, Nikolaj Schumacher wrote: > Lennart Borgman wrote: > >> On Mon, Mar 30, 2009 at 10:14 PM, Nikolaj Schumacher wrot= e: >>>> (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. =C2=A0Binding backspace overrides the > translation, which is responsible for the meaning in `isearch-mode-map'. Ah, I see. Thanks. But ... this is so confusing so I think that it would be good if the user gets a warning ... somewhere ...