From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben A. Newsgroups: gmane.emacs.bugs Subject: bug#14979: 24.3; Feature Request: query-replace-backward Date: Sat, 03 Aug 2013 16:44:40 -0400 Message-ID: <87siyq8pxj.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> <871u6fzu6h.fsf@ThinkPad-W520.localdomain> <87ob9hyvhx.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375562778 4204 80.91.229.3 (3 Aug 2013 20:46:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 Aug 2013 20:46:18 +0000 (UTC) Cc: Jambunathan K , 14979@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 03 22:46:18 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 1V5iiQ-00024R-DJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2013 22:46:18 +0200 Original-Received: from localhost ([::1]:36381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5iiP-0007z2-Rq for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Aug 2013 16:46:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5iiG-0007ys-Jv for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2013 16:46:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V5iiA-0006fK-Hi for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2013 16:46:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V5iiA-0006fE-Ey for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2013 16:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V5iiA-0005xv-1b for bug-gnu-emacs@gnu.org; Sat, 03 Aug 2013 16:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ben A. Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Aug 2013 20:46:01 +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.137556272322873 (code B ref 14979); Sat, 03 Aug 2013 20:46:01 +0000 Original-Received: (at 14979) by debbugs.gnu.org; 3 Aug 2013 20:45:23 +0000 Original-Received: from localhost ([127.0.0.1]:38553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5ihX-0005wr-BU for submit@debbugs.gnu.org; Sat, 03 Aug 2013 16:45:23 -0400 Original-Received: from mout.gmx.net ([74.208.4.201]:58893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V5ihU-0005wd-N2 for 14979@debbugs.gnu.org; Sat, 03 Aug 2013 16:45:21 -0400 Original-Received: from ThinkPad-W520.localdomain ([24.184.99.33]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0LkxPv-1UVHsy0cGD-00alsd for <14979@debbugs.gnu.org>; Sat, 03 Aug 2013 22:45:14 +0200 In-Reply-To: <87ob9hyvhx.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:oOEPFnj4eXXPw1G4hXeE0N8djo4tp4gYNDWN2th7XYOSGEQy3x1 XTjsacYdJfxJO2FZBQiph0Vtjbu2T9Fl4uBHZKxj0xABIf4ltnI/nuZlmhFrMm5M4jVkYw3 gu46u2T4IbpT30UPTsRxkTxVVIPmV8IZzBnb5WD9/l7uFepVYgiQVYDy3dZxu4PBWrvZojH VGsy/8L6lMYjhjdbRuI4Q== 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:76943 Archived-At: Juri Linkov writes: > One unclear point: you said that you want to replace words backwards. > Currently a numeric argument or C-u means to replace words forwards > (delimited by word boundary characters). If a negative argument > will mean normal non-word replacement backwards, then what a prefix > should mean word replacement backwards? To summarize the question: > > no prefix M-% - normal non-word replacement forwards > C-u M-% - word replacement forwards > M-- M-% (negative argument) - normal non-word replacement backwards > ??? - word replacement backwards > A possibility might be: no prefix M-% - normal non-word replacement forwards C-u M-% - word replacement forwards M-0 M-% - normal non-word replacement backwards M-- M-% - word replacement backwards this is somewhat analogous to the behavior of kill-line. Ben