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#12526: 24.2.50; `query-replace-interactive' not always respected Date: Thu, 04 Oct 2012 12:09:17 +0300 Organization: JURTA Message-ID: <87d30y7gea.fsf@mail.jurta.org> References: <877gr8obbs.fsf@mail.jurta.org> <878vbnnmmc.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349401926 24963 80.91.229.3 (5 Oct 2012 01:52:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:52:06 +0000 (UTC) Cc: 12526@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 03:52:08 2012 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 1TJx50-0005tv-ET for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 03:51:54 +0200 Original-Received: from localhost ([::1]:49138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJhXQ-0007fn-3z for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2012 05:16:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39023) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJhXI-0007bn-P0 for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 05:16:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJhXC-0004nv-Kk for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 05:16:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJhXC-0004nj-HK for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 05:15:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TJhXG-0007dC-9m for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 05:16:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2012 09:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12526 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12526-submit@debbugs.gnu.org id=B12526.134934215129313 (code B ref 12526); Thu, 04 Oct 2012 09:16:02 +0000 Original-Received: (at 12526) by debbugs.gnu.org; 4 Oct 2012 09:15:51 +0000 Original-Received: from localhost ([127.0.0.1]:52364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJhX5-0007ck-DE for submit@debbugs.gnu.org; Thu, 04 Oct 2012 05:15:51 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:52081 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJhX3-0007cd-1Q for 12526@debbugs.gnu.org; Thu, 04 Oct 2012 05:15:49 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 05B49451CCFC; Thu, 4 Oct 2012 02:15:42 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:65193 Archived-At: > As I said before, I think it is unsuitable to assume that the user > always wants to use the last search string as "from" string in > query-replace (when query-replace is invoked from Isearch). `query-replace' is not invoked from Isearch. `isearch-query-replace' is invoked from Isearch. So your wish is about invoking `query-replace' instead of `isearch-query-replace' from Isearch. Your wish is not different from other similar desires e.g.: "I want `M-e' in Isearch to exit Isearch and call `forward-sentence' instead of editing the search string" or "I want `C-y' in Isearch to exit Isearch and call `yank' instead of pulling string from the kill ring into the search string" and the same can be said for other Isearch keybindings too. All of them could be solved at once by implementing a new feature that will bypass Isearch keybindings to original commands.