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: Mon, 27 Oct 2014 01:27:41 +0200 Organization: JURTA Message-ID: <87oasyv2c2.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> <87k33nyirh.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1414366133 27654 80.91.229.3 (26 Oct 2014 23:28:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Oct 2014 23:28:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 27 00:28:43 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 1XiXEp-0000gQ-DS for ged-emacs-devel@m.gmane.org; Mon, 27 Oct 2014 00:28:43 +0100 Original-Received: from localhost ([::1]:58623 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXEo-0002vu-PL for ged-emacs-devel@m.gmane.org; Sun, 26 Oct 2014 19:28:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXEg-0002vY-Lv for emacs-devel@gnu.org; Sun, 26 Oct 2014 19:28:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XiXEa-0005OL-E6 for emacs-devel@gnu.org; Sun, 26 Oct 2014 19:28:34 -0400 Original-Received: from ps18281.dreamhost.com ([69.163.222.226]:33998 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XiXEa-0005Nj-8f for emacs-devel@gnu.org; Sun, 26 Oct 2014 19:28:28 -0400 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5E2F138DB2445B; Sun, 26 Oct 2014 16:28:25 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sat, 25 Oct 2014 22:29:22 -0400") 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:175878 Archived-At: > We definitely shouldn't store the pairs as a single string. > But do we really need to change the history vars at all? > I mean, we currently manage to extract "the last pair" from the current > history vars, so can't we extend this hack? Since currently the default is displayed as "FROM -> TO" for the last pair, and usually M-n inserts it into the minibuffer, it makes sense to extend it so more M-n will insert more previous pairs. Then we don't need to change the history vars.