Subject: Re: bug#66187: read-file-name unexpected behavior when MUSTMATCH is a function

From: Michael Heerdegen <[email-masked]>
Date: Thu, 05 Oct 2023 03:12:51 +0200

Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <[email-masked]> writes:

> My original expectations:
>
> - PREDICATE narrows the list of completion candidates
> - MUST-MATCH function determines whether to accept the input
> [...]

> > This is only about `read-file-name'
>
> Doesn't the unexpected behavior originate in completing-read?

If that's the behavioral aspect you mean, then yes, the meaning of the
arguments is analogue, and they are passed to `completing-read'.

Michael.