GNU bug report logs -
#60188
30.0.50; zerop cpd-length are not all handled in project--read-file-cpd-relative
Previous Next
Full log
View this message in rfc822 format
On 20/12/2022 01:48, Shuguang Sun wrote:
> Yes. It is relative file names and common-parent-directory is nil.
>
>
> ------------------ Original ------------------
>
> On 19/12/2022 07:12, Shuguang Sun via Bug reports for GNU Emacs, the
> Swiss army knife of text editors wrote:
> > Finaly I found it is due the the zero length of
> > `common-parent-directory` in `project--read-file-cpd-relative` as I
> > using `fd` to provide the list of dirs which does not include the common
> > project root in the returnd dirs.
>
> Does that mean that it returns relative file names?
I think the easiest solution is to make sure the returned file names are
absolute ones (you'll need to do a bunch of 'concat' calls, but that has
limited overhead). I want to work on that inefficency in project-files a
little later, but now it's how it is.
This bug report was last modified 2 years and 177 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.