Subject: Re: bug#40940: 27.0.91; project-query-replace-regexp stops too early

From: Eli Zaretskii <[email-masked]>
Date: Wed, 29 Apr 2020 17:59:05 +0300

> Cc: [email-masked], [email-masked], [email-masked]
> From: Dmitry Gutov <[email-masked]>
> Date: Wed, 29 Apr 2020 17:50:53 +0300
> 
> On 29.04.2020 12:24, Eli Zaretskii wrote:
> > First, this is broken if the shell doesn't expand ~/ or if the Emacs
> > notion of the home directory is different from that of the shell.
> 
> The patch seems okay, but could you describe a case when the shell fails 
> to expand '~/'? Is that about cmd.exe? Cygwin?

I've bumped into it with cmd.exe on MS-Windows, yes.

> AFAICT the patch doesn't fix the same problem for remote hosts, is that 
> a problem?

No, I don't think so.  A remote host cannot be a non-Posix system,
AFAIK.  Michael, can you confirm?  (And in any case, this issue should
be handled in the file-remote-p handler.)