GNU bug report logs - #55016
28.1; xref-find-references finds no matches if project dir contains a space

Previous Next

Package: emacs;

Reported by: Peter Povinec <spepo.42 <at> gmail.com>

Date: Tue, 19 Apr 2022 04:59:02 UTC

Severity: normal

Found in version 28.1

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #25 received at 55016 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Povinec <spepo.42 <at> gmail.com>
Cc: 55016 <at> debbugs.gnu.org
Subject: Re: bug#55016: 28.1; xref-find-references finds no matches if project
 dir contains a space
Date: Tue, 19 Apr 2022 21:17:03 +0300
> From: Peter Povinec <spepo.42 <at> gmail.com>
> Date: Tue, 19 Apr 2022 10:57:29 -0700
> Cc: 55016 <at> debbugs.gnu.org
> 
> On Tue, Apr 19, 2022 at 10:37 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > 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))
> 
> That works! Both 'space dir' and 'nospace' dir cases work the same way now.

OK, thanks.  Now I understand what's going on, and can work on a real
fix for Emacs 29.

> BTW, the symlinks are not essential to my recipe. You can instead
> create two new
> directories and copy in xref.el in Step 1.

That has other complications, like the command asks me for a project
etc.




This bug report was last modified 2 years and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.