GNU bug report logs - #15530
swapping replace queries - feature request

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Sat, 5 Oct 2013 06:50:01 UTC

Severity: wishlist

Tags: wontfix

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15530 in the body.
You can then email your comments to 15530 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15530; Package emacs. (Sat, 05 Oct 2013 06:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 05 Oct 2013 06:50:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: swapping replace queries - feature request
Date: Sat, 05 Oct 2013 08:51:26 +0200
http://stackoverflow.com/questions/19189213/emacs-swapping-replace-queries

Calling query-replace with C-u could swap the expressions presented initially.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15530; Package emacs. (Sat, 05 Oct 2013 14:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 15530 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 15530 <at> debbugs.gnu.org
Subject: RE: bug#15530: swapping replace queries - feature request
Date: Sat, 5 Oct 2013 07:11:57 -0700 (PDT)
> 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.)




Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 22 Oct 2013 20:01:04 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 15530 <at> debbugs.gnu.org and Andreas Röhler <andreas.roehler <at> easy-emacs.de> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 01 Feb 2014 07:14:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Mar 2014 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 117 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.