From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: History for query replace pairs Date: Sun, 05 Oct 2014 09:09:38 +0200 Message-ID: <87tx3j0z7x.fsf@igel.home> References: <87a97ejxuo.fsf@mail.jurta.org> <87lhovik5c.fsf@lifelogs.com> <87mw9b8l0m.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1412493014 29413 80.91.229.3 (5 Oct 2014 07:10:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2014 07:10:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 05 09:10:07 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 1XafxG-00069o-QB for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2014 09:10:06 +0200 Original-Received: from localhost ([::1]:46422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XafxG-000576-3C for ged-emacs-devel@m.gmane.org; Sun, 05 Oct 2014 03:10:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xafwy-00056K-Np for emacs-devel@gnu.org; Sun, 05 Oct 2014 03:09:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xafwt-00020j-3W for emacs-devel@gnu.org; Sun, 05 Oct 2014 03:09:48 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.10]:35624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xafws-00020c-T9 for emacs-devel@gnu.org; Sun, 05 Oct 2014 03:09:43 -0400 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3j9bfW48VKz3hj6x; Sun, 5 Oct 2014 09:09:39 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3j9bfW24vZzvh2J; Sun, 5 Oct 2014 09:09:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id otfnULnbRKpZ; Sun, 5 Oct 2014 09:09:38 +0200 (CEST) X-Auth-Info: 9SAVyBTTqD5LNhgkAhI9lVeU8kyhHyjbXk9FrMu5EuY8CJ/VkDr8hqGU3dWQ7mQT Original-Received: from igel.home (host-188-174-213-99.customer.m-online.net [188.174.213.99]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 5 Oct 2014 09:09:38 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 1000) id 3CF422C19DC; Sun, 5 Oct 2014 09:09:38 +0200 (CEST) X-Yow: I'm CONTROLLED by the CIA!! EVERYONE is controlled by the CIA!! In-Reply-To: <87mw9b8l0m.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 05 Oct 2014 02:36:57 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.94 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.10 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:174984 Archived-At: Juri Linkov writes: > Anything between them would be read-only like the current prompt is, e.g. > > Query replace: [from] with: [to] > > where [from] and [to] are entry fields. `M-p' will update these two fields > with the previous values from the history. If you are in [to] you definitely don't want M-p to update both fields. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."