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: Thu, 30 Apr 2015 16:55:48 +0300 Message-ID: <83383hu3dn.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1430402250 26370 80.91.229.3 (30 Apr 2015 13:57:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 13:57:30 +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 15:57:19 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 1Ynoxm-000469-DR for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 15:57:14 +0200 Original-Received: from localhost ([::1]:44040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynoxl-0007iZ-VB for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 09:57:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynoxh-0007fW-04 for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:57:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ynoxc-0006S5-8B for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:57:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47683) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ynoxc-0006S1-6C for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:57:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ynoxb-00061k-Tl for bug-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:57:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Apr 2015 13:57:03 +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.143040216323131 (code B ref 20466); Thu, 30 Apr 2015 13:57:03 +0000 Original-Received: (at 20466) by debbugs.gnu.org; 30 Apr 2015 13:56:03 +0000 Original-Received: from localhost ([127.0.0.1]:57654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ynowc-00060p-0Y for submit@debbugs.gnu.org; Thu, 30 Apr 2015 09:56:02 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:64461) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YnowY-0005zg-BY for 20466@debbugs.gnu.org; Thu, 30 Apr 2015 09:56:00 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NNM00100H63UI00@a-mtaout22.012.net.il> for 20466@debbugs.gnu.org; Thu, 30 Apr 2015 16:55:49 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNM001ZHHD1RV20@a-mtaout22.012.net.il>; Thu, 30 Apr 2015 16:55:49 +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:102286 Archived-At: > Date: Wed, 29 Apr 2015 22:19:48 -0700 (PDT) > From: 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. The "why" part was answered by Artur, who pointed to the bug report which triggered that change. > It is an incompatible change, and I see nothing in NEWS about it. It's not really incompatible, but I agree that it would be good to document the change, although I don't believe we document changes in keybindings in general. May I ask what kind of real-life use case is behind this? I learned long ago that if you want to change the binding of DEL, you had better changed the binding of Backspace accordingly at the same time, because there's no guarantee Backspace will not be bound in any particular mode. So why you are showing a use case that violates this simple rule?