A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01546.html below:

Re: Subprojects in project.el (Was: Eglot, project.el, and python virtua

On Thu, Nov 24, 2022 at 3:01 AM Dmitry Gutov <dgutov@yandex.ru <mailto:dgutov@yandex.ru>> wrote:
    On 23/11/22 15:57, João Távora wrote:
     >> It would be much more helpful in a dedicated bug report where we
    could
     >> discuss the details, collect the votes and see what kind of design
     >> will ultimately satisfy the requirements. Instead of drowning it all
     >> in this thread, which is only moderately related.
     > I think we're doing fine here but I've changed the subject line to
     > "unbury" it from the thread.

    You're fussy about proper bug reporting in your projects, but
    somehow do
    not extend that courtesy to others.


I am indeed "fussy" about "bug reporting".  But here, Dmitry, I am not
reporting a bug.  There's no minimum reproducible recipe, no error
to report, no surprising behaviour, etc. to speak of.  We're just
discussing Emacs development... in the emacs-devel mailing list.
    I'm imagining that traversing a directory tree with an arbitrary
    predicate is going to be slow. If the predicate is limited somehow
    (e.g.
    to a list of "markers" as base file name, or at least wildcards), 'git
    ls-files' can probably handle this, with certain but bounded cost.


If the user wants marker files to mark the roots of subprojects, we'll
have to access the file system eventually because that's where
that information lives.  It would be a minimal and essential access.  If the
user is discontent with that performance hit (I really doubt it), then
the user may use other means to mark roots of subprojects, like
the one I suggested earlier.

In particular, I don't understand where "traversing a directory tree" comes
in.  That part is completely absent from the solution I am putting forth.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4