From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: abbreviate-file-name on Windows seems incorrect Date: Mon, 8 Jan 2007 08:29:33 -0800 Message-ID: References: <45A219D7.9030401@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168273954 10932 80.91.229.12 (8 Jan 2007 16:32:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Jan 2007 16:32:34 +0000 (UTC) Cc: Stephen Leake , Eli Zaretskii , emacs-devel@gnu.org, Chris Moore , miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 08 17:32:32 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 1H3xPy-00022d-9V for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 17:32:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3xPx-0006fD-Db for ged-emacs-devel@m.gmane.org; Mon, 08 Jan 2007 11:32:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3xPl-0006ei-Q8 for emacs-devel@gnu.org; Mon, 08 Jan 2007 11:32:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3xPk-0006du-AG for emacs-devel@gnu.org; Mon, 08 Jan 2007 11:32:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3xPk-0006dr-45 for emacs-devel@gnu.org; Mon, 08 Jan 2007 11:32:00 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H3xPa-0002bd-3j; Mon, 08 Jan 2007 11:31:50 -0500 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l08GVjsP031560; Mon, 8 Jan 2007 10:31:45 -0600 Original-Received: from rcsmt250.oracle.com (rcsmt250.oracle.com [148.87.90.195]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l08GVi6Y025351; Mon, 8 Jan 2007 09:31:44 -0700 Original-Received: from dhcp-amer-rmdc-csvpn-gw4-141-144-96-135.vpn.oracle.com by rcsmt251.oracle.com with ESMTP id 2345403811168273791; Mon, 08 Jan 2007 09:29:51 -0700 Original-To: "Jason Rumney" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <45A219D7.9030401@gnu.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE 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:64981 Archived-At: > > I think that's a mistake. What's gained by that? We already saw > > what is lost by it. > > What is gained is significant performance. What is "lost" is a contrived > situation of the user's home directory changing from inside Emacs that > does not really occur in reality. Can you describe the context and extent of the performance improvement? It doesn't seem to me to be saving much computation, at a loss of generality, contrived or otherwise. IOW, what is the use case that this is trying to support? I'm not so sure that a change of $HOME inside Emacs, followed by a call to `abbreviate-file-name' is only contrived. But I admit that I don't have a specific use case in mind to argue for undoing the optimization. I would like to understand why the optimization is there, however.