unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adrian Aichner <adrian@xemacs.org>
Subject: Re: [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directory "1:")
Date: Sun, 05 Nov 2006 14:09:23 +0100	[thread overview]
Message-ID: <ejsijb0c.fsf@mx.qsc.de> (raw)
In-Reply-To: f7ccd24b0611010746u763bf74ft377f0d53252f2ac0@mail.gmail.com

"Juanma Barranquero" <lekktu@gmail.com> writes:

> On 11/1/06, Lennart Borgman <lennart.borgman.073@student.lu.se> 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:adrian@xemacs.org
 http://www.xemacs.org/

      reply	other threads:[~2006-11-05 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 15:16 [gmane.emacs.xemacs.beta] [Bug: 21.5-b27] [CRASH] (file-name-directory "1:") David Kastrup
2006-11-01 15:31 ` Lennart Borgman
2006-11-01 15:33   ` Lennart Borgman
2006-11-01 15:46     ` Juanma Barranquero
2006-11-05 13:09       ` Adrian Aichner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ejsijb0c.fsf@mx.qsc.de \
    --to=adrian@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).