From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: query-replace-interactive not documented Date: Mon, 21 Jun 2004 05:31:31 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <20040528.181649.25475113.wl@gnu.org> <873c5jug73.fsf@mail.jurta.org> <87oenqa4lu.fsf@mail.jurta.org> <873c51w5rq.fsf@mail.jurta.org> <87659snbd8.fsf@mail.jurta.org> <87llin98sc.fsf@mail.jurta.org> <87hdtbtnsg.fsf@mail.jurta.org> <87brjhwe2c.fsf@mail.jurta.org> Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcLA6-0003FR-00 for ; Mon, 21 Jun 2004 11:32:22 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BcLA6-0006a6-00 for ; Mon, 21 Jun 2004 11:32:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcLBK-0000Xh-Ur for emacs-devel@quimby.gnus.org; Mon, 21 Jun 2004 05:33:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BcLAz-0000Jz-G0 for emacs-devel@gnu.org; Mon, 21 Jun 2004 05:33:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BcLAy-0000JJ-42 for emacs-devel@gnu.org; Mon, 21 Jun 2004 05:33:16 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BcLAy-0000J9-16 for emacs-devel@gnu.org; Mon, 21 Jun 2004 05:33:16 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BcL9I-0003yd-77 for emacs-devel@gnu.org; Mon, 21 Jun 2004 05:31:32 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BcL9H-000143-LN; Mon, 21 Jun 2004 05:31:31 -0400 Original-To: David Kastrup In-reply-to: (message from David Kastrup on 20 Jun 2004 23:05:25 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25143 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25143 > I left out the part about `\\#&' and `\\#N' because I don't > understand what they do. I am not sure what "respective numeric > values" means. When I tried \#&, it seemed to insert the > replacement count followed by an &. Not _within_ a Lisp expression, namely something like \,(format "%d %d" \#& \#2). And if you had a match like \([0-9]+\), then you can do arithmetic on it with something like \,(1+ \#1). I have a general idea now, but, what's the difference in meaning between \#& and \&? Between \#N and \N?