From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov 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: Wed, 03 Jun 2015 01:02:51 +0300 Organization: LINKOV.NET Message-ID: <87zj4hsr90.fsf_-_@mail.linkov.net> References: <890ac68c-1c71-49c7-9e60-45afba90d74a@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1433282786 2250 80.91.229.3 (2 Jun 2015 22:06:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2015 22:06:26 +0000 (UTC) Cc: 20687@debbugs.gnu.org To: Kaushal Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 03 00:06:15 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 1YzuK5-0007I2-3e for geb-bug-gnu-emacs@m.gmane.org; Wed, 03 Jun 2015 00:06:13 +0200 Original-Received: from localhost ([::1]:32816 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzuK4-0002X8-Bb for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jun 2015 18:06:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzuJz-0002Wd-TE for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2015 18:06:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzuJu-0004eZ-Py for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2015 18:06:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzuJu-0004eT-Lt for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2015 18:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YzuJu-0007Jd-HG for bug-gnu-emacs@gnu.org; Tue, 02 Jun 2015 18:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jun 2015 22:06: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.143328273828058 (code B ref 20687); Tue, 02 Jun 2015 22:06:02 +0000 Original-Received: (at 20687) by debbugs.gnu.org; 2 Jun 2015 22:05:38 +0000 Original-Received: from localhost ([127.0.0.1]:38007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzuJU-0007IQ-Ll for submit@debbugs.gnu.org; Tue, 02 Jun 2015 18:05:37 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:60005 helo=homiemail-a22.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YzuJQ-0007I3-MO for 20687@debbugs.gnu.org; Tue, 02 Jun 2015 18:05:33 -0400 Original-Received: from homiemail-a22.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTP id 170D11A8071; Tue, 2 Jun 2015 15:05:32 -0700 (PDT) Original-Received: from localhost.linkov.net (m83-176-9-1.cust.tele2.ee [83.176.9.1]) (Authenticated sender: jurta@jurta.org) by homiemail-a22.g.dreamhost.com (Postfix) with ESMTPA id DBF5F1A8069; Tue, 2 Jun 2015 15:05:30 -0700 (PDT) In-Reply-To: (Kaushal's message of "Tue, 2 Jun 2015 09:08:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) 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:103520 Archived-At: > I tried the fix as Drew suggested and it works great. > > Patch: > > --- replace.el 2015-06-02 09:04:57.944380000 -0400 > +++ replace-editted.el 2015-06-02 09:08:22.038682000 -0400 > @@ -2099,12 +2099,11 @@ > ;; Data for the next match. If a cons, it has the same format as > ;; (match-data); otherwise it is t if a match is possible at > point. > (match-again t) > - > (message > (if query-flag > (apply 'propertize > (substitute-command-keys > - "Query replacing %s with %s: (\\\\[help] for help) ") > + "%sQuery replacing %s with %s: (\\\\[help] for help) ") > minibuffer-prompt-properties)))) > > ;; If region is active, in Transient Mark mode, operate on region. > @@ -2275,6 +2274,8 @@ > nocasify literal)) > next-replacement))) > (message message > + ;; Show whether `case-fold-search' is `t' or `nil' > + (if case-fold-search "[case] " "[CaSe] ") > (query-replace-descr from-string) > (query-replace-descr Maybe we should use the same message about case-folding like in isearch?