From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier 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 17:12:28 -0400 Message-ID: References: <83383hu3dn.fsf@gnu.org> <83lhh8stb0.fsf@gnu.org> <83mw1oqgtt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1430514805 20359 80.91.229.3 (1 May 2015 21:13:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2015 21:13:25 +0000 (UTC) Cc: 20466-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 01 23:13:13 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 1YoIFE-0003fk-4x for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 23:13:12 +0200 Original-Received: from localhost ([::1]:55585 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoIFD-0002OJ-HO for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 May 2015 17:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoIF9-0002LH-Bq for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 17:13:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YoIF5-0003Wo-8f for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 17:13:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YoIF5-0003WP-6D for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 17:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YoIF4-0001NQ-Tf for bug-gnu-emacs@gnu.org; Fri, 01 May 2015 17:13:02 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 May 2015 21:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 20466 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 20466@debbugs.gnu.org, monnier@iro.umontreal.ca, drew.adams@oracle.com Original-Received: via spool by 20466-done@debbugs.gnu.org id=D20466.14305147585232 (code D ref 20466); Fri, 01 May 2015 21:13:02 +0000 Original-Received: (at 20466-done) by debbugs.gnu.org; 1 May 2015 21:12:38 +0000 Original-Received: from localhost ([127.0.0.1]:58979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoIEf-0001MJ-DC for submit@debbugs.gnu.org; Fri, 01 May 2015 17:12:37 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62309) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YoIEc-0001Lw-FR for 20466-done@debbugs.gnu.org; Fri, 01 May 2015 17:12:35 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnEFAGvvdVS4rw4V/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGLdgwBCVgMA4M+A4NwBKNjhFg X-IPAS-Result: AnEFAGvvdVS4rw4V/2dsb2JhbAA3gVOfQYIugQiBdQEBBAFWIwULCzQSFBgNJIgTohGLdgwBCVgMA4M+A4NwBKNjhFg X-IronPort-AV: E=Sophos;i="5.11,557,1422939600"; d="scan'208";a="118040249" Original-Received: from 184-175-14-21.dsl.teksavvy.com (HELO pastel.home) ([184.175.14.21]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 May 2015 17:12:28 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 5E10F6ADE; Fri, 1 May 2015 17:12:28 -0400 (EDT) In-Reply-To: <83mw1oqgtt.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 01 May 2015 21:43:26 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) 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:102346 Archived-At: I installed the proposed patch, which should fix this bug, without re-introducing the other bug. Stefan > You lost me. What do you mean by "active at the same time"? Both appear in `current-active-maps' in some buffer at some point. (e.g. one binding in a minor mode, another in a major-mode) >> 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. That's only if noone bound anything, in which case noone followed neither's advice anyway. Not a very enlightening case. >> 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. Which mode? And presumably if a keymap binds Backspace it's specifically because it wants backspace to behave differently from DEL, in which case it's fine if function-key-map is not used. >> > 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. That's because the binding we used in isearch.el followed your advice rather than mine ;-)