From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: string-strip Date: Sat, 08 Jul 2006 16:57:15 -0400 Message-ID: References: <449266B2.7030500@easy-emacs.de> <4496E618.8090401@soem.dk> <32964.128.165.123.239.1150741470.squirrel@webmail.lanl.gov> <449796E7.9090808@soem.dk> <44984C66.8090006@easy-emacs.de> <17560.20884.675268.166167@kahikatea.snap.net.nz> <4499782D.4020408@soem.dk> <44A26D7E.1030000@soem.dk> <873bdkvvt0.fsf-monnier+emacs@gnu.org> <44A8EA48.5040602@soem.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1152392290 15159 80.91.229.2 (8 Jul 2006 20:58:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 8 Jul 2006 20:58:10 +0000 (UTC) Cc: emacs-devel@gnu.org, storm@cua.dk Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 08 22:58:05 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FzJsG-0002aK-79 for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2006 22:58:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzJsF-00072j-Rz for ged-emacs-devel@m.gmane.org; Sat, 08 Jul 2006 16:57:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FzJra-0006m4-2Q for emacs-devel@gnu.org; Sat, 08 Jul 2006 16:57:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FzJrZ-0006lg-FM for emacs-devel@gnu.org; Sat, 08 Jul 2006 16:57:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FzJrZ-0006lc-Cx for emacs-devel@gnu.org; Sat, 08 Jul 2006 16:57:17 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FzJsH-0008Rt-Le for emacs-devel@gnu.org; Sat, 08 Jul 2006 16:58:01 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FzJrX-0001jt-Qp; Sat, 08 Jul 2006 16:57:15 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Fri, 07 Jul 2006 23:59:14 -0400) 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:56813 Archived-At: > It isn't useful for the function to provide anything in the match > data. And not saving the match data creates a pitfall that people > won't generally expect. Therefore, it should save the match data. Most elisp functions don't bother to save the match data. That's because it is costly to do and rarely useful. Most functions serve a special purpose and don't have many callers. This one is a general utility, so we want its interface to be clean.