GNU bug report logs - #47799
28.0.50; Default `project-files' implementation doesn't work with quoted filenames

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 15 Apr 2021 13:45:02 UTC

Severity: normal

Found in version 28.0.50

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 47799 <at> debbugs.gnu.org
Subject: bug#47799: 28.0.50; Default `project-files' implementation doesn't work with quoted filenames
Date: Mon, 17 May 2021 02:31:57 +0300
On 17.05.2021 02:22, Dmitry Gutov wrote:
> Or another, more simplistic approach would be to have the method 
> project-files-filtered return file names relative to the root (always, 
> or when called with a certain argument). And then pass the root (and the 
> connection/host) in the default-directory var. Then change 
> xref-matches-in-files to use default-directory if the values in FILES 
> are not absolute.

Looking at the previous discussion, this actually seems very close to 
what you, Philipp, suggested on 19.04.2021.

So above are my subsequent thoughts on how it can be implemented without 
requiring much change to the API (though complicating the 
implementations a bit).




This bug report was last modified 3 years and 268 days ago.

Previous Next


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