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: convert-standard-filename on w32 does not preserve match-data? Date: Thu, 21 Dec 2006 13:07:04 -0500 Message-ID: References: <4589B680.3080606@student.lu.se> Reply-To: rms@gnu.org NNTP-Posting-Host: dough.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1166724480 1032 80.91.229.10 (21 Dec 2006 18:08:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2006 18:08:00 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 21 19:07:58 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxSKh-00013B-RH for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2006 19:07:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxSKh-0000Pt-8u for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2006 13:07:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxSJy-0008E0-1r for emacs-devel@gnu.org; Thu, 21 Dec 2006 13:07:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxSJx-0008CT-9U for emacs-devel@gnu.org; Thu, 21 Dec 2006 13:07:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxSJx-0008CL-5p for emacs-devel@gnu.org; Thu, 21 Dec 2006 13:07:09 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GxSJv-0005yD-Hh for emacs-devel@gnu.org; Thu, 21 Dec 2006 13:07:07 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1GxSJs-0006Kc-8Z; Thu, 21 Dec 2006 13:07:04 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Wed, 20 Dec 2006 18:06:29 -0500) 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:64058 Archived-At: No, I think instead that code that calls convert-standard-filename shouldn't expect it to preserve the match-data. It seems cleaner to me for a general subroutine, that does a job not specifically related to searching or matching, to preserve the match data, rather than making all its callers take care.