From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: `Q' in Dired - be able to skip the rest of one file and move on to the next Date: Thu, 03 Jan 2008 19:27:42 +0900 Message-ID: <87abnnnqzl.fsf@catnip.gol.com> References: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1199356087 7454 80.91.229.12 (3 Jan 2008 10:28:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2008 10:28:07 +0000 (UTC) Cc: rms@gnu.org, Drew Adams , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 11:28:27 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 1JANJJ-0001Lh-So for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 11:28:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JANIx-00006a-HO for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2008 05:28:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JANIq-0008Un-QN for emacs-devel@gnu.org; Thu, 03 Jan 2008 05:27:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JANIo-0008Rn-V5 for emacs-devel@gnu.org; Thu, 03 Jan 2008 05:27:55 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JANIo-0008RU-Ml for emacs-devel@gnu.org; Thu, 03 Jan 2008 05:27:54 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JANIg-000816-Uu; Thu, 03 Jan 2008 05:27:47 -0500 Original-Received: from 203-216-100-219.dsl.gol.ne.jp ([203.216.100.219] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1JANId-0004Vv-Mt; Thu, 03 Jan 2008 19:27:43 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id ABD7E2FF7; Thu, 3 Jan 2008 19:27:42 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Andreas Schwab's message of "Thu, 03 Jan 2008 11:11:40 +0100") Original-Lines: 26 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:85989 Archived-At: Andreas Schwab writes: >> A natural interface for this would be to unmark each file just before starting >> to search that file. Then, quitting the command and resuming it will skip >> that file. > > On the other hand, if you plan to do many operations on the same list of > files you don't want them to be automatically unmarked. No dired > operation does that currently. I often use the direct Q command multiple times in a row on the same set of files. The query-replace "!" command currently does "the right thing" (for the positive case) when using as part of a Q invocation -- it replaces all remaining entries in the current file, and then starts prompting again in the text file. So perhaps a new query-replace command, like "N" could be added, that skips the rest of the file, but continues prompting in the next file? For normal query-replace usage it would be equivalent to "q", but that seems OK... -Miles -- Suburbia: where they tear out the trees and then name streets after them.