unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73635: dired-do-query-replace-regexp should check if files are selected first
@ 2024-10-05  3:44 Dan Jacobson
  2024-10-05  4:22 ` Visuwesh
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2024-10-05  3:44 UTC (permalink / raw)
  To: 73635

dired-do-query-replace-regexp
asks for the replace from value,
then asks for the replace to value,
and only then finally checks if any files are selected in the first
place.

It needs to check first.

E.g., yes there were files selected, but we just did a first run, and
are no longer looking at the dired buffer. We need to go back to the
dired buffer first. Fine. But at least let the user know before they
bother entering the from and to values.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#73635: dired-do-query-replace-regexp should check if files are selected first
  2024-10-05  3:44 bug#73635: dired-do-query-replace-regexp should check if files are selected first Dan Jacobson
@ 2024-10-05  4:22 ` Visuwesh
  0 siblings, 0 replies; 2+ messages in thread
From: Visuwesh @ 2024-10-05  4:22 UTC (permalink / raw)
  To: Dan Jacobson; +Cc: 73635

[சனி அக்டோபர் 05, 2024] Dan Jacobson wrote:

> dired-do-query-replace-regexp
> asks for the replace from value,
> then asks for the replace to value,
> and only then finally checks if any files are selected in the first
> place.
>
> It needs to check first.
>
> E.g., yes there were files selected, but we just did a first run, and
> are no longer looking at the dired buffer. We need to go back to the
> dired buffer first. Fine. But at least let the user know before they
> bother entering the from and to values.

It uses the filename under point if there are no marked files like all
dired commands.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-05  4:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-05  3:44 bug#73635: dired-do-query-replace-regexp should check if files are selected first Dan Jacobson
2024-10-05  4:22 ` Visuwesh

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).