emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abbreviate-file-name on Windows seems incorrect


From: Eli Zaretskii
Subject: Re: abbreviate-file-name on Windows seems incorrect
Date: Sat, 06 Jan 2007 16:18:16 +0200

> Date: Sat, 06 Jan 2007 12:37:25 +0100
> From: "Lennart Borgman (gmail)" <address@hidden>
> Cc: Emacs-Devel <address@hidden>
> 
> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]