emacs-devel
[Top][All Lists]
Advanced

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

Re: convert-standard-filename's doc


From: Eli Zaretskii
Subject: Re: convert-standard-filename's doc
Date: 31 May 2004 09:05:18 +0200

> Date: Sat, 29 May 2004 19:55:52 +0200
> From: Juanma Barranquero <address@hidden>
> 
> BTW, shouldn't it mention that on DOS it strips trailing (back)?slashes
> and converts a leading . into _?

No.

The trailing slash is not removed in the final result, as the code
does this:

      (if (memq (aref filename (1- flen)) '(?/ ?\\))
          (concat (convert-standard-filename
                   (substring filename 0 (1- flen)))
                  "/")

As you see, the trailing slash is put back into what the recursive
invocation returns.

As for replacing the leading dot, that's one of the aspects of making
the file name compatible with the 8+3 limitations: a leading dot is
not allowed.





reply via email to

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