From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.bugs Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git Date: Fri, 11 Oct 2024 10:53:24 +0200 Message-ID: <86bjzrc96j.fsf@fastmail.fm> References: <878quv29hk.fsf@hassadar.pretzelnet.org> <0b0b919c-ef70-4bb3-bcb4-b471d9abd201@gutov.dev> <6a202181-19e3-a202-2e80-78b332633d4b@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13824"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jim Porter , 73736@debbugs.gnu.org, Eric Gillespie To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 11 10:54:20 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1szBPe-0003Ol-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Oct 2024 10:54:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szBPF-0006Ts-Ua; Fri, 11 Oct 2024 04:53:53 -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 1szBPC-0006TC-BU for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 04:53:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1szBPC-0007eW-39 for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 04:53:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=gAJvB3Rzg7MvjHuHUwg45I5nv34oasn9o9EmksPNARc=; b=nH3UfYzu3wH+hHYvJRwDA/3hZm0swyjobB+HIVyLvydAHF7+8vAXJMoNypr5JYd42q73eDPUHWIyOfGRyVQa54X0gu2+6Peq42z4GPQ8wY+UEU/wjf/lcLDIoQBsrH2eEBBFZZX6J7xNkf8fY2cK76kt1BdK+hwswx7SOwO6fUZpAMc5ypQXIIH9RklqlHuO50gdheOx2ybGQt0sfNVjofOgUL8SlL5fqIp2KvU4EHNLTVV9VkryA+TxExPOTK1OtbpxKcLphQjRtY83bzbbSLQggz5npKi/xMlxcQ/czoNePzTLSpcuuHE4HNBNZcMl+hPc+vweDugR73bV1wWe6w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szBPN-0004Zf-Tx for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 04:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joost Kremers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2024 08:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73736 X-GNU-PR-Package: emacs Original-Received: via spool by 73736-submit@debbugs.gnu.org id=B73736.172863683017565 (code B ref 73736); Fri, 11 Oct 2024 08:54:01 +0000 Original-Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 08:53:50 +0000 Original-Received: from localhost ([127.0.0.1]:33418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szBPC-0004ZF-5c for submit@debbugs.gnu.org; Fri, 11 Oct 2024 04:53:50 -0400 Original-Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]:57697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szBP9-0004Yy-Dm for 73736@debbugs.gnu.org; Fri, 11 Oct 2024 04:53:48 -0400 Original-Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 5EF73138014A; Fri, 11 Oct 2024 04:53:29 -0400 (EDT) Original-Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Fri, 11 Oct 2024 04:53:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc: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=1728636809; x=1728723209; bh=gAJvB3Rzg7 MvjHuHUwg45I5nv34oasn9o9EmksPNARc=; b=bwpQIaP32iKRQ7yT759SLm3UQh ZHPfAlnTzu2TGrLQo8MKsihQGyu2pb0vGT25D6n+GRN6ne3vBmZAjPqsqXZqEuRM OQ/KM9qL5GrvGV1eEyYVzqzUncqTxYJL/fAQp2ZMbUrjcfFXWa2PWcZBiyjCZ1RS 7dFLStLhznwUOV0KZM4HEA2XCaYyWA54xcONngZLk6EUtwgzlh7rPzdBihFmQu0z iKrEWU2AieGXZBqO4ZMMlRRo2e+zDyMdn7EfUOL6iqweqNsRP9zu6gUAECx8OBsE 4sCu7BCcRLhG+Djw5jJCMwyOz+9A/e13ARidP9U6ND29p8MUYkG//eF7BXYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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= fm2; t=1728636809; x=1728723209; bh=gAJvB3Rzg7MvjHuHUwg45I5nv34o asn9o9EmksPNARc=; b=ObSBAqn2PL9wixDdvAtMNibiCuGJFVRlFAoPVAsdkyoE GUd2f/7/Wej0EQF+u4TPvrONlv8TsT0qkwkz9yhyAJwMauH89ocARo91gNZ9LZW5 syLZs/EZjn3yya+iBU9mFOxJJUaJNuMA2u6leONsNu4UooXW1vp//RCLhzp3w797 ZwHuy/4JWbsxnVwJxSEHx9gXyclvS4obOx5we8SYX0ZDyWwTRyLcE9aTGak5Ov6K QkMo3QGo+rcJg+7j3aJyVKwwrLSELkiV0SzSV6Ieg5l8tNtkLeopiBmnuKRC1ivl t/+S+dbEP/tNrz41FhvR1F83DJdAtuoMIlS1kVRwSg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefkedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecu hfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrg hsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekveelieeuleettdefueegvddu kefhgeevleduveeileetkeeggfekhfeuffffieenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgr ihhlrdhfmhdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepjeefjeefieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvphhg sehprhgvthiivghlnhgvthdrohhrghdprhgtphhtthhopehjphhorhhtvghrsghughhsse hgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: ie15541ac:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Oct 2024 04:53:27 -0400 (EDT) In-Reply-To: (Dmitry Gutov's message of "Fri, 11 Oct 2024 00:59:54 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293348 Archived-At: On Fri, Oct 11 2024, Dmitry Gutov wrote: > On 10/10/2024 21:52, Jim Porter wrote: >> On 10/10/2024 11:42 AM, Dmitry Gutov wrote: >>> This isn't very plug-and-play, but you can customize project-vc-extra- >>> root-markers to include any other files that distinguish the root of a >>> project. For example, Cargo.toml. >> I wonder, could major modes provide project.el with some default values >> for that option? Then rust-mode could add Cargo.toml, python-mode could >> add pyproject.toml, and so on. > > That's a natural question, but it would result in different results for > "current project" for files in the same directory (which often enough use > different major modes). What about a single marker that works for any project? This is a work-around that Projectile uses and I'm using it with project.el as well, with: ``` (add-to-list 'project-vc-extra-root-markers ".project") ``` -- Joost Kremers Life has its moments