From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.bugs Subject: bug#12526: 24.2.50; `query-replace-interactive' not always respected Date: Thu, 4 Oct 2012 13:45:38 +0200 Message-ID: References: <877gr8obbs.fsf@mail.jurta.org> <878vbnnmmc.fsf@mail.jurta.org> <87d30y7gea.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1349401970 25536 80.91.229.3 (5 Oct 2012 01:52:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:52:50 +0000 (UTC) Cc: 12526@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 03:52:51 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 1TJx4s-0006Y7-SS for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2012 03:51:46 +0200 Original-Received: from localhost ([::1]:58612 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJjsP-0004W3-BS for geb-bug-gnu-emacs@m.gmane.org; Thu, 04 Oct 2012 07:46:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJjsM-0004Vv-U4 for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 07:45:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJjsL-0006ci-PB for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 07:45:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJjsL-0006ce-Ka for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 07:45:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TJjsP-0003R1-MP for bug-gnu-emacs@gnu.org; Thu, 04 Oct 2012 07:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Oct 2012 11:46:01 +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.134935115313188 (code B ref 12526); Thu, 04 Oct 2012 11:46:01 +0000 Original-Received: (at 12526) by debbugs.gnu.org; 4 Oct 2012 11:45:53 +0000 Original-Received: from localhost ([127.0.0.1]:52467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJjsG-0003Qe-Fg for submit@debbugs.gnu.org; Thu, 04 Oct 2012 07:45:53 -0400 Original-Received: from mail-ob0-f172.google.com ([209.85.214.172]:48369) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TJjsD-0003QR-Iy for 12526@debbugs.gnu.org; Thu, 04 Oct 2012 07:45:51 -0400 Original-Received: by mail-ob0-f172.google.com with SMTP id v19so348409obq.3 for <12526@debbugs.gnu.org>; Thu, 04 Oct 2012 04:45:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LycAG/otSR8c+u5l92EfaxjwrkRTfbfY1OjToUoU9UE=; b=eRhSb0sZkArs4Z3qp/r+Cpq0ZNSC3Q6rT8YDOojXajvdU9XYJsHa/Aqqm+k4z30v4k NYA9nmDXMg4au7krl0omW/7Rj5+zcT/BRX+i5XEtrqy+t/yqMnjayRgFGjnnm75LyO9K k8J/rlCazxtWex5dO2BBL/fGPVa+HGeTOYL9QML0j6nZv85WFgOa2ULX4SHGxEu3hu8k I5KyhRuC1OsYNKBZLhlUW0XJwx7ln8A2nSTPttoPm4+3hsY0Ct41BHOoRlo6EdOSrJUc WKwqx7GwLKTHFAVejKJVlrkVd8l/bpTESixrUHIbhSTxkCWoHVmyM379Lk7fPwwQH8aE 4Aig== Original-Received: by 10.182.144.100 with SMTP id sl4mr4116199obb.14.1349351138432; Thu, 04 Oct 2012 04:45:38 -0700 (PDT) Original-Received: by 10.60.4.132 with HTTP; Thu, 4 Oct 2012 04:45:38 -0700 (PDT) In-Reply-To: <87d30y7gea.fsf@mail.jurta.org> 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:65198 Archived-At: On Thu, Oct 4, 2012 at 11:09 AM, Juri Linkov wrote: >> 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. Ah, right. I didn't notice it. I thought that M-% wasn't rebound in Isearch. > So your wish is about invoking `query-replace' > instead of `isearch-query-replace' from Isearch. I think so. What is the difference between these two commands, apart from the one involving the "from" string? > 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. Ok, thanks for clarifying this. -- Dani Moncayo