all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Andreas Schwab <schwab@suse.de>
Cc: rms@gnu.org, Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
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	[thread overview]
Message-ID: <87abnnnqzl.fsf@catnip.gol.com> (raw)
In-Reply-To: <jetzlvw74z.fsf@sykes.suse.de> (Andreas Schwab's message of "Thu,  03 Jan 2008 11:11:40 +0100")

Andreas Schwab <schwab@suse.de> 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.

  reply	other threads:[~2008-01-03 10:27 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-02  7:34 `Q' in Dired - be able to skip the rest of one file and move on to the next Drew Adams
2008-01-03  9:50 ` Richard Stallman
2008-01-03 10:11   ` Andreas Schwab
2008-01-03 10:27     ` Miles Bader [this message]
2008-01-03 16:17       ` Drew Adams
2008-01-03 15:56   ` Luc Teirlinck
2008-01-03 16:18     ` `Q' in Dired - be able to skip the rest of one file and move onto " Drew Adams
2008-01-03 21:32       ` Juri Linkov
2008-01-04  2:11         ` Bastien
2008-07-15  0:27           ` Juri Linkov
2008-07-15  7:38             ` Lennart Borgman (gmail)
2008-07-20  0:33               ` Juri Linkov
2008-01-05  5:54       ` Richard Stallman
2008-01-08  0:21         ` Juri Linkov
2008-01-08  0:33           ` Drew Adams
2008-01-08 19:08             ` Richard Stallman
2008-01-09  0:48             ` Juri Linkov
2008-01-09  1:47               ` Drew Adams
2008-01-08  2:12           ` Luc Teirlinck
2008-01-09  0:54             ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87abnnnqzl.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.