[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading directory names with read-file-name
From: |
Kim F. Storm |
Subject: |
Re: Reading directory names with read-file-name |
Date: |
20 May 2002 02:50:26 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2.50 |
address@hidden (Kim F. Storm) writes:
> Richard Stallman <address@hidden> writes:
>
> > How about allowing READ-DIR to be any predicate, so that the invoker
> > of read-file-name can filter file names in arbitrary ways?
> >
> > This could be made consistent with the new locate-file function.
> >
> > I suspect
> > that this would subsume read-file-name's existing MUSTMATCH argument
> > to some extent, since MUSTMATCH=t would be roughly equivalent to
> > READ-DIR=file-exists-p, but I can't think of a cleaner extension
> > offhand.
> >
> > This suggests that we should redefine the MUSTMATCH argument
> > rather than add a new one.
>
> [...]
>
> I'm not sure how to proceed. Please advise!
I've looked some more on this, and the file-name-handlers (e.g. used
by ange-ftp) further complicates chaning the API for read-file-name,
read-file-name-internal, and file-name-all-completions, as well as
introducting a read-directory-name function.
Hm, I see to have opened a can of worms here :-)
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Reading directory names with read-file-name, Kim F. Storm, 2002/05/18
- Re: Reading directory names with read-file-name, Stefan Monnier, 2002/05/18
- Re: Reading directory names with read-file-name, Paul Eggert, 2002/05/18
- Re: Reading directory names with read-file-name, Richard Stallman, 2002/05/19
- Re: Reading directory names with read-file-name, Kim F. Storm, 2002/05/19
- Re: Reading directory names with read-file-name,
Kim F. Storm <=
- Re: Reading directory names with read-file-name, Richard Stallman, 2002/05/20
- Re: Reading directory names with read-file-name, Kim F. Storm, 2002/05/23
- Re: Reading directory names with read-file-name, Stefan Monnier, 2002/05/23
- Re: Reading directory names with read-file-name, Kim F. Storm, 2002/05/23
- Re: Reading directory names with read-file-name, Richard Stallman, 2002/05/24
- Re: Reading directory names with read-file-name, Stefan Monnier, 2002/05/24
- Re: Reading directory names with read-file-name, Kim F. Storm, 2002/05/28
- Re: Reading directory names with read-file-name, Richard Stallman, 2002/05/24
- Re: Reading directory names with read-file-name, Stefan Monnier, 2002/05/24
- Re: Reading directory names with read-file-name, Richard Stallman, 2002/05/20