emacs-devel
[Top][All Lists]
Advanced

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

Re: find-file dialog in Carbon Emacs is broken


From: Jan D.
Subject: Re: find-file dialog in Carbon Emacs is broken
Date: Mon, 11 Oct 2004 19:01:02 +0200


I don't know what is best, to have a new function that reads directories,
or to extend the MUST-MATCH parameter with some value that indicates
a directory read.

What's wrong with read-directory-name?

Nothing, except dired does not use it, it uses read-file-name and the
information that a directory is wanted is in the predicate, so it is
not easy in the general case for read-file-name to figure out that
a directory is wanted (the caller may have written its own predicate).

        Jan D.





reply via email to

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