From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: please implement query-exchange Date: Sat, 16 Nov 2002 21:14:25 +0300 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <1438-Sat16Nov2002211425+0200-eliz@is.elta.co.il> References: <87isyynuk3.fsf@jidanni.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1037474925 12270 80.91.224.249 (16 Nov 2002 19:28:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 16 Nov 2002 19:28:45 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18D8cW-0003Bf-00 for ; Sat, 16 Nov 2002 20:28:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D8d8-0006Qg-00; Sat, 16 Nov 2002 14:29:22 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18D8OM-0006BY-00 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2002 14:14:06 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18D8OI-0006BG-00 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2002 14:14:04 -0500 Original-Received: from heimdall.inter.net.il ([192.114.186.17]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18D8OI-00069D-00 for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2002 14:14:02 -0500 Original-Received: from zaretsky (adsl-ayalon-pc-128-249.inter.net.il [213.8.128.249]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id BYX10651; Sat, 16 Nov 2002 21:13:57 +0200 (IST) Original-To: bug-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <87isyynuk3.fsf@jidanni.org> (message from Dan Jacobson on 16 Nov 2002 09:59:40 +0800) Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:3890 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:3890 > From: Dan Jacobson > Date: 16 Nov 2002 09:59:40 +0800 > > Maybe there should be a query-exchange function, e.g. I want to make > all the x's become y, and all the y's become x, in > atan(x()-$xc,y()-$yc). Can't you do that with query-replace-regexp using parenthesized subexpressions and the \N feature (where N is a digit)?