From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: abbreviate-file-name on Windows seems incorrect Date: Tue, 09 Jan 2007 00:30:57 +0000 Message-ID: <45A2E241.1050101@gnu.org> References: <45A219D7.9030401@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168302687 3799 80.91.229.12 (9 Jan 2007 00:31:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Jan 2007 00:31:27 +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 01:31:24 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 1H44tc-00038d-2h for ged-emacs-devel@m.gmane.org; Tue, 09 Jan 2007 01:31:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H44tb-0005Jz-EC for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 19:31:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H44tO-0005FG-Bd for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:31:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H44tM-0005AA-OO for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:31:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H44tM-00059y-G8 for emacs-devel@gnu.org; Mon, 08 Jan 2007 19:31:04 -0500 Original-Received: from [194.106.33.237] (helo=outmail1.freedom2surf.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H44tJ-0006bc-Ra; Mon, 08 Jan 2007 19:31:02 -0500 Original-Received: from [127.0.0.1] (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail1.freedom2surf.net (Postfix) with ESMTP id 1C9C3529FC; Tue, 9 Jan 2007 00:31:01 +0000 (GMT) User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: rms@gnu.org In-Reply-To: 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:65031 Archived-At: Richard Stallman wrote: > 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. But abbreviate-file-name seems to do other things as well involving directory-abbrev-alist, which may be much more significant if we also need to repeat those because of the change. > But I am not sure that this function is called often enough to make > a significant difference. > Possibly not. But I'd prefer not to consider such changes now.