From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20466: 25.0.50; REGRESSION in `isearch-mode-map': is not translated to DEL Date: Thu, 30 Apr 2015 10:30:09 +0100 Message-ID: References: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1430386283 13177 80.91.229.3 (30 Apr 2015 09:31:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 09:31:23 +0000 (UTC) Cc: 20466@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 11:31:14 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 1YnkoJ-0005Bb-LI for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 11:31:11 +0200 Original-Received: from localhost ([::1]:42747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnkoI-0004o2-Vw for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 05:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35212) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnkoE-0004nl-Dg for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 05:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnkoB-0005C6-68 for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 05:31:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46954) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnkoB-0005C2-2T for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 05:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YnkoA-0006Cj-Lm for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Apr 2015 09:31: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.143038622023783 (code B ref 20466); Thu, 30 Apr 2015 09:31:02 +0000 Original-Received: (at 20466) by debbugs.gnu.org; 30 Apr 2015 09:30:20 +0000 Original-Received: from localhost ([127.0.0.1]:56929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnknT-0006B7-8S for submit@debbugs.gnu.org; Thu, 30 Apr 2015 05:30:20 -0400 Original-Received: from mail-lb0-f173.google.com ([209.85.217.173]:34452) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnknP-0006Ag-Lz for 20466@debbugs.gnu.org; Thu, 30 Apr 2015 05:30:16 -0400 Original-Received: by lbcga7 with SMTP id ga7so39942494lbc.1 for <20466@debbugs.gnu.org>; Thu, 30 Apr 2015 02:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Euc1Mw4JI1/m1dv/Yl4ZIZqPzFVW7VTQ2vRGOyu/kmQ=; b=VaDNkoGJPAXxDyVH+qrz5gcp5xoX4gggH3WZLsordCsu1Nt8ZOPZCq8A5rH8xFhCmE xJqWSIBoZM4PmNSLKv7ONyqYitxSkInuDBM5P+W5UCA5IFFtDY2EixdkAU/c+SWmrGMW 2kVC/tE4OVOSOg1k2yAoAAA/Eg82lUuV5H4RJ5LzvdgIxG6YVI96jbpGahA/p9v15ICS KWsWQdY6DDSf4g6lbfJw6XxWF4dIQ9vSVhKDhvxbrELjBIhXc+JuUxH9PY1bHHRO6mhE zA+qGuagLJ4Wij327C8TRQxsegI1z2B9xtnm4lV94fwHx5MElIk6r+t/+SN69NDclu4E F9lQ== X-Received: by 10.112.222.133 with SMTP id qm5mr3020581lbc.86.1430386209413; Thu, 30 Apr 2015 02:30:09 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Thu, 30 Apr 2015 02:30:09 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: 3H0yRuEVhbOS0j892CQabW0BUU4 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:102280 Archived-At: Looking at the commit message for that change, it points at this bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16342 It looks valid to me. Isearch doesn't know where it's being run so it needs to ensure backspace is bound to the right key. I suppose it could do some keybind checking and only bind backspace if it wouldn't already be translated to DEL, but then this reported issue would still happen on these cases (and it would be even harder for the user to figure out because it would only happen on some buffers). 2015-04-30 6:19 GMT+01:00 Drew Adams : > This regression was apparently introduced in Emacs 24.4. > > (define-key isearch-mode-map (kbd "DEL") > (lambda () (interactive) (message "@@@@@@@@@@@@@@@@"))) > > During Isearch, hit the Backspace key. `DEL' is not used, so the > message is not seen. `isearch-mode-map' shows that `DEL' is correctly > bound to the above command, but `' is bound to > `isearch-delete-char'. It is not translated to `DEL', as is the case in > Emacs generally (still), but it instead now has its own explicit binding > in `isearch-mode-map'. > > Why? This is an unexpected (and unnecessary?) obstacle for users. > It is an incompatible change, and I see nothing in NEWS about it. > Was it an oversight or intentional? > > In Emacs prior to 24.4, the message is shown, and `isearch-mode-map' > shows that `DEL' is bound to the above command and there is no binding > for `'. Because there is no binding for it, it gets > translated to `DEL' (as is true in Emacs generally, even in 24.4+). > > In GNU Emacs 25.0.50.1 (i686-pc-mingw32) > of 2014-10-20 on LEG570 > Bzr revision: 118168 rgm@gnu.org-20141020195941-icp42t8ttcnud09g > Windowing system distributor `Microsoft Corp.', version 6.1.7601 > Configured using: > `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1' > > >