bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46783: Catch mistaken (query-replace "a" "a")


From: 積丹尼 Dan Jacobson
Subject: bug#46783: Catch mistaken (query-replace "a" "a")
Date: Sun, 28 Feb 2021 07:07:48 +0800

>>>>> "RMS" == Richard Stallman <rms@gnu.org> writes:

RMS> So it could say, "FROM-STRING and TO-STRING are identical -- are you 
serious?"

Excellent points.

And for those power users who really are always serious, there could be
a query-replace-skip-mental-health-check . Oops, I meant
query-replace-skip-identical-string-check,
or a dialog:

You have used identical strings for both FROM-STRING and TO-STRING.

Press:

b to blunder on ahead ("Don't question my logic. I have my reasons.")
! to blunder on ahead and remember this for the remainder of your days.
q to "quit while you are ahead."
x to always bomb out forever. No more late night cocktails.
d to launch the Emacs Eliza doctor program.
9 to call in a real doctor.
7 to show the Seven Signs of Senility checklist.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]