Subject: Re: [External] : Re: bug#75910: 31; Deprecate minibuffer-completing-file-name

From: Daniel Mendler <[email-masked]>
Date: Thu, 30 Jan 2025 19:07:03 +0100

Drew Adams <[email-masked]> writes:

>> Right now, the let-binding of minibuffer-completing-file-name around
>> completing-read means that all inner completion sessions also complete
>> file names. This is simply not correct.
>
> No, it doesn't - it shouldn't.  It means that
> they're made aware of the fact that a file-name
> completion is in progress.  They occur _during_
> that file-name completion.  It's just a variable.
> They don't need to, themselves, complete a file
> name.

This interpretation is convoluted but correct. Congratulations. Now we
can talk about scenarios where we want this specific knowledge about
outer completion sessions, which do not necessarily apply to the
currently active completion session.

Daniel