Subject: bug#55016: 28.1; xref-find-references finds no matches if project dir contains a space

From: Eli Zaretskii <[email-masked]>
Date: Tue, 19 Apr 2022 20:36:55 +0300

> From: Peter Povinec <[email-masked]>
> Date: Tue, 19 Apr 2022 10:06:28 -0700
> Cc: [email-masked]
> 
> The patch actually makes it worse. Now even the 'nospacedir' case fails
> the same way (steps 6 and 7 in my recipe).

Actually, one more idea: perhaps the quoting makes things first
because your file names begin with "~/"?  In that case, doing
something like this instead should do better:

   (shell-quote-argument (expand-file-name rootdir))