From: Drew Adams <drew.adams@oracle.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>, 15530@debbugs.gnu.org
Subject: bug#15530: swapping replace queries - feature request
Date: Sat, 5 Oct 2013 07:11:57 -0700 (PDT) [thread overview]
Message-ID: <6ebb5218-decb-4d9f-821e-9c944775b1e6@default> (raw)
In-Reply-To: <524FB6EE.5040200@easy-emacs.de>
> http://stackoverflow.com/questions/19189213/emacs-swapping-replace-queries
> Calling query-replace with C-u could swap the expressions presented
> initially.
Please don't. As was pointed out at that URL: YAGNI. Just use `M-p' a
couple of times. And you only need to reverse them once, to be able to
reuse the reversed order.
Using `C-u' just to reverse previous inputs would be a waste. One can
easily dream up more important uses for a prefix arg for `M-%' here.
(What I do for `M-%' is combine regular q-r, regexp q-r, and word q-r,
distinguishing by prefix arg (regular: none, regexp: 0/+, word: -). Not
saying that's what vanilla Emacs should do - just one example of better
uses for the prefix arg here.)
prev parent reply other threads:[~2013-10-05 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-05 6:51 bug#15530: swapping replace queries - feature request Andreas Röhler
2013-10-05 14:11 ` Drew Adams [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ebb5218-decb-4d9f-821e-9c944775b1e6@default \
--to=drew.adams@oracle.com \
--cc=15530@debbugs.gnu.org \
--cc=andreas.roehler@easy-emacs.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 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).