From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: improving query-replace and query-replace-regexp Date: Sat, 29 May 2004 08:03:20 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040529120320.GA4056@fencepost> References: <20040528.182035.197345599.wl@gnu.org> <20040529105723.GD27145@fencepost> <86vfifo36e.fsf@rumba.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085832611 6838 80.91.224.253 (29 May 2004 12:10:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 May 2004 12:10:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 29 14:10:05 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BU2f7-00047c-00 for ; Sat, 29 May 2004 14:10:05 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BU2f6-0004RR-00 for ; Sat, 29 May 2004 14:10:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU2fB-0004FX-Jq for emacs-devel@quimby.gnus.org; Sat, 29 May 2004 08:10:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BU2f8-00047o-0T for emacs-devel@gnu.org; Sat, 29 May 2004 08:10:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BU2f7-00046I-7c for emacs-devel@gnu.org; Sat, 29 May 2004 08:10:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU2f7-000468-4P for emacs-devel@gnu.org; Sat, 29 May 2004 08:10:05 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BU2Ya-0001Kh-JS for emacs-devel@gnu.org; Sat, 29 May 2004 08:03:20 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BU2Ya-0001Ly-1a; Sat, 29 May 2004 08:03:20 -0400 Original-To: Kai Grossjohann Content-Disposition: inline In-Reply-To: <86vfifo36e.fsf@rumba.de.uu.net> User-Agent: Mutt/1.3.28i Blat: Foop X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24160 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24160 On Sat, May 29, 2004 at 01:58:33PM +0200, Kai Grossjohann wrote: > > It's not necessary -- as those commands use normal minibuffer input, you > > can just use the normal minibuffer history mechanism (M-p, etc). > > Well, the "from" and "to" prompts use the same history, so you have > to be quite careful about the number of times you hit M-p. > > One idea would be to have them use separate histories. I think that would be a mistake -- I very often use the history to retrieve the `other half' of the search-replace pair, as often the replacement is simply a slight change to the search text. > But I just use C-x ESC ESC to repeat query-replace. Me too, if I just want to exactly redo the q-r. Anyway, I think there are enough convenient tools already at hand. -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down.