emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A project-files implementation for Git projects


From: Dmitry Gutov
Subject: Re: A project-files implementation for Git projects
Date: Fri, 4 Oct 2019 16:08:05 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 04.10.2019 10:47, Tassilo Horn wrote:

By the way, in my major use-case for `project-files' (a source to raven)
I want the files to be relative to the given directory.  So I'm calling
`file-relative-name' on every file in the result.  It would be cool if
there was a way to return the file names relative to the given directory
(which wouldn't make much sense if multiple dirs are given, though).

I considered it, even if just for performance optimization, but having multiple roots makes it a problem.

We should deprecate the "multiple roots" thing, actually, but external roots will stay with us, I think (they have their uses). Some larger rework of the API (and of external roots' representation) might make it viable, though.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]