Oh, BTW, here's the docs I'm basing my guesses on.
>>>> "Andy" == Andy Piper
<andy(a)xemacs.org> writes:
Andy> I guess my question is, what is: file-truename("c:\\*.txt")
Andy> supposed to do? Is it documented?
The documentation says
`file-truename' is a built-in function
(file-truename FILENAME &optional DEFAULT)
Documentation:
Return the canonical name of FILENAME.
Second arg DEFAULT is directory to start with if FILENAME is relative
(does not start with slash); if DEFAULT is nil or missing,
the current buffer's value of `default-directory' is used.
No component of the resulting pathname will be a symbolic link, as
in the realpath() function.
realpath(3)
DESCRIPTION
realpath expands all symbolic links and resolves references to '/./',
'/../' and extra '/' characters in the null terminated string named
by
path and stores the canonicalized absolute pathname in the buffer of
size PATH_MAX named by resolved_path. The resulting path will have no
symbolic link, '/./' or '/../' components.
On Unix, (file-truename "/*.txt") returns "/*.txt". I believe this
is
correct. There is no requirement that the path name a unique existing
file, and it definitely doesn't say anything about expanding globs.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py