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 13:50:18 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20040529175018.GA16739@fencepost> References: <20040528.182035.197345599.wl@gnu.org> <20040529.190550.169880098.wl@gnu.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085853091 16862 80.91.224.253 (29 May 2004 17:51:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 May 2004 17:51:31 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 29 19:51:25 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 1BU7zR-0000qC-00 for ; Sat, 29 May 2004 19:51:25 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BU7zR-0003Ie-00 for ; Sat, 29 May 2004 19:51:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU7zW-0007Wj-Sp for emacs-devel@quimby.gnus.org; Sat, 29 May 2004 13:51:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BU7zV-0007WR-5Q for emacs-devel@gnu.org; Sat, 29 May 2004 13:51:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BU7zU-0007W0-Bt for emacs-devel@gnu.org; Sat, 29 May 2004 13:51:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BU7zU-0007Vx-8k for emacs-devel@gnu.org; Sat, 29 May 2004 13:51:28 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BU7yS-0002FL-HC for emacs-devel@gnu.org; Sat, 29 May 2004 13:50:24 -0400 Original-Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1BU7yM-00052v-7c; Sat, 29 May 2004 13:50:18 -0400 Original-To: Werner LEMBERG Content-Disposition: inline In-Reply-To: <20040529.190550.169880098.wl@gnu.org> 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:24188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24188 On Sat, May 29, 2004 at 07:05:50PM +0200, Werner LEMBERG wrote: > > That sounds like an acceptable feature. I don't think an empty > > argument to M-% makes any other sense. > > I just wonder why I still have to type `RET'. A query-replace action > doesn't happen immediately; you still have to press `y', `n', etc. > Thus I suggest, if possible, to omit the `RET'. Because it (both the user-interface and the implementation) becomes much more `magic' then -- C-s after a C-s makes sense because normal i-search enters immediately into a `every character has an immediate but non-standard effect', but after you type M-%, you just go into a normal minibuffer prompt; there, hitting RET to get a default makes more sense. Surely you don't repeat query-replace commands so often that `M-% RET' is significantly harder to type than `M-% M-%'? -Miles -- We live, as we dream -- alone....