From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: find-file-noselect needs save-match-data Date: Wed, 13 Jun 2007 00:37:38 +0200 Message-ID: <85bqfkx0i5.fsf@lola.goethe.zz> References: <46643852.6070709@gmx.at> <46665AD7.7040706@gmx.at> <87k5ueq23m.fsf@kfs-lx.testafd.dk> <87myz8c10t.fsf@jurta.org> <18030.3441.204697.244518@rgrjr.dyndns.org> <87zm3515r4.fsf@jurta.org> <85k5u8x2gm.fsf@lola.goethe.zz> <87r6og6czf.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181687874 30644 80.91.229.12 (12 Jun 2007 22:37:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 22:37:54 +0000 (UTC) Cc: Juri Linkov , Andreas Schwab , Miles Bader , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 13 00:37:53 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyEzo-0008Kp-Dd for ged-emacs-devel@m.gmane.org; Wed, 13 Jun 2007 00:37:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyEzn-0005yY-O5 for ged-emacs-devel@m.gmane.org; Tue, 12 Jun 2007 18:37:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyEzk-0005yD-Gv for emacs-devel@gnu.org; Tue, 12 Jun 2007 18:37:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyEzi-0005xk-Fd for emacs-devel@gnu.org; Tue, 12 Jun 2007 18:37:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyEzi-0005xh-DC for emacs-devel@gnu.org; Tue, 12 Jun 2007 18:37:46 -0400 Original-Received: from mail-in-11.arcor-online.net ([151.189.21.51]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HyEzh-0002h1-5b; Tue, 12 Jun 2007 18:37:45 -0400 Original-Received: from mail-in-04-z2.arcor-online.net (mail-in-04-z2.arcor-online.net [151.189.8.16]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id 7F5E312B90; Wed, 13 Jun 2007 00:37:43 +0200 (CEST) Original-Received: from mail-in-08.arcor-online.net (mail-in-08.arcor-online.net [151.189.21.48]) by mail-in-04-z2.arcor-online.net (Postfix) with ESMTP id 6C1B9ABAE0; Wed, 13 Jun 2007 00:37:43 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-059-142.pools.arcor-ip.net [84.61.59.142]) by mail-in-08.arcor-online.net (Postfix) with ESMTP id 4B3812BAED9; Wed, 13 Jun 2007 00:37:43 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 2BAFE1C3E01D; Wed, 13 Jun 2007 00:37:39 +0200 (CEST) In-Reply-To: <87r6og6czf.fsf@catnip.gol.com> (Miles Bader's message of "Wed\, 13 Jun 2007 07\:10\:12 +0900") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:72722 Archived-At: Miles Bader writes: > David Kastrup writes: >>> How about string-match-no-record? >> >> What about string-match-beginning? Or string-match-save? Or >> stealthy-string-match? > > I think all of those are misleading. > > "string-match-reentrant"? What use is reentrancy in a routine that does not call Lisp and can't be called in interrupts? Anyway, such a function should likely _return_ the corresponding match-data (rather than setting a global variable to it), and things like match-beginning should optionally take an argument for this particular match-data. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum