From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: save-match-data woes Date: Wed, 27 Feb 2002 21:08:08 -0700 (MST) Message-ID: <200202280408.g1S488o19225@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1014869649 6103 195.204.10.66 (28 Feb 2002 04:14:09 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 28 Feb 2002 04:14:09 GMT Cc: monnier+gnu/emacs@RUM.cs.yale.edu, lektu@terra.es, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16gHxJ-0001aL-00 for ; Thu, 28 Feb 2002 05:14:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16gHtF-00080P-00; Wed, 27 Feb 2002 23:09:57 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16gHrV-0007re-00; Wed, 27 Feb 2002 23:08:09 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g1S48Eu14798; Wed, 27 Feb 2002 21:08:14 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1S488o19225; Wed, 27 Feb 2002 21:08:08 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: eliz@is.elta.co.il In-reply-to: (message from Eli Zaretskii on Wed, 27 Feb 2002 12:00:33 +0200 (IST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1616 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1616 That's true for application code, but what about functions that implement core functionality? The latter can be run from unusual places, like all kinds of hooks we have around, in which case it should preserve the match data, right? Some functions have the spirit of a general-purpose facility. People will expect those functions to be "clean"--in various ways, so we need to make them so. But it is not worth making all functions be "clean" like that, and people won't expect it. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel