[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reading directory names with read-file-name
From: |
Richard Stallman |
Subject: |
Re: Reading directory names with read-file-name |
Date: |
Mon, 20 May 2002 15:33:33 -0600 (MDT) |
Fourth arg MUSTMATCH non-nil means require existing file's name.
Non-nil and non-t means also require confirmation after completion.
I've looked through the *.el files, and I've found at least the
following non-nil and non-t values:
lambda, confirm, must-match, yes
It seems difficult to me to extend the MUSTMATCH argument to cover
both a predicate and the current tri-state behaviour, and do it
in a way which is compatible with locate-file.
I overlooked that--I must have been too sleepy. That is too bad.
It is not necessarily fatal. We could nominate some specific value to
mean "confirm after completion too", and fix the callers. But that is
not as clean as I hoped it would be.
Instead, read-file-name could specbind read-file-name-predicate
to the predicate argument, and read-file-name-internal could check
that predicate.
That seems reasonable.
- Re: Reading directory names with read-file-name, (continued)
- Re: Reading directory names with read-file-name, Kim F. Storm, 2002/05/19
- 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 <=