[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file-truename, convert-standard-filename
From: |
MON KEY |
Subject: |
Re: file-truename, convert-standard-filename |
Date: |
Fri, 5 Feb 2010 22:52:33 -0500 |
Re: file-truename, convert-standard-filename,
,----
| I've read the replies from Andreas, Stefan, and you, and it's clear
| that this is clear to all of you, but I still don't get it, based on
| what you've said so far.
`----
FWIW I don't get the impression that it is entirely clear that it is
clear to these parties either.
The distinction which should be clarified in the docs is that between a
file as an object and the name of that object as a string.
I recently had the unpleasure of learning that the file-truename of an
empty string is `default-directory'.
(file-truename "")
I was expecting nil ...
It has since been made more clear to me that the result `must' be a
directory, it allows such as this:
(dired (file-relative-name (file-truename "")))
This said, I continue to have occasion for surprise when Emacs does
treat files as objects e.g.:
(require 'file)
In this case the string got hidden behind &optional ... tricky tricky.
- RE: file-truename, convert-standard-filename, (continued)
- RE: file-truename, convert-standard-filename, Drew Adams, 2010/02/06
- Re: file-truename, convert-standard-filename, Eli Zaretskii, 2010/02/06
- RE: file-truename, convert-standard-filename, Drew Adams, 2010/02/06
- Re: file-truename, convert-standard-filename, Eli Zaretskii, 2010/02/06
- Re: file-truename, convert-standard-filename, Stefan Monnier, 2010/02/07
- RE: file-truename, convert-standard-filename, Drew Adams, 2010/02/07
- RE: file-truename, convert-standard-filename, Davis Herring, 2010/02/26
- RE: file-truename, convert-standard-filename, Drew Adams, 2010/02/26
- RE: file-truename, convert-standard-filename, Davis Herring, 2010/02/26
- RE: file-truename, convert-standard-filename, Drew Adams, 2010/02/26
Re: file-truename, convert-standard-filename,
MON KEY <=
- Re: file-truename, convert-standard-filename, Eli Zaretskii, 2010/02/06
- Message not available
- Message not available
- Re: file-truename, convert-standard-filename, MON KEY, 2010/02/07
- Re: file-truename, convert-standard-filename, Andreas Schwab, 2010/02/07
- Re: file-truename, convert-standard-filename, Eli Zaretskii, 2010/02/07
- Message not available
- Re: file-truename, convert-standard-filename, MON KEY, 2010/02/09
- Re: file-truename, convert-standard-filename, Andreas Schwab, 2010/02/09
Message not availableRe: file-truename, convert-standard-filename, Eli Zaretskii, 2010/02/09