Subject: Re: bug#42136: 26.1.90; rgrep uses a directory that was not actually given

From: Dmitry Gutov <[email-masked]>
Date: Tue, 30 Jun 2020 15:26:58 +0300

Hi!

On 30.06.2020 13:45, Benjamin Riefenstahl wrote:
> Receipe:
> 
> * M-x make-directory RET "/tmp/cds_config" RET
> * rgrep RET abc RET * RET /tmp/cds_c RET
> 
> Observed: rgrep searches in "/tmp/cds_config".
> 
> Expected: Error message that the directory "/tmp/cds_c" does not exist.
> Alternatively a comfirmation question about the completion.

RET is bound to minibuffer-complete-and-exit. So the result seems expected.

Did this scenario behave differently in some recent version of Emacs?

To be fair, the docstring of this command says it behaves differently 
with different values of minibuffer-completion-confirm. But that 
variable doesn't seem to be customizable by the user.