From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Project out of sources compilation Date: Fri, 26 Apr 2024 03:47:28 +0300 Message-ID: <87e39465-4a9d-47c0-a073-45d7bb6a648f@gutov.dev> References: <1fd527fc-9643-49d2-8fae-d7e7fd043fe1@gutov.dev> <87le5x34l6.fsf@gmail.com> <27rton4k4r6sacysluk7iikj57ai2tyiak4ldd5nzpts7thmhg@nriej75catir> <09a8189d-07e3-4bc5-a4f4-127dcdcec2d1@gutov.dev> <2bpiuffyzhqvirscyn5prs4rb6m5ito7xnwqvc53obm32isp3g@w73yut5uku4y> <87il09hz6n.fsf@kisara.moe> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5712"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: emacs-devel@gnu.org To: Mohsin Kaleem , Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 26 02:48:34 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s09lR-0001IN-FJ for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Apr 2024 02:48:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s09ka-00054a-Tx; Thu, 25 Apr 2024 20:47:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s09kZ-00054C-B4 for emacs-devel@gnu.org; Thu, 25 Apr 2024 20:47:39 -0400 Original-Received: from wfhigh2-smtp.messagingengine.com ([64.147.123.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s09kX-0000gm-Hw for emacs-devel@gnu.org; Thu, 25 Apr 2024 20:47:39 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id 14C151800110; Thu, 25 Apr 2024 20:47:32 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 25 Apr 2024 20:47:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1714092452; x=1714178852; bh=PmyFvBCC9U/rCIJUgKXv8LqEruUqEavEz19Mz5S9zWo=; b= TqNNsi7D483y8klm1hA6fHnPt5qCY8hmHSWqeTIYYaAQgZ3NbsJLFOh2kbmu+fqL lY1hhMRmGgXoqgkpeEr/z+L+EjdTTHtRVH99tu5biJ35u7t9TCywHRavGNwWUZrf lQ7l/2fkUsWuQ62kyEdIbr2y9ecrkMollhqQpDUMhr8iH9qWovZxiJllV8YhQKZs FkV3DKwlaDsXoqSWugd6dmhijqdHCirHR5+fXjsm4jcg1+j4IPOMOTCU74+nXH3E 4q0PQf6K5olbg/fPe0V7KwQXtg9BZOF9OLd+nO1G3a3bnSo70Y5q0zzwCOwH2suK 0VpZyU22CMmYmFRplzfFBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714092452; x= 1714178852; bh=PmyFvBCC9U/rCIJUgKXv8LqEruUqEavEz19Mz5S9zWo=; b=j Hv1B6XvDpeX/wuJiyhi6KSUFvhpIHzcL98p+Ls0yQ4D4xd7NmeONErYuEUF1iC8/ ueoshOJVUuJPhqfgTc85zViGobn+W+gWKHGc7GFxvSzEJ6okrPwomVAdm8KUGkxQ sVbbjUzEKYRuu+GiAw1BIxiwlq2zgWEwH7SDM/Z2Ktlf00tFguV0+gjaHS+37wPn qofII/bTu0A0vqZa6MbnfIkCtsbX9//D/Ii3Ph3JVZefTxQ7EhVjKCpdn5D74IrT qZLS9Ki15OdqwcZKhzLW+ztdYyVAHnpJVvElFkx5tS6y2eTuBM2aXchGBLL8nk9E bnmZN6rwTDH2XV3L7S2vw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudelkedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Apr 2024 20:47:31 -0400 (EDT) Content-Language: en-US In-Reply-To: <87il09hz6n.fsf@kisara.moe> Received-SPF: pass client-ip=64.147.123.153; envelope-from=dmitry@gutov.dev; helo=wfhigh2-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318103 Archived-At: Hi Mohsin, On 23/04/2024 00:20, Mohsin Kaleem wrote: > Lastly, just a general point (sorry for writing so much), I think any > feature for this shouldn't assume only a single project type is valid. > There should be a concept of a primary type just to make commands like > configure or build make sense relative to each other, but nothing stops > a project from matching two types at once and at least IME that's the > more natural state of things. I commonly work on C++ projects but we > also have a package.json in those projects file so we can depend on > prettier and other non-C++ specific linters. The way projection gets > around this is by always matching all defined project types. Users can > add to the list of matched types for the current project and can cycle > the primary project type. Certain interfaces that aren't single project > specific like the aforementioned projection-multi-compile will source > compilation targets from all applicable project types. This provides an > extremely rich interface for interacting with projects (at least IMO). That's a great point. And your project looks very nice. I wonder how we could advertise it better, so users could have a quicker access to build tool integration. As a next step for this discussion, I'm curious what's missing in "projection" (nice name, though not very discoverable, alas) from Ergus's POV. I.e. how far is it from supporting his workflows.