From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Herring, Davis" Newsgroups: gmane.emacs.devel Subject: RE: History for query replace pairs Date: Sat, 9 Aug 2014 05:35:02 +0000 Message-ID: References: , <87a97ejxuo.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1407562543 23928 80.91.229.3 (9 Aug 2014 05:35:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Aug 2014 05:35:43 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Juri Linkov , Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 09 07:35:35 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 1XFzJX-0003kz-BX for ged-emacs-devel@m.gmane.org; Sat, 09 Aug 2014 07:35:35 +0200 Original-Received: from localhost ([::1]:54154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFzJW-00076i-Rd for ged-emacs-devel@m.gmane.org; Sat, 09 Aug 2014 01:35:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFzJI-00076X-Qj for emacs-devel@gnu.org; Sat, 09 Aug 2014 01:35:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XFzJA-0001FV-0W for emacs-devel@gnu.org; Sat, 09 Aug 2014 01:35:20 -0400 Original-Received: from proofpoint5.lanl.gov ([204.121.3.53]:37580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XFzJ9-0001CQ-OT for emacs-devel@gnu.org; Sat, 09 Aug 2014 01:35:11 -0400 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailgate5.lanl.gov (8.14.5/8.14.5) with ESMTP id s795Z3hs009200; Fri, 8 Aug 2014 23:35:05 -0600 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay2.lanl.gov (Postfix) with ESMTP id A3336E94D41; Fri, 8 Aug 2014 23:35:03 -0600 (MDT) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay2.lanl.gov Original-Received: from ECS-EXG-P-CH05.win.lanl.gov (ecs-exg-p-ch05.win.lanl.gov [128.165.106.15]) by mailrelay2.lanl.gov (Postfix) with ESMTP id 94145E94B50; Fri, 8 Aug 2014 23:35:03 -0600 (MDT) Original-Received: from ECS-EXG-P-MB01.win.lanl.gov ([169.254.1.251]) by ECS-EXG-P-CH05.win.lanl.gov ([128.165.106.15]) with mapi id 14.03.0195.001; Fri, 8 Aug 2014 23:35:03 -0600 Thread-Topic: History for query replace pairs Thread-Index: AQHPs0ZZTQxLTRDGq0G2mVup56m3epvHcVuugABPCwQ= In-Reply-To: <87a97ejxuo.fsf@mail.jurta.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.165.184.250] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.27, 0.0.0000 definitions=2014-08-09_01:2014-08-08, 2014-08-09, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x X-Received-From: 204.121.3.53 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:173504 Archived-At: > Then the user has to be careful to not remove the arrow=0A= > while editing the inserted values in the minibuffer.=0A= > =0A= > Another problem is how to parse such format=0A= > when a from/to value contains the arrow "->"=0A= > =0A= > Query replace (default from1 -> to1): from2 -> from2 -> to2 -> to2=0A= =0A= This part, at least, is easy: give the -> a text property to make it recogn= izable (and, while you're at it, a display property so that it's really one= character if the user does decide to delete it).=0A= =0A= Davis=0A=