From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: Re: replace history Date: Thu, 27 Dec 2007 12:40:16 -0800 Message-ID: <200712272040.lBRKeLoS019548@oogie-boogie.ics.uci.edu> References: <200712262348.lBQNmdPO013976@oogie-boogie.ics.uci.edu> <87ejd7ucj3.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198788156 28715 80.91.229.12 (27 Dec 2007 20:42:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Dec 2007 20:42:36 +0000 (UTC) Cc: Emacs Bugs , Reuben Thomas To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 27 21:42:49 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J7zYg-0001Ez-Es for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2007 21:42:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7zYL-0006Pm-Lj for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Dec 2007 15:42:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J7zYH-0006PX-32 for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2007 15:42:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J7zYG-0006PF-Dx for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2007 15:42:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J7zYG-0006PC-Ap for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2007 15:42:00 -0500 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J7zYF-0003wM-Pc for bug-gnu-emacs@gnu.org; Thu, 27 Dec 2007 15:42:00 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id lBRKeLoS019548; Thu, 27 Dec 2007 12:40:21 -0800 (PST) In-Reply-To: <87ejd7ucj3.fsf@jurta.org> (Juri Linkov's message of "Thu, 27 Dec 2007 22:12:44 +0200") Original-Lines: 24 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17263 Archived-At: Juri Linkov writes: > > > In Emacs 22 it's great the way that you are given the last > > > search/replace pair as a default for query-replace, but is there a way > > > to get a history of pairs rather than alternating search item/replace > > > item? > > > > There isn't. I would also love to have such a feature. Bound for example > > to C-M-p and C-M-n > > How do you imagine it could insert two separate history elements for > from-string and to-string simultaneously? Similar to what you said. The minibufrer prompt now looks like: Query replace (default foo -> bar): After C-M-p it would change to: Query replace (default baz -> foobar): so one only need to press C-M-p and RET.