From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <831qxtuee8.fsf@gnu.org> References: <83o80xv944.fsf@gnu.org> <8335i9ug94.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55016@debbugs.gnu.org To: Peter Povinec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 19 20:18:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ngsQU-0005hV-Rp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Apr 2022 20:18:11 +0200 Original-Received: from localhost ([::1]:33926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngsQT-0002qd-FS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Apr 2022 14:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngsQM-0002qR-5p for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50191) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngsQL-0007C8-Qp for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngsQL-0004G6-Ji for bug-gnu-emacs@gnu.org; Tue, 19 Apr 2022 14:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Apr 2022 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55016 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 55016-submit@debbugs.gnu.org id=B55016.165039224116316 (code B ref 55016); Tue, 19 Apr 2022 18:18:01 +0000 Original-Received: (at 55016) by debbugs.gnu.org; 19 Apr 2022 18:17:21 +0000 Original-Received: from localhost ([127.0.0.1]:44087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngsPg-0004F5-TL for submit@debbugs.gnu.org; Tue, 19 Apr 2022 14:17:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngsPe-0004Es-F4 for 55016@debbugs.gnu.org; Tue, 19 Apr 2022 14:17:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngsPZ-00078t-3E; Tue, 19 Apr 2022 14:17:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=FvXHSTs8dpO/4MFsFn4lxs7TghFELwDZ6HlMrHVOtMM=; b=FXO66Cdraq6I GvHXc+V4Ry2GLmF2U7n471RfBFjLFtZOOLBdJll3beTrYAPlGHoPojCD/XU+au2BsfKV3lTbYvCSm 3a5Ku3T3EvptXI7P/aYgPso11X/Valf85p7HRwrO4MBGGFQoWCGGeIUg5K4oQukc9kFvBLwHEaAcH 8YSbMRnLd89KzpRkdXBatwnyhma1O7XucYbiT7ibAerE3TCvQmmXe1K8zzH4LWBtiuSV+Y3IJtPCE +0PjCsw3RosaxuFfsPSLL1ER0g4FeH7Vda5z1Ykq3flm5efYdfcxIVpR8iTXBzB61iIFSu5zv8/y9 eJIUPmvegkTkreK9O79NWw==; Original-Received: from [87.69.77.57] (port=3521 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngsPY-0000a0-JL; Tue, 19 Apr 2022 14:17:12 -0400 In-Reply-To: (message from Peter Povinec on Tue, 19 Apr 2022 10:57:29 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230256 Archived-At: > From: Peter Povinec > Date: Tue, 19 Apr 2022 10:57:29 -0700 > Cc: 55016@debbugs.gnu.org > > On Tue, Apr 19, 2022 at 10:37 AM Eli Zaretskii 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.