From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: `Q' in Dired - be able to skip the rest of one file and move onto the next Date: Mon, 7 Jan 2008 16:33:49 -0800 Message-ID: References: <87tzlpw4j1.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1199752471 12771 80.91.229.12 (8 Jan 2008 00:34:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Jan 2008 00:34:31 +0000 (UTC) Cc: teirllm@dms.auburn.edu, emacs-devel@gnu.org To: "Juri Linkov" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 08 01:34:51 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JC2QX-0005u3-Ly for ged-emacs-devel@m.gmane.org; Tue, 08 Jan 2008 01:34:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC2QA-0003Tl-Ho for ged-emacs-devel@m.gmane.org; Mon, 07 Jan 2008 19:34:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JC2Q5-0003Qb-HR for emacs-devel@gnu.org; Mon, 07 Jan 2008 19:34:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JC2Q4-0003QC-IM for emacs-devel@gnu.org; Mon, 07 Jan 2008 19:34:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JC2Q4-0003Q3-AJ for emacs-devel@gnu.org; Mon, 07 Jan 2008 19:34:16 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JC2Q0-0004it-9r; Mon, 07 Jan 2008 19:34:12 -0500 Original-Received: from agmgw1.us.oracle.com (agmgw1.us.oracle.com [152.68.180.212]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m080Xvbo013357; Mon, 7 Jan 2008 17:33:57 -0700 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw1.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m074QeiH024617; Mon, 7 Jan 2008 17:33:56 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-80-104.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 3482399711199752430; Mon, 07 Jan 2008 16:33:50 -0800 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <87tzlpw4j1.fsf@jurta.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86538 Archived-At: > I think this is too weird trick to quit the query-replace > operation with M-> and resume it with tags-loop-continue M-,. > Maybe instead of this we should try implementing native > (i.e. without using etags) multi-file query-replace > similar to recently implemented multi-file isearch? What was wrong with your first suggestion (and Miles's): >> Maybe, when started by `Q', query-replace should apply `!' to all >> marked files, and a new key `Y' should replace all remaining >> occurrences in the current file, and a new key `N' should skip >> the current file as Miles has already proposed. But I'd keep the single-file meaning of all keys, including `!', and use a different key to replace all remaining occurrences in this file and the other files. It's not good for a key (e.g. `!') to change meaning, depending on whether one file or several are searched.