[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directo
From: |
Adrian Aichner |
Subject: |
Re: [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directory "1:") |
Date: |
Sun, 05 Nov 2006 14:09:23 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.5-b27 (windows-nt) |
"Juanma Barranquero" <address@hidden> writes:
> On 11/1/06, Lennart Borgman <address@hidden> wrote:
>
>> But on the other hand (file-name-directory "é:") gives nil.
>
> (file-name-directory (string (multibyte-char-as-unibyte ?é) ?:))
>
> => "\311:/"
>
> I guess `file-name-directory' is treating "é:" as unibyte, so its
> second char is not `:', so it's not a drive:path.
>
> All in all, perhaps `file-name-directory' should check that the X in
> X: is in the 'A'..'Z' range.
Hi!
CVS XEmacs now returns nil for invalid or unavailable drives.
See
http://calypso.tux.org/pipermail/xemacs-patches/2006-November/000036.html
Adrian
--
Adrian Aichner
mailto:address@hidden
http://www.xemacs.org/