emacs-devel
[Top][All Lists]
Advanced

[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: Juanma Barranquero
Subject: Re: [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directory "1:")
Date: Wed, 1 Nov 2006 16:46:44 +0100

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.

--
                   /L/e/k/t/u

reply via email to

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