emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Project out of sources compilation


From: Ergus
Subject: Re: [PATCH] Project out of sources compilation
Date: Mon, 22 Apr 2024 19:05:20 +0200

Hi Juri:

Give a look to this:

https://github.com/mohkale/projection

It seems similar to what we may consider to support in vanilla. OR at
least provide the interactive interface wrapper functions in order to
make project.el a bit more standard.

On Sun, Apr 14, 2024 at 04:44:36AM GMT, Dmitry Gutov wrote:
Hi Ergus!

On 06/04/2024 05:05, Ergus wrote:

Here I attach a new patch with what I think is the best approach to
handle the extra info for projects. This implementation is pretty simple
for both sides (user, project.el and backends) and uses your main idea
of the generics + a custom.

However I decided not to use only the custom as you suggested, because
considering the project initialization it will require a complex and
error prone approach to initalize the backend variables correctly (for
example, when some buffers are already open).

With this implementation the backends only need to define the optional
generic specializations and the policy is pretty simple to explain (see
the doc strings).

I also modifies the backend project on github to match this new api, so,
you can check it as well.

How about the idea with the orthogonal hook, then, as in the attached patch? Something I described before.

I think your github code would be easy enough to adapt to use it.

WDYT?




reply via email to

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