From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Advanced query-replace-regexp in code Date: Sat, 30 May 2009 21:57:09 -0400 Organization: A noiseless patient Spider Message-ID: References: <878wkhakp1.fsf@iki.fi> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1243737646 10719 80.91.229.12 (31 May 2009 02:40:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 May 2009 02:40:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 31 04:40:44 2009 Return-path: Envelope-to: geh-help-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 1MAaya-0004fV-Kv for geh-help-gnu-emacs@m.gmane.org; Sun, 31 May 2009 04:40:44 +0200 Original-Received: from localhost ([127.0.0.1]:44998 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAaya-0007G5-3p for geh-help-gnu-emacs@m.gmane.org; Sat, 30 May 2009 22:40:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newsfeed2.telusplanet.net!newsfeed.telus.net!feeder.erje.net!feeder.motzarella.org!news.motzarella.org!news.eternal-september.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-X-Trace: news.eternal-september.org U2FsdGVkX19tVIurO20ElbInelaOPeeBk+oTeGVyjPKZONUl94mfZ0VbaluB/TRK+Q1ekAaFFCc6jz0l1i+jAw6vGJDyxRYBQBgJhR99UModZZhLMSBd8GWTVazfYjJy7BEJJHv0DgQPgkWrYN3ljQ== Original-X-Complaints-To: abuse@eternal-september.org Original-NNTP-Posting-Date: Sun, 31 May 2009 01:57:09 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1+d0pHjX5370tA32OHZhJ8Jc1qaFxbQ7f4= Cancel-Lock: sha1:8ICFFV0KO17VA/o4PkplMBUvvCU= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:169608 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64837 Archived-At: In article , bojohan+news@dd.chalmers.se (Johan Bockgard) wrote: > Barry Margolin writes: > > > Regardless of whether they should or shouldn't use it, it still seems > > strange that the function interprets the second argument differently > > depending on whether it's use interactively or programmatically. > > It doesn't; the magic is in the interactive form. Which seems like a silly place to put it, when it could just as easily be in the main body of the function. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***