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: Thu, 3 Jun 2004 18:20:15 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040603222015.GA21059@fencepost> References: <20040528.182035.197345599.wl@gnu.org> <87k6yvorzf.fsf@mail.jurta.org> <20040529213132.GA31322@fencepost> <40BD1C52.6010200@yahoo.com> <20040602003220.GA31885@fencepost> <40BF6F55.5070306@yahoo.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1086301257 24192 80.91.224.253 (3 Jun 2004 22:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2004 22:20:57 +0000 (UTC) Cc: Kevin Rodgers , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jun 04 00:20:50 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 1BW0Zu-0003GN-00 for ; Fri, 04 Jun 2004 00:20:50 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BW0Zu-0005cF-00 for ; Fri, 04 Jun 2004 00:20:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW0aG-0004Q6-ID for emacs-devel@quimby.gnus.org; Thu, 03 Jun 2004 18:21:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BW0a9-0004P6-0Z for emacs-devel@gnu.org; Thu, 03 Jun 2004 18:21:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BW0a8-0004Ok-IP for emacs-devel@gnu.org; Thu, 03 Jun 2004 18:21:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BW0a8-0004Og-GB for emacs-devel@gnu.org; Thu, 03 Jun 2004 18:21:04 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BW0ZM-0006oX-8A for emacs-devel@gnu.org; Thu, 03 Jun 2004 18:20:16 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BW0ZL-0006RX-Sk; Thu, 03 Jun 2004 18:20:16 -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:24486 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24486 On Thu, Jun 03, 2004 at 02:57:57PM -0400, Stefan Monnier wrote: > You just need to tweak replace.el's messages so that they are displayed > differently when working in the minibuffer. They could use the same trick > used in completion commands: [Complete but not unique]. > > I think many places that use message (or minibuffer-message) could > advantageously use a function that calls either message or > minibuffer-message depending on the context. I long ago (during Gerd's reign) advanced a patch that put messages in a little appended " [...]" box while you were in the minibuffer. I thought it made using the minibuffer _much_ more pleasant in the presence of errors; the current behavior (were messages _replace_ the minibuffer text you're still entering, for a short period of time!) is pretty annoying, and I imagine must be very confusing for newbies. There were a few glitches with that patch in rare circumstances (mostly to do with quail input I think), though, and I never got around to making a more robust version and it sort of ended up in the "complete someday pile" of patches... This is something I'd like to revisit, but I guess it's an "after the release" thing... :-) -Miles -- Saa, shall we dance? (from a dance-class advertisement)