From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20466: 25.0.50; REGRESSION in `isearch-mode-map': is not translated to DEL Date: Fri, 01 May 2015 21:43:26 +0300 Message-ID: <83mw1oqgtt.fsf@gnu.org> References: <83383hu3dn.fsf@gnu.org> <83lhh8stb0.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430505862 3322 80.91.229.3 (1 May 2015 18:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 18:44:22 +0000 (UTC) Cc: 20466@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 01 20:44:12 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YoFv1-0000FP-5a for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 20:44:11 +0200 Original-Received: from localhost ([::1]:55197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFv0-0006GX-9V for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 14:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFuw-0006GE-T9 for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 14:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoFus-0005BH-PZ for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 14:44:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoFus-0005B2-Me for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 14:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoFus-00061U-Ep for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 14:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2015 18:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20466-submit@debbugs.gnu.org id=B20466.143050583223127 (code B ref 20466); Fri, 01 May 2015 18:44:02 +0000 Original-Received: (at 20466) by debbugs.gnu.org; 1 May 2015 18:43:52 +0000 Original-Received: from localhost ([127.0.0.1]:58937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoFuh-00060x-Lf for submit@debbugs.gnu.org; Fri, 01 May 2015 14:43:52 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:37966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoFue-00060g-K4 for 20466@debbugs.gnu.org; Fri, 01 May 2015 14:43:49 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NNO00D00P1QQM00@a-mtaout22.012.net.il> for 20466@debbugs.gnu.org; Fri, 01 May 2015 21:43:42 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNO00DU5PCTCK80@a-mtaout22.012.net.il>; Fri, 01 May 2015 21:43:42 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102342 Archived-At: > From: Stefan Monnier > Cc: drew.adams@oracle.com, 20466@debbugs.gnu.org > Date: Fri, 01 May 2015 14:03:26 -0400 > > >> What you're basically saying is that we should give up on the > >> function-key-map binding which remaps `backspace' to DEL. > > No, I'm saying it's unreliable, in the sense that a user who wants to > > customize DEL cannot rely on Backspace continue doing what DEL does. > > Exactly: you're saying "it's unreliable, so just forget about ti and > always bind both keys". Or don't bind either, in which case you don't need to "just forget about it". > And if both keys are bound in foo-map, then both keys also need to > be bound in any other bar-map if the two ever happen to be active at > the same time You lost me. What do you mean by "active at the same time"? > so whoever follows your advice will force other people to follow it > as well. Good advice is like that, yes. > The end result is that will always be bound and the > function-key-map binding will be useless. Not if these keys are left at their default bindings, no. > The purpose of the function-key-map binding is to make sure that if > you want the same behavior for both, then you only need one binding > (the one on DEL). Which doesn't work if the mode binds Backspace. > > Whatever you do, my rule will always yield more reliable results. > > And will break more other cases where people have followed the path > usually recommended (i.e. "only bind the DEL or TAB event unless you > want to distinguish the two"). But this is exactly what the OP did, and look where it got him.