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#12655: 24.2; Cannot discover automatic-all or other multi-buffer replacement commands Date: Tue, 16 Oct 2012 01:16:03 +0300 Organization: JURTA Message-ID: <87pq4jz8ik.fsf@mail.jurta.org> References: <871uh0netd.fsf@sc3d.org> <87a9vnydgb.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350340143 20587 80.91.229.3 (15 Oct 2012 22:29:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2012 22:29:03 +0000 (UTC) Cc: 12655@debbugs.gnu.org To: Reuben Thomas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 16 00:29:06 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 1TNt9j-0000sg-SP for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Oct 2012 00:29:04 +0200 Original-Received: from localhost ([::1]:46907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNt9c-0008Qk-Ku for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2012 18:28:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNt9a-0008Ox-Ey for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 18:28:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TNt9Z-0002Hp-6K for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 18:28:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TNt9Z-0002Hl-3E for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 18:28:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TNtAf-0004g1-Ue for bug-gnu-emacs@gnu.org; Mon, 15 Oct 2012 18:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Oct 2012 22:30:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12655-submit@debbugs.gnu.org id=B12655.135034017517923 (code B ref 12655); Mon, 15 Oct 2012 22:30:01 +0000 Original-Received: (at 12655) by debbugs.gnu.org; 15 Oct 2012 22:29:35 +0000 Original-Received: from localhost ([127.0.0.1]:45835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNtAE-0004f1-PV for submit@debbugs.gnu.org; Mon, 15 Oct 2012 18:29:35 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:41745 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TNtAB-0004eq-NK for 12655@debbugs.gnu.org; Mon, 15 Oct 2012 18:29:32 -0400 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id B771D451CBCF; Mon, 15 Oct 2012 15:28:20 -0700 (PDT) In-Reply-To: (Reuben Thomas's message of "Mon, 15 Oct 2012 19:36:20 +0100") 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:65648 Archived-At: > It should be somewhere that is controlled by the multifile > map being hooked into the keymap. The place that documents the current > keymap, i.e. the mode help, seems to be a logical place for this. Then the right place to document it is in `query-replace-help': === modified file 'lisp/replace.el' --- lisp/replace.el 2012-10-05 21:27:50 +0000 +++ lisp/replace.el 2012-10-15 21:52:54 +0000 @@ -1604,9 +1604,12 @@ (defconst query-replace-help C-r to enter recursive edit (\\[exit-recursive-edit] to get out again), C-w to delete match and recursive edit, C-l to clear the screen, redisplay, and offer same replacement again, -! to replace all remaining matches with no more questions, +! to replace all remaining matches in this buffer with no more questions, ^ to move point back to previous match, -E to edit the replacement string" +E to edit the replacement string. +In multi-buffer replacements type `Y' to replace all remaining +matches in all remaining buffers with no more questions, +`N' to skip to the next buffer without replacing remaining matches +in the current buffer." "Help message while in `query-replace'.") > Might it be more logical to mention it in the documentation "(emacs) > Query Replace", where all the other keystrokes are documented? Right, with a link from (info "(emacs) Tags Search") to (info "(emacs) Query Replace") (this link is fixed below) this can be documented in (info "(emacs) Query Replace"): === modified file 'doc/emacs/search.texi' --- doc/emacs/search.texi 2012-09-30 09:18:38 +0000 +++ doc/emacs/search.texi 2012-10-15 21:57:19 +0000 @@ -1239,6 +1239,19 @@ @node Query Replace @item ! to replace all remaining occurrences without asking again. +@item Y @r{(Upper-case)} +to replace all remaining occurrences in all remaining buffers in +multi-buffer replacements (like the Dired `Q' command which performs +query replace on selected files). It answers this question and all +subsequent questions in the series with "yes", without further +user interaction. + +@item N @r{(Upper-case)} +to skip to the next buffer in multi-buffer replacements without +replacing remaining occurrences in the current buffer. It answers +this question "no", gives up on the questions for the current buffer, +and continues to the next buffer in the sequence. + @item ^ to go back to the position of the previous occurrence (or what used to be an occurrence), in case you changed it by mistake or want to === modified file 'doc/emacs/maintaining.texi' --- doc/emacs/maintaining.texi 2012-10-02 06:44:30 +0000 +++ doc/emacs/maintaining.texi 2012-10-15 21:59:41 +0000 @@ -2221,7 +2221,7 @@ @node Tags Search reads a regexp to search for and a string to replace with, just like ordinary @kbd{M-x query-replace-regexp}. It searches much like @kbd{M-x tags-search}, but repeatedly, processing matches according to your -input. @xref{Replace}, for more information on query replace. +input. @xref{Query Replace}, for more information on query replace. @vindex tags-case-fold-search @cindex case-sensitivity and tags search