From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ben.a@gmx.us Newsgroups: gmane.emacs.bugs Subject: bug#14979: 24.3; Feature Request: query-replace-backward Date: Tue, 30 Jul 2013 16:09:26 -0400 Message-ID: <871u6fzu6h.fsf@ThinkPad-W520.localdomain> References: <87mwp612ou.fsf@ThinkPad-W520.localdomain> <87y58pg7pq.fsf@gmail.com> <87txjdg7kc.fsf@gmail.com> <87wqo922so.fsf@mail.jurta.org> <87a9l5yt8g.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375215022 7783 80.91.229.3 (30 Jul 2013 20:10:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 20:10:22 +0000 (UTC) Cc: 14979@debbugs.gnu.org To: Juri Linkov , Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 22:10:24 2013 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 1V4GFS-0001Tr-QI for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 22:10:22 +0200 Original-Received: from localhost ([::1]:42058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4GFS-0007Sb-CG for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 16:10:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4GFG-0007R2-5D for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:10:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4GF9-00048Z-Eg for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:10:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36451) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4GF9-00047J-8d for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V4GF8-0003dL-Ib for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2013 16:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ben.a@gmx.us Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2013 20:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14979 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14979-submit@debbugs.gnu.org id=B14979.137521498513934 (code B ref 14979); Tue, 30 Jul 2013 20:10:02 +0000 Original-Received: (at 14979) by debbugs.gnu.org; 30 Jul 2013 20:09:45 +0000 Original-Received: from localhost ([127.0.0.1]:58999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4GEr-0003cg-Bz for submit@debbugs.gnu.org; Tue, 30 Jul 2013 16:09:45 -0400 Original-Received: from mout.gmx.net ([74.208.4.201]:62051) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V4GEp-0003cO-2o for 14979@debbugs.gnu.org; Tue, 30 Jul 2013 16:09:44 -0400 Original-Received: from ThinkPad-W520.localdomain ([24.184.99.33]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0Lz47y-1U0UM33cMS-014GWy for <14979@debbugs.gnu.org>; Tue, 30 Jul 2013 22:09:36 +0200 In-Reply-To: <87a9l5yt8g.fsf@mail.jurta.org> User-Agent: Notmuch/0.15.2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) X-Provags-ID: V03:K0:6K9NWMudtHKJhD4PXPYY24M/bUtmWoRpnbNixZndO7hKDPKktxf sI/Ftcamyw0WfOHJG2uPzZcZjp0xabW2yCVZBBnJ3qIupu0QNlH7FGr88cUSMjPiHSzEvqg MV2klX1i/ku7uOO+L+oSoqNqtcBMYbQj/4VWxvkJgbzK+DPpD5l6PFuFt6F1zdKMZnzkQJL TYG+hTHZ+PQ4040LxeJgw== 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:76832 Archived-At: Thanks for your interest in my bug report. The use case I had in mind was changing a couple of instances of a word backwards from the point. Typing M-- C-M-% is fewer keystrokes than pressing C-r a few times then C-M-%. It is also fewer keystrokes than setting the mark, then moving through the document to find a proper starting point and finally pressing C-M-%. The best solution would be if the functions query-replace and query-replace-regexp are changed so that they step backwards when receiving a negative argument. I have come across the website freedomsponsors.org and thought it would be an interesting experiment to put a prize on fixing this bug. If anyone is interested in working on this please visit http://www.freedomsponsors.org/core/issue/309/243-feature-request-query-replace-backward Ben