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: Tue, 1 Jun 2004 20:04:01 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040602000401.GA20242@fencepost> References: <20040528.182035.197345599.wl@gnu.org> <87k6yvorzf.fsf@mail.jurta.org> <20040529213132.GA31322@fencepost> <873c5hd35q.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086134687 30429 80.91.224.253 (2 Jun 2004 00:04:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2004 00:04:47 +0000 (UTC) Cc: Juri Linkov , wl@gnu.org, emacs-devel@gnu.org, rms@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 02 02:04:40 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 1BVJFI-0004lT-00 for ; Wed, 02 Jun 2004 02:04:40 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVJFI-0008QS-00 for ; Wed, 02 Jun 2004 02:04:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVJFY-0002uh-0W for emacs-devel@quimby.gnus.org; Tue, 01 Jun 2004 20:04:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVJFO-0002tr-CN for emacs-devel@gnu.org; Tue, 01 Jun 2004 20:04:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVJFN-0002tF-RF for emacs-devel@gnu.org; Tue, 01 Jun 2004 20:04:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVJFN-0002st-OT for emacs-devel@gnu.org; Tue, 01 Jun 2004 20:04:45 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVJEl-0004TR-US for emacs-devel@gnu.org; Tue, 01 Jun 2004 20:04:07 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BVJEf-0005S9-9s; Tue, 01 Jun 2004 20:04:01 -0400 Original-To: Stefan Monnier Content-Disposition: inline In-Reply-To: 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:24372 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24372 On Tue, Jun 01, 2004 at 07:48:23PM -0400, Stefan Monnier wrote: > > I tried Stefan's implementation and it works fine. I have only one remark: > > if the last history item contains newlines, it may confuse users because > > it displays only the closing square bracket at the minibuffer prompt. > > Good point. How about the version below instead? The standard emacs syntax for prompt defaults seems to be "(default ...)"; is there any reason to use some different syntax here? [I know, things are not exactly consistent as it is, but let's not make it worse.] -Miles -- "1971 pickup truck; will trade for guns"