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 #22 received at 55016 <at> debbugs.gnu.org (full text, mbox):

From: Peter Povinec <spepo.42 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
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 10:57:29 -0700
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.

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

Thanks for your help and super fast response.
Peter




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

Previous Next


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