From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: fileio.c "#if 0" block Date: Sat, 05 Mar 2005 19:20:17 +0200 Message-ID: <01c521a7$Blat.v2.4$bf474060@zahav.net.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1110043872 29362 80.91.229.2 (5 Mar 2005 17:31:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2005 17:31:12 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 05 18:31:12 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D7d7F-00070A-2i for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 18:31:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7dQd-0000XV-Tp for ged-emacs-devel@m.gmane.org; Sat, 05 Mar 2005 12:51:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D7dPK-0000FM-G7 for emacs-devel@gnu.org; Sat, 05 Mar 2005 12:49:45 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D7dPA-00009F-R3 for emacs-devel@gnu.org; Sat, 05 Mar 2005 12:49:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D7dP9-0008WL-IE for emacs-devel@gnu.org; Sat, 05 Mar 2005 12:49:31 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D7cz1-0005vx-8c for emacs-devel@gnu.org; Sat, 05 Mar 2005 12:22:31 -0500 Original-Received: from zaretski (tony03-38-103.inter.net.il [80.230.38.103]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id DWM21035 (AUTH halo1); Sat, 5 Mar 2005 19:22:17 +0200 (IST) Original-To: ttn@glug.org X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4 In-reply-to: (message from Thien-Thi Nguyen on Sat, 05 Mar 2005 12:50:20 +0100) 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:34222 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34222 > From: Thien-Thi Nguyen > Date: Sat, 05 Mar 2005 12:50:20 +0100 > Cc: emacs-devel@gnu.org > > sorry, i did not quote the block precisely. the block begins w/: > > #if 0 > /* PLEASE DO NOT DELETE THIS COMMENTED-OUT VERSION! > > (and goes on to surround a "DEAFUN" for Fexpand_file_name.) If that's the code fragment you were referring to, then the explanation why it is disabled but left in the sources is right there in the comment, viz: This is the old version of expand-file-name, before it was thoroughly rewritten for Emacs 10.31. We leave this version here commented-out, because the code is very complex and likely to have subtle bugs. If bugs _are_ found, it might be of interest to look at the old code and see what did it do in the relevant situation. Don't remove this code: it's true that it will be accessible via CVS, but a few years from deletion, people will forget it is there. */ (I think that "10.31" is a typo: it should be "19.31".) Given this very clear (IMHO) explanation, I don't understand your original gripe about it: > i find it irksome to wrap my head around vms quirks and then turn my > back on code as i apply the fruits of my learning elsewhere. Can you explain what you meant by that, now that you know why the old code was left in the sources, rather than deleted? > please cc me in reply Done (although it should be the default of any decent mail software). > my list subscription is currently fubared. I'm the list administrator, so if you need help with that, please mail me privately.