From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20687: 25.0.50; `perform-replace' should invoke a key that you have bound in `query-replace-map' Date: Mon, 1 Jun 2015 14:11:42 -0700 (PDT) Message-ID: <890ac68c-1c71-49c7-9e60-45afba90d74a@default> References: <87pp5fb172.fsf@mail.linkov.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1433193146 14924 80.91.229.3 (1 Jun 2015 21:12:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jun 2015 21:12:26 +0000 (UTC) Cc: 20687@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 01 23:12: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 1YzX0F-0003hf-JG for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 23:12:11 +0200 Original-Received: from localhost ([::1]:54378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzX0E-0008UB-Io for geb-bug-gnu-emacs@m.gmane.org; Mon, 01 Jun 2015 17:12:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzX0A-0008U3-5V for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 17:12:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzX06-0003uH-Rr for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 17:12:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzX06-0003u9-PL for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzX06-0001vf-7P for bug-gnu-emacs@gnu.org; Mon, 01 Jun 2015 17:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Jun 2015 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20687-submit@debbugs.gnu.org id=B20687.14331931147402 (code B ref 20687); Mon, 01 Jun 2015 21:12:02 +0000 Original-Received: (at 20687) by debbugs.gnu.org; 1 Jun 2015 21:11:54 +0000 Original-Received: from localhost ([127.0.0.1]:36440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzWzx-0001vJ-L3 for submit@debbugs.gnu.org; Mon, 01 Jun 2015 17:11:53 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:20576) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzWzw-0001v6-0m for 20687@debbugs.gnu.org; Mon, 01 Jun 2015 17:11:52 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t51LBjiH006683 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 1 Jun 2015 21:11:46 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t51LBhYL003064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 1 Jun 2015 21:11:45 GMT Original-Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t51LBh03004851; Mon, 1 Jun 2015 21:11:43 GMT In-Reply-To: <87pp5fb172.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:103458 Archived-At: > Could you please send an example of your custom keybindings in > `query-replace-map' that currently don't work. I don't have any custom keybindings in `query-replace-map' that don't work (in fact, I don't have any custom bindings in that map at all). This bug report came from this emacs.StackExchange answer - see the discussion in the comments. http://emacs.stackexchange.com/a/12781/105. The aim here was to add `C' to `query-replace-map', to have it toggle `case-fold-search'. But it doesn't matter what key a user might want to bind to what command during q-r. The point is that a user can do that (that's what keymaps and key bindings are for), but currently `perform-replace' refuses to recognize such a key and its command. There is no good reason for this, AFAICT. It should be OK for a user to do this. Of course, that doesn't update the doc string to reflect the new key and its action, but that's all. At the user level, this should be something that users can do easily, without needing to perform surgery.