GNU bug report logs - #34343
[PATCH] Make project--find-regexp-in-files work with remote files

Previous Next

Package: emacs;

Reported by: Felicián Németh <felician.nemeth <at> gmail.com>

Date: Wed, 6 Feb 2019 08:19:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 34343 <at> debbugs.gnu.org (full text, mbox):

From: Felicián Németh <felician.nemeth <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 34343 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#34343: [PATCH] Make project--find-regexp-in-files work with
 remote files
Date: Fri, 8 Mar 2019 09:28:03 +0100
Hi Dmitry,

I forgot that project-files are new in emacs-27, so there's no need to
worry about backward compatibility.  Also, there is no need to hurry
either, because emacs-27 won't be released soon.  Nevertheless, I would
love to have a convenience function returning "complete" file names,
even if the function's name is not project-files.

> So we can mandate that project-files returns local names. And add a
> new method that returns remote-id corresponding to the project.
>
> This will codify that the whole project must have one remote-id.

> So I wonder if somebody has an opinion on that. Maybe we'll want to
> include remote files as "external roots" in some projects? Or files
> inside archives?

I never worked on a project with multiple remote-ids.  However, if we
can come up with something simple that does not have significant
performance impact on the local case, we should solve the general case,
I think.  Remote operations tend to be slow, so I think project.el can
run more complex algorithms in that case.




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

Previous Next


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