From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Sat, 25 Oct 2014 23:57:25 +0300 Organization: JURTA Message-ID: <87y4s3x3yi.fsf@mail.jurta.org> References: <87a97ejxuo.fsf@mail.jurta.org> <87lhovik5c.fsf@lifelogs.com> <87wq8egh3r.fsf@lifelogs.com> <87ppe4zv0t.fsf@mail.jurta.org> <87k34ba5sn.fsf@mail.jurta.org> <87siiq4gpv.fsf@mail.jurta.org> <87iojduj9n.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414270787 27973 80.91.229.3 (25 Oct 2014 20:59:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Oct 2014 20:59:47 +0000 (UTC) Cc: Stefan Monnier , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 25 22:59:39 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xi8R1-0005Xj-8H for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2014 22:59:39 +0200 Original-Received: from localhost ([::1]:54617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi8R0-0004x3-Sp for ged-emacs-devel@m.gmane.org; Sat, 25 Oct 2014 16:59:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi8QN-0004XY-54 for emacs-devel@gnu.org; Sat, 25 Oct 2014 16:59:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xi8QD-0004Rl-Vl for emacs-devel@gnu.org; Sat, 25 Oct 2014 16:58:56 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:33158 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xi8QD-0004Rh-Pv for emacs-devel@gnu.org; Sat, 25 Oct 2014 16:58:49 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 9202B369F26F0D; Sat, 25 Oct 2014 13:58:48 -0700 (PDT) In-Reply-To: (Artur Malabarba's message of "Thu, 23 Oct 2014 10:06:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 69.163.222.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:175840 Archived-At: > If this line is followed, I'd recommend rebinding one of the transpose > commands (transpose-lines, perhaps) to swap the TO and FROM. Having to > manually kill and yank would be a very cumbersome way of reversing the > replacement. Good idea. However, `transpose-lines' doesn't seem to fit semantically. But perhaps you proposed it because other transpose-* commands might be useful in the query-replace minibuffer inside the FROM or TO part.