From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: abbreviate-file-name on Windows seems incorrect Date: Sat, 06 Jan 2007 16:03:00 +0100 Message-ID: <459FBA24.6030105@gmail.com> References: <459F89F5.3080504@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1168095804 25956 80.91.229.12 (6 Jan 2007 15:03:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Jan 2007 15:03:24 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 06 16:03:22 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 1H3D4q-0001hU-0j for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 16:03:20 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3D4p-00006J-If for ged-emacs-devel@m.gmane.org; Sat, 06 Jan 2007 10:03:19 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H3D4c-0008Vt-9M for emacs-devel@gnu.org; Sat, 06 Jan 2007 10:03:06 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H3D4a-0008UE-MC for emacs-devel@gnu.org; Sat, 06 Jan 2007 10:03:05 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H3D4a-0008U6-GN for emacs-devel@gnu.org; Sat, 06 Jan 2007 10:03:04 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1H3D4W-0004E4-Qb; Sat, 06 Jan 2007 10:03:01 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63389 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1H3D4V-0003z8-6i; Sat, 06 Jan 2007 16:02:59 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) Original-To: Eli Zaretskii In-Reply-To: X-Antivirus: avast! (VPS 0701-1, 2007-01-05), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1H3D4V-0003z8-6i. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1H3D4V-0003z8-6i 375071313d02fd5a9d405ccb8a1288e6 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:64881 Archived-At: Eli Zaretskii wrote: >> Date: Sat, 06 Jan 2007 12:37:25 +0100 >> From: "Lennart Borgman (gmail)" >> Cc: Emacs-Devel >> >> If leave abbreviated-home-dir as "^c:/\\(/\\|\\'\\)" and you instead >> just comment out this part in abbreviate-file-name, does it works as you >> expect then? : >> >> ;; MS-DOS root directories can come with a drive letter; >> ;; Novell Netware allows drive letters beyond `Z:'. >> (not (and (or (eq system-type 'ms-dos) >> (eq system-type 'cygwin) >> (eq system-type 'windows-nt)) >> (save-match-data >> (string-match "^[a-zA-`]:/$" filename))))) > > Why remove it? It does on Windows what the preceding fragment (the > one you didn't show) does on Unix. Yes, I know. I did not argue for removing it, but I could have said that of course.