From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: search.texi V1.65: query-replace has a key binding. Date: Sat, 13 Aug 2005 12:47:04 +0000 (GMT) Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1123938049 2767 80.91.229.2 (13 Aug 2005 13:00:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2005 13:00:49 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 13 15:00:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E3vc3-0002Wh-Dz for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 14:59:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3vfJ-0002V8-Ry for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 09:03:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E3veW-0002G6-LU for emacs-devel@gnu.org; Sat, 13 Aug 2005 09:02:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E3veV-0002Fb-K6 for emacs-devel@gnu.org; Sat, 13 Aug 2005 09:02:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3veC-0001cI-J6 for emacs-devel@gnu.org; Sat, 13 Aug 2005 09:02:00 -0400 Original-Received: from [193.149.49.134] (helo=acm.acm) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E3vaM-0005gt-0J for emacs-devel@gnu.org; Sat, 13 Aug 2005 08:58:03 -0400 Original-Received: from localhost (root@localhost) by acm.acm (8.8.8/8.8.8) with SMTP id MAA00473 for ; Sat, 13 Aug 2005 12:47:05 GMT X-Sender: root@acm.acm Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41995 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41995 In search.texi V1.65, page "Replacement Commands", the reader is told: In addition to the simple `replace-string' command which replaces all occurrences, there is a `M-x query-replace' command which .... . Why are we suggesting she use M-x query-replace here, when there's a perfectly good key binding, M-%, for this command? I think the key binding should be mentioned here. I therefore propose the following amendment: 2005-08-13 Alan Mackenzie * search.texi (Replacement Commands): Mention query-replace by its key binding. *** search.texi Sat Aug 13 11:19:55 2005 --- search.texi.new Sat Aug 13 12:25:18 2005 *************** *** 917,923 **** Global search-and-replace operations are not needed often in Emacs, but they are available. In addition to the simple @kbd{M-x replace-string} command which replaces all occurrences, ! there is a @kbd{M-x query-replace} command which finds each occurrence of the pattern and asks you whether to replace it. The replace commands normally operate on the text from point to the --- 917,923 ---- Global search-and-replace operations are not needed often in Emacs, but they are available. In addition to the simple @kbd{M-x replace-string} command which replaces all occurrences, ! there is @kbd{M-%} (@code{query-replace}), which finds each occurrence of the pattern and asks you whether to replace it. The replace commands normally operate on the text from point to the -- Alan Mackenzie (Munich, Germany)