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: Lennart Borgman (gmail)
Subject: Re: abbreviate-file-name on Windows seems incorrect
Date: Sat, 06 Jan 2007 16:03:00 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Eli Zaretskii wrote:
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.


Yes, I know. I did not argue for removing it, but I could have said that of course.




reply via email to

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