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: abbreviate-file-name on Windows seems incorrect Date: Tue, 09 Jan 2007 12:57:13 -0500 Message-ID: References: <45A219D7.9030401@gnu.org> <45A2E241.1050101@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1168365565 2627 80.91.229.12 (9 Jan 2007 17:59:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2007 17:59:25 +0000 (UTC) Cc: dooglus@gmail.com, emacs-devel@gnu.org, stephen_leake@member.fsf.org, eliz@gnu.org, drew.adams@oracle.com, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 09 18:59:23 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 1H4LFm-0005xn-TW for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 18:59:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4LFm-0004E9-NW for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 12:59:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H4LEN-0003hc-QT for emacs-devel@gnu.org; Tue, 09 Jan 2007 12:57:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H4LEM-0003gh-TI for emacs-devel@gnu.org; Tue, 09 Jan 2007 12:57:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H4LEM-0003gP-Np for emacs-devel@gnu.org; Tue, 09 Jan 2007 12:57:50 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H4LEH-0005uQ-Sy; Tue, 09 Jan 2007 12:57:45 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1H4LDl-0005xJ-9X; Tue, 09 Jan 2007 12:57:13 -0500 Original-To: Jason Rumney In-reply-to: <45A2E241.1050101@gnu.org> (message from Jason Rumney on Tue, 09 Jan 2007 00:30:57 +0000) 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:65068 Archived-At: > Can you check whether the efficiency gain is really significant in > practice? Compared with the current version of abbreviate-file-name, getenv seems to take a little more than twice as long to complete on my system. So it might be reasonable to expect the time for abbreviate-file-name to triple if it is changed to calculate the value of HOME every time it is needed based on getenv alone. Ok, that is enough reason to keep it the way it is.