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: Dmitry Gutov
Subject: Re: [PATCH] Project out of sources compilation
Date: Sun, 14 Apr 2024 04:44:36 +0300
User-agent: Mozilla Thunderbird

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?

Attachment: project-build-functions.diff
Description: Text Data


reply via email to

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