[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-standard-filename
From: |
Stefan Monnier |
Subject: |
Re: convert-standard-filename |
Date: |
Tue, 09 Aug 2011 14:36:18 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> (defun file-name-equal (f1 f2)
>> (equal (file-name-canonical f1) (file-name-canonical f2)))
> Another slippery slope, IMO: on some platforms the "canonical" file
> name cannot be computed unless the file exists. Unless you redefine
> "canonical" to be a derivative of file-name-equal according to the
> above defun, in which case it will probably confuse the heck out of
> programmers who are used to canonicalize_file_name and realpath.
Again, I'm not necessarily advocating this approach. It does have
some advantages (e.g. if you want to define a map (alist/hash) from file
names to values, where file names need to be compared with
file-name-equal). But it may indeed prove impossible/impractical
to implement.
Stefan
- Re: convert-standard-filename, (continued)
- Re: convert-standard-filename, Eli Zaretskii, 2011/08/07
- Re: convert-standard-filename, Sam Steingold, 2011/08/07
- Re: convert-standard-filename, Eli Zaretskii, 2011/08/07
- Re: convert-standard-filename, Stefan Monnier, 2011/08/07
- Re: convert-standard-filename, Eli Zaretskii, 2011/08/08
- Re: convert-standard-filename, Stefan Monnier, 2011/08/08
- Re: convert-standard-filename, Eli Zaretskii, 2011/08/08
- Re: convert-standard-filename, Stefan Monnier, 2011/08/08
- Re: convert-standard-filename, Eli Zaretskii, 2011/08/09
- Re: convert-standard-filename, Stefan Monnier, 2011/08/09
- Re: convert-standard-filename,
Stefan Monnier <=
- Re: convert-standard-filename, Michael Albinus, 2011/08/08
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105295: * lisp/progmodes/etags.el (etags-file-of-tag, etags-tags-table-files), Francesco Potortì, 2011/08/02