From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: improving query-replace and query-replace-regexp Date: 03 Jun 2004 14:57:57 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: 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 1086289148 27754 80.91.224.253 (3 Jun 2004 18:59:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Jun 2004 18:59:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jun 03 20:59:01 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 1BVxQb-000092-00 for ; Thu, 03 Jun 2004 20:59:01 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BVxQa-0000Rk-00 for ; Thu, 03 Jun 2004 20:59:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVxQw-0006rk-7C for emacs-devel@quimby.gnus.org; Thu, 03 Jun 2004 14:59:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BVxQo-0006rf-8x for emacs-devel@gnu.org; Thu, 03 Jun 2004 14:59:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BVxQm-0006rT-NI for emacs-devel@gnu.org; Thu, 03 Jun 2004 14:59:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BVxQm-0006rQ-Kj for emacs-devel@gnu.org; Thu, 03 Jun 2004 14:59:12 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BVxPm-0008Rp-3P for emacs-devel@gnu.org; Thu, 03 Jun 2004 14:58:10 -0400 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 41F68B302F5; Thu, 3 Jun 2004 14:57:58 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 2F0DA8CA23; Thu, 3 Jun 2004 14:57:58 -0400 (EDT) Original-To: Kevin Rodgers In-Reply-To: <40BF6F55.5070306@yahoo.com> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=0, requis 5) X-MailScanner-From: monnier@iro.umontreal.ca 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:24483 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24483 >> On Tue, Jun 01, 2004 at 06:16:18PM -0600, Kevin Rodgers wrote: >>> Indeed, since I've set enable-recursive-minibuffers I want to be able to >>> run M-% on the contents of the minibuffer (yanked, or inserted via M-p). >> >> Yeah I do that sometimes too, though it's slightly confusing because you >> can't see what's happening (I almost always just hit ! immediately). > Me, too. WIBNI a second minibuffer window were displayed for the > recursive minibuffer? 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. Stefan