X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Eric Gillespie <epg@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 16:45:02 +0000
Resent-Message-ID: <handler.73736.B.172857869915224 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: 73736 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172857869915224
(code B ref -1); Thu, 10 Oct 2024 16:45:02 +0000
Received: (at submit) by debbugs.gnu.org; 10 Oct 2024 16:44:59 +0000
Received: from localhost ([127.0.0.1]:60372 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1sywHa-0003xR-Rf
for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 12:44:59 -0400
Received: from lists.gnu.org ([209.51.188.17]:41566)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <epg@HIDDEN>) id 1sywHY-0003xJ-Hc
for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 12:44:57 -0400
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 <epg@HIDDEN>)
id 1sywHM-0006J0-JY
for bug-gnu-emacs@HIDDEN; Thu, 10 Oct 2024 12:44:44 -0400
Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <epg@HIDDEN>)
id 1sywHK-0007cT-I4
for bug-gnu-emacs@HIDDEN; Thu, 10 Oct 2024 12:44:44 -0400
Received: from phl-compute-12.internal (phl-compute-12.phl.internal
[10.202.2.52])
by mailfout.phl.internal (Postfix) with ESMTP id 8AF681380231
for <bug-gnu-emacs@HIDDEN>; Thu, 10 Oct 2024 12:44:40 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
by phl-compute-12.internal (MEProxy); Thu, 10 Oct 2024 12:44:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pretzelnet.org;
h=cc:content-type:content-type:date:date:from:from:in-reply-to
:message-id:mime-version:reply-to:subject:subject:to:to; s=fm3;
t=1728578680; x=1728665080; bh=wysbGJaUN2GGix3XReCzxlydMsQKIwFC
vf86bOGZDCo=; b=RcRQTWCz38KtygDYY4yR+ryzVqhahzLutoWp5zBLP/lOJBlW
8pLNyf9Dt3haP6ez5/rM/3CO9PlbAHuoWJSrbqifoiYJA/8Yi7+VCMsp38+naGdw
x3HLwG58rBUnTFV0ML2E3d9LEdeNmhGegzk61TzTzYo8VIL67/psNybPAAIZKI2b
F8anag8ZzT35sIMttqd4ZeuhOp8++L01rj0F0QlXV3rGIaJkrHyvSYflRuiCJYY8
YcnS5CDEn9NkXDO7DJU3fyNJGFMbZQ47qeA91E30pzVL3/PFjRh4DQLyBKFGUgnP
SIIxiCpwEOg4ZmTXiVFivZeaqxEXvFEXW5+NVA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:message-id
:mime-version:reply-to:subject:subject:to:to:x-me-proxy
:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=
1728578680; x=1728665080; bh=wysbGJaUN2GGix3XReCzxlydMsQKIwFCvf8
6bOGZDCo=; b=Au14Rr9CN5fzm9Wfc24O479UhzHGHwP/pAQhX5M5us5B8ntSDRB
mLm/j3UBNqMlED8NAOlooB3p5IWpGBcRTI+BBxRs7KlCs57JBd1FblI1LPMcuIjP
s+S+wx21PXA8RWESLTBiu0em5S4xknq31rg0/8rDWOaxFSwwoc0NxDb4zXZzc50t
rVEhygKasXS2/8wBCWJkeXtKB0fokHiyv/5HxUzhIbH8+4XuaBlnabdzx16fPXUt
RNtmBJj1MYtqrP/6qy9dU5IDBweNMdPdlm/qBoF5gHVFq3zjwwjxJKL108zBnczb
fgyffDVAxxdxfSy3zJ1g1fmDiC/KDnYRtHg==
X-ME-Sender: <xms:eAQIZxGEIUCvGCXLufI4Q5e8-CKsY1VrAqkoDWl473keAN5i96ss_Q>
<xme:eAQIZ2WdjjAD7Ooi0jdAdVFFJ1dGdI5FNEr8GxEidp0HKrmzl4zc2DUqbIInCjivv
iJ-9c04f3xAN6ubmF0>
X-ME-Received: <xmr:eAQIZzIannQyUwyC_KL-gXhcpxpZsnJW0iZGyv46HE-xFCwXviQir6lDiaXDVj662xl9ekVCku1gARK48g_sScUPwhjh5nVRcuTmmIuDRoLiE2KLXVljv_JcP4SHaThdl2U>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefhedguddtjecutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtff
homhgrihhnucdlgeelmdenucfjughrpefhvffufffkfgggtgesthdtredttdertdenucfh
rhhomhepgfhrihgtucfiihhllhgvshhpihgvuceovghpghesphhrvghtiigvlhhnvghtrd
horhhgqeenucggtffrrghtthgvrhhnpeefuedvtefgjeeiueegffdvgeefteevgfethfeg
ueduledvffehveduheefudelheenucffohhmrghinhepghhithhhuhgsrdhiohenucevlh
hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegvphhgsehprhgv
thiivghlnhgvthdrohhrghdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphhouh
htpdhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh
X-ME-Proxy: <xmx:eAQIZ3F_1Xl4YOqYVz7WIOojUsUytgnK6xc-ap_Hjorgp1EF1VqsLA>
<xmx:eAQIZ3WN1mbgH20XdDc7PO3f2d3KHxoD_iNoGnlM6BN6md5pZUiy4g>
<xmx:eAQIZyP1M-uIzYlB7aQ3vKqmNtUtwoC5DCGlJAwYaBBQ30F16crvqw>
<xmx:eAQIZ21jPpznl1Z-emKB45nihYrhOPR7stIM86YF8lswFUk1gNO9CA>
<xmx:eAQIZ-enWASrcUhv-LkzyrIZL6u9xzNKWyFmIICYROwaQ4DhygLyUw7N>
Feedback-ID: i58794908:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
<bug-gnu-emacs@HIDDEN>; Thu, 10 Oct 2024 12:44:40 -0400 (EDT)
From: Eric Gillespie <epg@HIDDEN>
Date: Thu, 10 Oct 2024 11:44:39 -0500
Message-ID: <878quv29hk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=103.168.172.146; envelope-from=epg@HIDDEN;
helo=fout-a3-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,
SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)
(I don't use project directly, but eglot requires it, and that's
all I care about.)
1. cargo new foo
2. emacs -Q foo/src/main.rs
3. M-x rust-ts-mode RET
4. M-x eglot RET
Expected:
eglot activates.
Actual:
Error:
[eglot] Server reports (type=1): Failed to discover workspace.
Consider adding the `Cargo.toml` of the workspace to the [`linkedProjects`](https://rust-analyzer.github.io/manual.html#rust-analyzer.linkedProjects) setting.
I think the problem here is that eglot needs to provide a project
root to rust-analyzer, but 'project' only knows how to find .git
directories, which I don't have in this case.
This works in editors such as JetBrains Rover and VS Code
presumably because you have to take an "Open project" step in
those. And I'd be OK if I had to that first in emacs, but I
could find no such option.
The closest I can find is 'project-switch-project', but it
doesn't accept arbitrary directories as input, instead only
allowing me to pick from a list it found on its own, by
scrounging around for .git directories!
In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, cairo version
1.18.2) of 2024-10-04 built on dogato
Repository revision: ef587bf6b46b2ea3ef91b260ac2542666081260d
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101012
System Description: openSUSE Tumbleweed
Configured using:
'configure -C --prefix=/opt/emacs-master --disable-silent-rules
--with-x-toolkit=no --without-gsettings --with-native-compilation=no'
Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2
LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY OLDXMENU PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TREE_SITTER WEBP X11 XDBE XIM XINPUT2
XPM ZLIB
Important settings:
value of $LC_CTYPE: en_US.UTF-8
value of $XMODIFIERS: @im=local
locale-coding-system: utf-8-unix
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
show-paren-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
minibuffer-regexp-mode: t
line-number-mode: t
indent-tabs-mode: t
transient-mark-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting font-render-setting cairo xinput2 x multi-tty
move-toolbar make-network-process emacs)
Memory information:
((conses 16 39589 10289) (symbols 48 5375 0) (strings 32 12072 1444)
(string-bytes 1 289442) (vectors 16 9304)
(vector-slots 8 103508 8407) (floats 8 25 4) (intervals 56 260 0)
(buffers 992 10))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eric Gillespie <epg@HIDDEN> Subject: bug#73736: Acknowledgement (31.0.50; project and therefore eglot don't work without git) Message-ID: <handler.73736.B.172857869915224.ack <at> debbugs.gnu.org> References: <878quv29hk.fsf@HIDDEN> X-Gnu-PR-Message: ack 73736 X-Gnu-PR-Package: emacs Reply-To: 73736 <at> debbugs.gnu.org Date: Thu, 10 Oct 2024 16:45:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 73736 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 73736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73736 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:43:02 +0000
Resent-Message-ID: <handler.73736.B73736.17285857657074 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Eric Gillespie <epg@HIDDEN>, 73736 <at> debbugs.gnu.org
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.17285857657074
(code B ref 73736); Thu, 10 Oct 2024 18:43:02 +0000
Received: (at 73736) by debbugs.gnu.org; 10 Oct 2024 18:42:45 +0000
Received: from localhost ([127.0.0.1]:60564 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1syy7Z-0001q1-5K
for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:42:45 -0400
Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]:45717)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1syy7V-0001pi-GV
for 73736 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:42:43 -0400
Received: from phl-compute-02.internal (phl-compute-02.phl.internal
[10.202.2.42])
by mailfout.phl.internal (Postfix) with ESMTP id 422A313801F8;
Thu, 10 Oct 2024 14:42:24 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162])
by phl-compute-02.internal (MEProxy); Thu, 10 Oct 2024 14:42:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=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=fm1; t=1728585744;
x=1728672144; bh=uEcouELTTlDdeQ003gkapP0XuowAexoWHsBOWTZAKO4=; b=
OajccDI2IOwv/TsxXjWXk2+HBXXxB1mIre4jLgj/S9PBQ+P45CCfk+3cuQib/ydk
rKnokH+Abd4O2nJ6qGm7ymQt+FxPv63YiBe8EhYhfgbeFv12j56nbZ5BNa+gV03L
y6izchjSWx4veG0YFiz1cL2osbftAOwvXNOu0VqWFE17gI1aPhLWSblEKh2OnWKw
qVBaq3bI+niIlijkNsbOdEO/nlorLzal5eXTI9S6HrpEoR/OHbO59M+nvRS8Nxwq
PKAF+/taBjhzdiq/iNQrwUPYwQMRvgNlmxs2Z2YQWg83ieDTW7ymn7GP0Hti6Tfv
9hN5lY+2Haqio/lgu8g01w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=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=fm2; t=1728585744; x=
1728672144; bh=uEcouELTTlDdeQ003gkapP0XuowAexoWHsBOWTZAKO4=; b=C
fniAOpGsgDiomma8yN5F/Krbfm6JpNGIse3lMgbRSRalVkOuou0bPd9eDb76kMch
PF0J+vytGboMrlttJ55J5YkoSsJZl+UV63offn/lKNGppZy3B3csaH4+rXAibbvH
t4/Kf4dyfVA6qhRiFHlhJtTOARtLYWileNgbOb1M9Q0GsZMU/QTs2x4mBl2y+iiB
que1uTmtvA6QH2KNJSBOur0ZxJunf/9pR6yVEUmDd87AVXHX1dkytmuMTOsSSS1y
DfdKwwPBv7HsXKjzE4TIS8/Ni9UcdUfTVhls+Sn+agPQlasXNCCQzjjbJVNBY4O0
s6XCHhSGEdSpCWZC0d9Qw==
X-ME-Sender: <xms:DyAIZ0lJnxcPzQAVVbUyH8daqX3WF3Sco1YOJRZR2pRmHR7L7cCD9Q>
<xme:DyAIZz3m60_NNbHreYYcSIZ_DHVC7e1_AD0rW7UuRsu0Ib_snnVhZJPHytlEknC99
bKnjpEmqDVw-CuEUc4>
X-ME-Received: <xmr:DyAIZyou6BU_kK7YAKqyzp1P8vWKEM62jlCb81aqxJiMC_jKmw4xaQ7RhxOLncNG84rC4YhJxN50FCtV6hkNnFB4ptv8Mg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefiedgtddvucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg
fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcu
oegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnheptdfhuedvtd
evleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdtnecuvehluhhsthgv
rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtoh
hvrdguvghvpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphht
thhopegvphhgsehprhgvthiivghlnhgvthdrohhrghdprhgtphhtthhopeejfeejfeeise
guvggssghughhsrdhgnhhurdhorhhg
X-ME-Proxy: <xmx:DyAIZwnQ8CxptFFUTICZO5sGn8Eg_6bCxjId6T712ko3sfdt0T3pBA>
<xmx:DyAIZy1uAFA_zi863auzCrv-JE5GghnuZjo_9qsv8lSWZx8jbEYARw>
<xmx:DyAIZ3vzjYvE-UIsxDrHv4PgYKq_ews314K94TweEWjXVQJSPGay5g>
<xmx:DyAIZ-W-Moa0hGAfOSlSUSMfHfyfcI1IRo85xrJLfyR6Mj3LjISyDA>
<xmx:ECAIZwA0yDCUbFEeqTMp-2RSB2zPbesgTTjwWYtCm2Rr6VDMVC9gAuye>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
10 Oct 2024 14:42:22 -0400 (EDT)
Message-ID: <0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
Date: Thu, 10 Oct 2024 21:42:20 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <878quv29hk.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <878quv29hk.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Hi!
On 10/10/2024 19:44, Eric Gillespie wrote:
> I think the problem here is that eglot needs to provide a project
> root to rust-analyzer, but 'project' only knows how to find .git
> directories, which I don't have in this case.
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.
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Jim Porter <jporterbugs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 18:54:02 +0000
Resent-Message-ID: <handler.73736.B73736.17285864219160 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>, Eric Gillespie <epg@HIDDEN>, 73736 <at> debbugs.gnu.org
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.17285864219160
(code B ref 73736); Thu, 10 Oct 2024 18:54:02 +0000
Received: (at 73736) by debbugs.gnu.org; 10 Oct 2024 18:53:41 +0000
Received: from localhost ([127.0.0.1]:60584 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1syyI9-0002Ng-1D
for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:53:41 -0400
Received: from mail-pl1-f169.google.com ([209.85.214.169]:54632)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <jporterbugs@HIDDEN>) id 1syyI6-0002NU-CP
for 73736 <at> debbugs.gnu.org; Thu, 10 Oct 2024 14:53:39 -0400
Received: by mail-pl1-f169.google.com with SMTP id
d9443c01a7336-20b8be13cb1so13710945ad.1
for <73736 <at> debbugs.gnu.org>; Thu, 10 Oct 2024 11:53:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728586346; x=1729191146; darn=debbugs.gnu.org;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:mime-version:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=r5NyvSRqsEFdaZ415egwK36lg9jUQ2H2Imd92xOqI7E=;
b=ZYoNYI3s2TSLByEnjBJSfLwLBrynavcHMYhDPfg6ji//Q+352O+MqCG0PgntWfZrFQ
yhwc2cPWQtXELNx2gXNDkTd84Cbi/6vB/W7H8PHNdOnbj9rooNp3XEgiQJdfCqo5f1nw
kzsdfi659QqdKDrxJYH9GXVV3IvnWYHSGDBu8SJ7W0ERo0TSXjbS4JcfzxIf/Mye20vB
10tpsY1DRagQA2kmQKARfv818H9YBguKOjA6wrzIlx70oEzj+767BesKahexxMII4d46
AFy7y/fOuEoufoTdD0MAkkdlY/zqyaq7L9HTP3iBwE7e+DOPnlKco8ah9ly6me92WNLG
PDNQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728586346; x=1729191146;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=r5NyvSRqsEFdaZ415egwK36lg9jUQ2H2Imd92xOqI7E=;
b=YcrYtcYWGEGsdb2ggvJcIFk9mkiIF2TeESYT74cdeQTAlXncbfFXjUa5ghmnnO4mqC
mlTSZkTnYGhvEu5o38AwuMb9AGv20YO5zK1lG/vZk2S4t3m9W1VfKSW5D6Zk7QDnmqlu
EVBIU5kkYTFEpC2rtDOAfE1zvdWdYMN7eF2chmjdba6DR09JzHRPSG/D/ksSfJtMOl4c
I8ri9p5RfQ1Ohy3y4ONrRcHEMkgACwHLaqQrfkq+weo3Nm4oaxr7z7VbLUfB5IlqzpT9
MEPK9zptwTzAH7rQY1UxgJ1a/UH3HmkQKDd5WR40oTfVe+h5BNN7qDQAQEM7nS7JOSq0
4dNQ==
X-Forwarded-Encrypted: i=1;
AJvYcCVjqyTHpJZs66ujsJ1xyduuiHXAF/YFpAtwqcIOe4uxfLTWnci3a9UBBo6M4QtG28ViHj2qOQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxLA6SFpLIVXiLWsSya8E4bAKasO3xNSho99erKcEeEc8yne7JN
AGV43W6+SSmGcPG7sM8zCQNmcr1WMIE6LZE/2aud1riyCx5o7kRm
X-Google-Smtp-Source: AGHT+IEhgK+ELUA6EiXvlnzitG/WI27rULyo2sxmoZgaJGOE+S2+5qFgfDPKrmMYZdfSY8zmr55Dtg==
X-Received: by 2002:a17:902:fc85:b0:20c:9a6c:ee7b with SMTP id
d9443c01a7336-20c9a6cf00cmr14580065ad.46.1728586345466;
Thu, 10 Oct 2024 11:52:25 -0700 (PDT)
Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com.
[23.240.98.37]) by smtp.googlemail.com with ESMTPSA id
d9443c01a7336-20c8c212e42sm12408945ad.194.2024.10.10.11.52.24
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Thu, 10 Oct 2024 11:52:25 -0700 (PDT)
Message-ID: <6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
Date: Thu, 10 Oct 2024 11:52:23 -0700
MIME-Version: 1.0
Content-Language: en-US
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
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.
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 10 Oct 2024 22:01:02 +0000
Resent-Message-ID: <handler.73736.B73736.172859761914251 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Jim Porter <jporterbugs@HIDDEN>, Eric Gillespie <epg@HIDDEN>, 73736 <at> debbugs.gnu.org
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172859761914251
(code B ref 73736); Thu, 10 Oct 2024 22:01:02 +0000
Received: (at 73736) by debbugs.gnu.org; 10 Oct 2024 22:00:19 +0000
Received: from localhost ([127.0.0.1]:60773 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1sz1Cl-0003hj-3x
for submit <at> debbugs.gnu.org; Thu, 10 Oct 2024 18:00:19 -0400
Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:43775)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1sz1Ci-0003ci-6E
for 73736 <at> debbugs.gnu.org; Thu, 10 Oct 2024 18:00:18 -0400
Received: from phl-compute-10.internal (phl-compute-10.phl.internal
[10.202.2.50])
by mailfout.phl.internal (Postfix) with ESMTP id D3DD513801BC;
Thu, 10 Oct 2024 17:59:58 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
by phl-compute-10.internal (MEProxy); Thu, 10 Oct 2024 17:59:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=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=fm1; t=1728597598;
x=1728683998; bh=FP5hM52tRkGDI2q2sZOAIbGmgkh2EyfjRT3+Lz6GAgQ=; b=
eFL/9yEmFQeYqwwm3DVPThp7AfopWsaWV1NkhgujDmn5hkKBh52zbFLa2wa4khtG
/AYgLOSXSrmjFd7gJ3ENgrdOHI9/zb+n+ue7BQEdKaO/QcRETVMQ+kCHbvOHP1Jb
dL5B+spk60QgrUwuW2ilBxUJHRP/KOx+yC3aQ91GVcGQC+jXF/TB0+fA1R+NOK1w
dByXLd0/X8Zcw1sprt8rADreGi2RFatUy+LkWDmGArsM0Mqr6X6SDhlhWJclVILM
B5XV1jqmL4RVXwxOcqtypNHtOYtnUMFU0VFFZMgjmEheWc/rRc/kkLs3XSgC8/lq
FG3N49GeW30fNWjDeh0EbA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=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=fm2; t=1728597598; x=
1728683998; bh=FP5hM52tRkGDI2q2sZOAIbGmgkh2EyfjRT3+Lz6GAgQ=; b=f
IOAdUnHxrFoZD4zsYi8UyZlzF0Eymjsz7fgCzuwseglnqTxb/8x9x5Wr18V7Z5Vr
YzSrUhlRzFqI56gKM1VwweSyyh6lpyUGqnRvy6EAnXgPzKIo2wxMOtnio21PW4N2
HtUaDEvrigb5eEpJBhST89AnbfY4NJ6ySNlugcLIo6rOWoMwEpE5HekI99HVUfYs
4aaeS34XzoiPpsBA3p+7fMLwFIo07o/4EtYRcViOq8NMGTiEO5JcCkh+qH0vJjm1
Mwr9/0CKbvfIFwSi+GzqtkjbyBhXLbZj1+f8gZyiavs39/atOgvRm/sBe1J4tYXs
WZlQ/rdlezFGQHebO2H3w==
X-ME-Sender: <xms:Xk4IZ8hM__s7ccE-UVgJiMMJkVlpY230-fHb0rY0mLDnYCAMy2R1Mw>
<xme:Xk4IZ1B9BSv36HYM_FUfJhKQLn1j7MbAU7VtweoZUavDoE0MDrhK5X2A83dh1kkwi
NVxGi4N1IsXFXFoahU>
X-ME-Received: <xmr:Xk4IZ0GTDB3cu0fkQJnWApERAZw1kpbE67M7Zfs6BplxAmeYbADVrEpx1hTTWHkSV5psM709WtMUip-hrM29l3SFIm5U1g>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefjedgtdeiucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg
fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcu
oegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnheptdfhuedvtd
evleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdtnecuvehluhhsthgv
rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtoh
hvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphht
thhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghpgh
esphhrvghtiigvlhhnvghtrdhorhhgpdhrtghpthhtohepjeefjeefieesuggvsggsuhhg
shdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:Xk4IZ9SEdg2pp6kd5-jnU6WL3xdUttQ3LoeN-NFRrLnmFWA1IGQIqg>
<xmx:Xk4IZ5zKgL7yltLyEhFNpVp8SVu66ZUIf90FkBYOjTmGgAIe2F8Kww>
<xmx:Xk4IZ74IlWPPq8Qrb0FrVRrxYBbMPTRWZSYXiNY7KYOFJ6Q1j10yRg>
<xmx:Xk4IZ2z-FJL9HeDnUk0xIykdDU71rtafdX0T6ihTSXx6EniQKi84RQ>
<xmx:Xk4IZx-IwpHBSsAnCNGJMKhVjj238VKczYM_yysgSrZ5LiQN1ipgBYd2>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
10 Oct 2024 17:59:57 -0400 (EDT)
Message-ID: <d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
Date: Fri, 11 Oct 2024 00:59:54 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
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 we could have, it a variable which is added to globally in package
autoloads - so if e.g. rust-mode is installed it could add Cargo to root
markers. For rust-ts-mode we'd need to do that in the core, but then
we'd also need a way to override I guess, because in some projects that
still wouldn't be "root"...
Speaking of JetBrains and VS Code's "Open project" method, we could have
such as well - it would be a separate command or two ("open" and
"close", maybe).
If it's just for Eglot, though, maybe ideally it would have a separate
detector for directories in which to run the language server in - it
doesn't have to correspond to what the user considers to be the entire
project's root (they might prefer it to be a parent directory). Not sure
how automatic it can be in the general case, though, and it'd require
Eglot to know about root markers for all supported languages.
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Joost Kremers <joostkremers@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 08:54:01 +0000
Resent-Message-ID: <handler.73736.B73736.172863683017565 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>
Cc: Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172863683017565
(code B ref 73736); Fri, 11 Oct 2024 08:54:01 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 08:53:50 +0000
Received: from localhost ([127.0.0.1]:33418 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szBPC-0004ZF-5c
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 04:53:50 -0400
Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]:57697)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <joostkremers@HIDDEN>) id 1szBP9-0004Yy-Dm
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 04:53:48 -0400
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)
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: <xms:iecIZ-8S0DuN8Q8_1eHBsicoqIG1CFNUbR3qrExi00ySyDg3vamYeA>
<xme:iecIZ-vl5GY49eltUk1R7tnlhgVuf3_bNy0y2b5OQ35_OKXkBazqdexdyyNlagt-Y
AW02MV-sHlCbg>
X-ME-Received: <xmr:iecIZ0BfCyxa3Wrga8aVYAbFVekmN0u64SvtT5nJxqMRAmgkmz5gMssAebkQKwfZdNAcCBlBsvhtj2iE3k35a7eYbwUBFPwr1gKt>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefkedgtdelucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh
htshculddquddttddmnecujfgurhephffvvefujghffffkgggtsehttdertddttddtnecu
hfhrohhmpeflohhoshhtucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrg
hsthhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpeekveelieeuleettdefueegvddu
kefhgeevleduveeileetkeeggfekhfeuffffieenucevlhhushhtvghrufhiiigvpedtne
curfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgr
ihhlrdhfmhdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpth
htohepjeefjeefieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvphhg
sehprhgvthiivghlnhgvthdrohhrghdprhgtphhtthhopehjphhorhhtvghrsghughhsse
hgmhgrihhlrdgtohhmpdhrtghpthhtohepughmihhtrhihsehguhhtohhvrdguvghv
X-ME-Proxy: <xmx:iecIZ2d6ToxbP-sQS4Dg5XtM-k_OF5H9OVxQrwY4XNwznOF24YpT8g>
<xmx:iecIZzNsmqS29fIdQViwK2MF3FPa4MCsFeBuFE_-ng8OHQ4iglUqBw>
<xmx:iecIZwmA4EyivJWTQv4YKa0QAFpkog2C3BFn4V6zGAUSOKV-j-KJ4A>
<xmx:iecIZ1sriLfuCpDwpLsl8Tba1HYEQTsqI5Fu5ODnzmQ8RfJ3CEJjog>
<xmx:iecIZ4qqk1l0uHWy9p2EYK4dIJJ5B2FiP4brqMo1uQ23_8cM0805qc8v>
Feedback-ID: ie15541ac:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
11 Oct 2024 04:53:27 -0400 (EDT)
From: Joost Kremers <joostkremers@HIDDEN>
In-Reply-To: <d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN> (Dmitry Gutov's
message of "Fri, 11 Oct 2024 00:59:54 +0300")
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
Date: Fri, 11 Oct 2024 10:53:24 +0200
Message-ID: <86bjzrc96j.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
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
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 14:44:02 +0000
Resent-Message-ID: <handler.73736.B73736.172865783326157 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Joost Kremers <joostkremers@HIDDEN>
Cc: Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172865783326157
(code B ref 73736); Fri, 11 Oct 2024 14:44:02 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 14:43:53 +0000
Received: from localhost ([127.0.0.1]:34962 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szGrx-0006no-2d
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 10:43:53 -0400
Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]:33469)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1szGru-0006nY-7h
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 10:43:51 -0400
Received: from phl-compute-10.internal (phl-compute-10.phl.internal
[10.202.2.50])
by mailfout.phl.internal (Postfix) with ESMTP id 31C5B1380061;
Fri, 11 Oct 2024 10:43:32 -0400 (EDT)
Received: from phl-mailfrontend-01 ([10.202.2.162])
by phl-compute-10.internal (MEProxy); Fri, 11 Oct 2024 10:43:32 -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=fm1; t=1728657812;
x=1728744212; bh=qXS2bojG6OYAdR7LTiKtNHVHlOJbTGugXX9XTIy0boI=; b=
SMs/XMggtHvh4uHPTBdmGvTreuhusP/c8KyW2WAyG6gPoahNygEdvNVQ78e3343Y
DAya0QXk658ln/KwBqIK0lQ+VCoNGs08zper9JIAEYWQSlUb5C8aUl+uSc45nrrj
0Z3tqDyPKo3FOKNBRlDG3gj+/92ms49szDPJb1skrBcQVL5VH/EOcDImVLoISGh0
sur2sW5EQUx0p2k55+/J6N3ZAF7MmWJH9nerMX32s+JeExfdCkUN+htBCg8I+TGB
VG5CiLUNKgcyPBmBMe8h0iPgn4Ib9ago6O4Hh+/otmYiWbRaC+OJgHygmotXcix3
0UG0NwORKPDYJfXP7Wyzhw==
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=fm2; t=1728657812; x=
1728744212; bh=qXS2bojG6OYAdR7LTiKtNHVHlOJbTGugXX9XTIy0boI=; b=T
uoVAGoIWH5DM9mdUK6k6pj+pII9/WIXwq0fsiwmV95Qtq1aB16w2MEO1GZcd+OCU
ebAQbo7q99oiqsmvYXgQupGzBCM8rn+Dtv+nFSWJ0tvaIOEGHBTgGYwOwYUwozSi
O1mxGVCag0CkwjiHmRBrfLOT9dJQARoNRvwNYqD4Lpmqhmv2H0mAcoUBj2pdaJWH
xLxlleDGxsJPBy7OeqrV56KXKNGQ3UUE4z3Y5ImWx3+WtXRfhyUX6vzKXZRGnp1t
keHNWzfGnNDscabrWCd6d6lTrS01YdY/GHQEcM/NagH1lvg61IhfslDDZU/EgztX
SRx0LlKp9J9vpo6JrUlRA==
X-ME-Sender: <xms:kzkJZ1BF7PnLik9CN13wV5y6rNsHfjRwtiuBrHvnZHzEnay6NFXCjw>
<xme:kzkJZzh_lT14aOv7Qbbe1me2DUzlEmxrzbPPEPXE3c4syrAdJI5QJTh7R-aZ4vtUu
fuRcENNkDIehqhoQp0>
X-ME-Received: <xmr:kzkJZwnT81d7vkvMDQX-0_ylf6FT1QUp-H3VUbUVEDEDc1-JEjH1oJdoTCSMwEWESw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefkedgjeelucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh
htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej
necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug
gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef
tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe
hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho
peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehjohhoshhtkhhrvghmvghrsh
esfhgrshhtmhgrihhlrdhfmhdprhgtphhtthhopehjphhorhhtvghrsghughhssehgmhgr
ihhlrdgtohhmpdhrtghpthhtohepvghpghesphhrvghtiigvlhhnvghtrdhorhhgpdhrtg
hpthhtohepjeefjeefieesuggvsggsuhhgshdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:kzkJZ_xcmiHDVOG-fN9m8HyOQfGR30wee6TRFQF33f6DUf_K85FsCg>
<xmx:kzkJZ6TD13ri8eai3khTVZetxN6GzQ3bNOYc_z9Fzc8V7POESxMwqQ>
<xmx:kzkJZyZBujvl2l5fHOy-PbJ9DExauMU6YQtoFqH1WHwg0TIEH5xfEg>
<xmx:kzkJZ7RyezqAObNeUFHPp1wgtqSY9GnU0ntSufWNCTYumF9jxcyomA>
<xmx:lDkJZwMkHetsvy7UkAss54OjJ1DaaiSvyonyrR82vB2k9lloNQYyEF5j>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
11 Oct 2024 10:43:29 -0400 (EDT)
Message-ID: <2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
Date: Fri, 11 Oct 2024 17:43:26 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN> <86bjzrc96j.fsf@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <86bjzrc96j.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
On 11/10/2024 11:53, Joost Kremers wrote:
>> 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")
> ```
That's the recommended course of action if you don't have other
consistent indicators of project root, between your projects.
I'm not a fan of adding a file that has no other purposes, but if people
find this useful, no problem. For personal projects it certainly
shouldn't hurt.
Eric, Jim, how would you like this resolution?
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Ship Mints <shipmints@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 17:43:01 +0000
Resent-Message-ID: <handler.73736.B73736.172866853729972 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>
Cc: Joost Kremers <joostkremers@HIDDEN>, Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172866853729972
(code B ref 73736); Fri, 11 Oct 2024 17:43:01 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 17:42:17 +0000
Received: from localhost ([127.0.0.1]:35267 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szJeb-0007nM-En
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 13:42:17 -0400
Received: from mail-ua1-f46.google.com ([209.85.222.46]:59444)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <shipmints@HIDDEN>) id 1szJeY-0007n2-Sv
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 13:42:15 -0400
Received: by mail-ua1-f46.google.com with SMTP id
a1e0cc1a2514c-84fbee98881so490189241.2
for <73736 <at> debbugs.gnu.org>; Fri, 11 Oct 2024 10:42:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728668456; x=1729273256; darn=debbugs.gnu.org;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=KbzAEpgUvWl/hthc2Z/BjByJLzhLw+6gcU75b5lHQ5Y=;
b=L3fZaYSFd5bmOeDX4yfQu18O2ADGF6iiR4mH2KkJ6QEvLROhrjMkp86/LsNtLED3Y+
5n60h3jYRtmubRtUhYsudaCw5kNgixaPMe89Zr7tUzoM+P65kNy/9z03vCsKqRuehODv
3HvUO5jpc9UwdtAdj+b3F6qrMV6wj7QbPLjZTun49+y0RNX6L5pUv40sauGwLdFm5RrF
Z0IigZCOP1Dcfl+zLXpHcFINj2lDEKqBE4zJFN36xN0d1UhC4jRXVL6yquh+Cf8jGPoA
7KzF7N85SgYBfwpVAcZrkE5GZuYV1O/WrJ6N7dtEXrOhZeW0Xr5KI09mjQSqsX/AtEKP
4V4g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728668456; x=1729273256;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=KbzAEpgUvWl/hthc2Z/BjByJLzhLw+6gcU75b5lHQ5Y=;
b=Ubff2RyPn/XtkGJJzrMI/UHonuxb7CnabYKSyQp6eFl9U2dYQs+wXI25xICgyMCuyj
Wmj2YvZPu4SyM1RmKFQTCEUoBSvdJB1PaGQdauFjTwlkpKVByvnOTBadfoEqJSfI0zgG
2T7OV8m7P+hOYXamB7yv8bTJQ78qNCtimZFUl6f/QJUu9DLh+x+1V4qLsEpqnIGm2y3x
md8M/2vts00jwfjvZ0YDrOpVSSIiSpdavLovX24SROhzaPnfD0xyJyFdht3tw9T0gy3I
ALrKXSE28zEf04ycqezmRlGKXceiQs5IEzJ/JG8XSSgmrLKnxb6yCsCKPXsJpYW44Or5
ydyQ==
X-Forwarded-Encrypted: i=1;
AJvYcCVGrZSCzTs6HHZ7/i3pshoroKIcSpAkv1lb/akkYFOh6Mp6g7/zM2qpgLKPJnkTauyPJyUBhg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YytzXDCE96VANGel/mAZx5nXfX9SlILps2FVSAGLWwSvoKvNlHa
5Q4mdAyBOgezOnMABTkQvGv2fVuimRiM++CWf1SZQtPMDePoHXRdqtci2xyhrO9X5ecy8WLGAfo
nGDMGNxM5cwgHpNF1RFRDVmhU1/s=
X-Google-Smtp-Source: AGHT+IHzG+SwXpxIT14aqwMSyVpdu+4/2GuIftShGS8WblD8EVOKPr7OTXuSeiuH2B0NwaS91h+qFGbPXOUxSGlgVlg=
X-Received: by 2002:a05:6102:dc8:b0:498:9a94:d797 with SMTP id
ada2fe7eead31-4a465a96849mr2952482137.20.1728668456259; Fri, 11 Oct 2024
10:40:56 -0700 (PDT)
MIME-Version: 1.0
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
<86bjzrc96j.fsf@HIDDEN> <2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
In-Reply-To: <2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Fri, 11 Oct 2024 13:40:45 -0400
Message-ID: <CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
Content-Type: multipart/alternative; boundary="00000000000045176b062436fd7f"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
--00000000000045176b062436fd7f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I assume you're not suggesting adding ".project" to everyone's Emacs
default configurations. It's a user option already (which I do use).
On Fri, Oct 11, 2024 at 1:14=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:
> On 11/10/2024 11:53, Joost Kremers wrote:
> >> That's a natural question, but it would result in different results fo=
r
> >> "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")
> > ```
>
> That's the recommended course of action if you don't have other
> consistent indicators of project root, between your projects.
>
> I'm not a fan of adding a file that has no other purposes, but if people
> find this useful, no problem. For personal projects it certainly
> shouldn't hurt.
>
> Eric, Jim, how would you like this resolution?
>
>
>
>
--00000000000045176b062436fd7f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">I assume you're not suggesting adding ".project" to everyo=
ne's Emacs default configurations. It's a user option already (whic=
h I do use).</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cla=
ss=3D"gmail_attr">On Fri, Oct 11, 2024 at 1:14=E2=80=AFPM Dmitry Gutov <=
<a href=3D"mailto:dmitry@HIDDEN">dmitry@HIDDEN</a>> wrote:<br></di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde=
r-left:1px solid rgb(204,204,204);padding-left:1ex">On 11/10/2024 11:53, Jo=
ost Kremers wrote:<br>
>> That's a natural question, but it would result in different re=
sults for<br>
>> "current project" for files in the same directory (which=
often enough use<br>
>> different major modes).<br>
> What about a single marker that works for any project? This is a<br>
> work-around that Projectile uses and I'm using it with project.el =
as well,<br>
> with:<br>
> <br>
> ```<br>
> (add-to-list 'project-vc-extra-root-markers ".project")<=
br>
> ```<br>
<br>
That's the recommended course of action if you don't have other <br=
>
consistent indicators of project root, between your projects.<br>
<br>
I'm not a fan of adding a file that has no other purposes, but if peopl=
e <br>
find this useful, no problem. For personal projects it certainly <br>
shouldn't hurt.<br>
<br>
Eric, Jim, how would you like this resolution?<br>
<br>
<br>
<br>
</blockquote></div>
--00000000000045176b062436fd7f--
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: "Dmitry Gutov" <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 21:21:02 +0000
Resent-Message-ID: <handler.73736.B73736.172868163910772 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: "Ship Mints" <shipmints@HIDDEN>
Cc: Joost Kremers <joostkremers@HIDDEN>, Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172868163910772
(code B ref 73736); Fri, 11 Oct 2024 21:21:02 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 21:20:39 +0000
Received: from localhost ([127.0.0.1]:35517 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szN3v-0002ne-Ho
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 17:20:39 -0400
Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]:43699)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1szN3r-0002nC-5D
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 17:20:38 -0400
Received: from phl-compute-06.internal (phl-compute-06.phl.internal
[10.202.2.46])
by mailfout.phl.internal (Postfix) with ESMTP id 6EFD11380267;
Fri, 11 Oct 2024 17:20:09 -0400 (EDT)
Received: from phl-imap-04 ([10.202.2.82])
by phl-compute-06.internal (MEProxy); Fri, 11 Oct 2024 17:20:09 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; 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=fm1; t=1728681609; x=1728768009; bh=BbfrM6fNeO
jMIi9qtCX6BrqHOqJ7pdjWQzZD5811/+Q=; b=SFG5VuM7ucsAeTgqpy5BiUEOQu
TgRcrIURjtsGzlApTSxq5aUdvzzVtpj8T3TJ9vwAhppLiRh1+S82Ob+r/F76h9X5
H0p0UiOC1IhgCXLR8L9e+jtiCKWyCs8CVkCO4VJIe53yepAJ1ex5kTpd4K/eEYAI
0l3TNOdgEcE+2grOkEL6BgYbTGaNMeQ/vFkZruWQb09Yl4Hqi2NrpjOK40tBGUXz
7wQfRvl1tzM7E6qm4qOxjYTBjNgQTqr1ODjko8t+/YYIUOdWdZUXkmMczCb/ZkmK
IVW85drwfTyxVh+iM+FJrXC8If/2EwKmEHfO/cb9FroeB8CaG55tdcBncUTg==
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=1728681609; x=1728768009; bh=BbfrM6fNeOjMIi9qtCX6BrqHOqJ7
pdjWQzZD5811/+Q=; b=Y4gICoh5n1PgoA+HJuQB0ZbAcS36Srz+UoxokkHPDWa0
OPQYKiANe9WmBX4Jg7Vn+OIoTs5YqVmPNYo42+XkIYA5IaQUSaa3PZINuoRhQ9xS
pFugFVuzlKdRghZtWd6hGQw3iM3XMHDossP3oCK5Gw/5CVIcQhDXwXNoOgkkN0X7
WFfgSQMvjeiuGXdB8GobmsOCwMs7M2SIUd3QZ+woB1nbKivYhh1bcv7V7VAaIkQ1
+99V0aow5l+u0ZOwEYG4sZdBtE0M03r+KA+91LWx3svqr8LN44bViwHxZxPuamgb
t21lpWnINVmaUvI65xWbggxa9C4L/RxLpW5ZS4lTkg==
X-ME-Sender: <xms:iZYJZ2TlQmcTPBwAEUZjTnB00Jw9Sk1zI6GBY2vBEf1hrq2rIBPS4w>
<xme:iZYJZ7yfuYnOYioZUgA4hJ1Ofi5gvSyZ5PTKSu0GUhxW42VICcL_gD9Pkif0ZNtYL
1fx_aPh3KMofzwMyeQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefkedgudehlecutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
hnthhsucdlqddutddtmdenucfjughrpefoggffhffvvefkjghfufgtsegrtderreertddt
necuhfhrohhmpedfffhmihhtrhihucfiuhhtohhvfdcuoegumhhithhrhiesghhuthhovh
druggvvheqnecuggftrfgrthhtvghrnheptdfgffekheefueehvddtvdevgfetveehhfei
tdeiheekiedthfekjedtheeiudetnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg
hmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphht
thhopeehpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeejfeejfeeiseguvggssg
hughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjhhoohhsthhkrhgvmhgvrhhssehfrghs
thhmrghilhdrfhhmpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtg
homhdprhgtphhtthhopehshhhiphhmihhnthhssehgmhgrihhlrdgtohhmpdhrtghpthht
ohepvghpghesphhrvghtiigvlhhnvghtrdhorhhg
X-ME-Proxy: <xmx:iZYJZz1DPKpHX7jGnLNU3Sthvyqbelows9Oscb3xtvP83HJXOSgnLQ>
<xmx:iZYJZyDbMMcKGRaa63aw4gy_UhWfy_9aVjSNbmkv3jiw5s-5w-iIjg>
<xmx:iZYJZ_jQb7LBiSDhRVuEWbUnGz6Ctp1ggRRtEPXJ9DRcP0MNQ0VfOg>
<xmx:iZYJZ-pl4aSfGAU7E7R_grkJ866nPJdU4THP0BGct4RiKGts91CwQA>
<xmx:iZYJZ_fdhHGpxV1eu5JUv8wev555-HDbPqP1hDjl8Sj6DYu6_rxPJy-F>
Feedback-ID: i07de48aa:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501)
id 081882E6008B; Fri, 11 Oct 2024 17:20:09 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
Date: Fri, 11 Oct 2024 23:19:47 +0200
From: "Dmitry Gutov" <dmitry@HIDDEN>
Message-Id: <a9804aa4-b3e5-4fc2-ab5d-5ff18207c329@HIDDEN>
In-Reply-To: <CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN> <86bjzrc96j.fsf@HIDDEN>
<2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
<CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
Content-Type: multipart/alternative; boundary=8d27eb69e65a47dc9fc57931c4056bf6
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
--8d27eb69e65a47dc9fc57931c4056bf6
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
On Fri, Oct 11, 2024, at 7:40 PM, Ship Mints wrote:
> I assume you're not suggesting adding ".project" to everyone's Emacs default configurations. It's a user option already (which I do use).
I am - if it helps avoid this recurring question.
--8d27eb69e65a47dc9fc57931c4056bf6
Content-Type: text/html
Content-Transfer-Encoding: 7bit
<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>On Fri, Oct 11, 2024, at 7:40 PM, Ship Mints wrote:<br></div><blockquote type="cite" id="qt" style=""><div dir="ltr"><div class="qt-gmail_default" style="font-family:monospace;">I assume you're not suggesting adding ".project" to everyone's Emacs default configurations. It's a user option already (which I do use).<br></div></div></blockquote><div>I am - if it helps avoid this recurring question.</div></body></html>
--8d27eb69e65a47dc9fc57931c4056bf6--
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Jim Porter <jporterbugs@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 21:51:02 +0000
Resent-Message-ID: <handler.73736.B73736.172868345818837 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>, Eric Gillespie <epg@HIDDEN>, 73736 <at> debbugs.gnu.org
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172868345818837
(code B ref 73736); Fri, 11 Oct 2024 21:51:02 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 21:50:58 +0000
Received: from localhost ([127.0.0.1]:35553 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szNXF-0004tj-Jo
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 17:50:57 -0400
Received: from mail-pl1-f173.google.com ([209.85.214.173]:46109)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <jporterbugs@HIDDEN>) id 1szNXC-0004sM-Af
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 17:50:56 -0400
Received: by mail-pl1-f173.google.com with SMTP id
d9443c01a7336-20b7259be6fso27036905ad.0
for <73736 <at> debbugs.gnu.org>; Fri, 11 Oct 2024 14:50:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728683375; x=1729288175; darn=debbugs.gnu.org;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:mime-version:date:message-id:from:to:cc
:subject:date:message-id:reply-to;
bh=D9OsAffU73sDS4K+npyyXb1NGdzXVQiKhuqslQ+oAco=;
b=IGJdvvc29TCkgAbyMgv9/tUtqqFlwScGS61S8N1Ajdk0UzALxQLB2cwNwxIOqxIHfc
owCTjhg7FN/8at//F+VuihXRLSx4jNSOYVGpe4TnJYUYAWs7HsAfxhsXpfJI9sV2tlxW
0EzkXeNrTCfZaqQ4a45Nm4JaRPrfmLRS5wd+nOkvHfFseaY6uLsgt74gQrOLpacbyL2w
emzYhpRRujHe2c2xrbkZ4Wh5GuZsivkwtGsAa4Y5S0cxJCFyjBZcRk3esiLnTZZ1u11N
XXiDtgqe4K/b6akE3Y6P97ANslzItM4cmDpVuQqvI/RZSpGUqztrkVJ3calX2AU+ZTa0
ZP6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728683375; x=1729288175;
h=content-transfer-encoding:in-reply-to:from:references:to
:content-language:subject:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=D9OsAffU73sDS4K+npyyXb1NGdzXVQiKhuqslQ+oAco=;
b=sIqcZFMR+PYG4aOdw8aSetmDOU1FdxafHFn6VgrN4LybqM+en6TKEV2fV1+OwV67+Q
1nkcSrajzleG8NzZcQLP16Mb6Jq7WqpJhnbol4G/d5xntFZJeM5Gqw1qMx1dsHLokGVk
zUfFwjyx0zhqYbCMUDNcP8EaKk4lx53zv3M1+HpXWlwOzkoHnDBBTzOL/im32lV36Jbj
rf1orPvGMGgGqP5pTp0/6w1aEPsC6TED5DPtFO+vKH2XSACZiEV51Gtn6hpJ/6ascIF6
fz8t0h/2Gv1gvor2Fz0i8Zp0S8gZKUXpy18rvfo1PwMNhe2aiap4J12uTx+lIJecRyna
j/FA==
X-Forwarded-Encrypted: i=1;
AJvYcCUTyKTJTVf3Kmky4GMBYSUtS8yT6RHhiTUWuJgTn7+534E2X6Ej21swZSzJjHqmuA2jIKx4MQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yx683euvPG5fG4vVX6QpuMTDoTCnts7IBtBO61YpCLOnhkuKz+e
PWNrcMyTxz4rve/9yACFM4bnqzHHSfZBqJeDQaK5guYNh87cGlfk
X-Google-Smtp-Source: AGHT+IG/DR3+DG3QJnY3xLowdzZNeLzF326u5sU1rRk85xW6YogRV0JEsPFqis0Zv3AVJNTyeEWUjA==
X-Received: by 2002:a17:902:e549:b0:20b:5439:f194 with SMTP id
d9443c01a7336-20ca143ae73mr40618835ad.16.1728683374885;
Fri, 11 Oct 2024 14:49:34 -0700 (PDT)
Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com.
[23.240.98.37]) by smtp.googlemail.com with ESMTPSA id
d9443c01a7336-20c8c33ce73sm27927455ad.254.2024.10.11.14.49.34
(version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
Fri, 11 Oct 2024 14:49:34 -0700 (PDT)
Message-ID: <f4b1a71c-beb0-ef2c-a553-d4f48686cf13@HIDDEN>
Date: Fri, 11 Oct 2024 14:49:33 -0700
MIME-Version: 1.0
Content-Language: en-US
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
From: Jim Porter <jporterbugs@HIDDEN>
In-Reply-To: <d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
On 10/10/2024 2:59 PM, Dmitry Gutov wrote:
> If it's just for Eglot, though, maybe ideally it would have a separate
> detector for directories in which to run the language server in - it
> doesn't have to correspond to what the user considers to be the entire
> project's root (they might prefer it to be a parent directory). Not sure
> how automatic it can be in the general case, though, and it'd require
> Eglot to know about root markers for all supported languages.
Yeah, that raises a good point: what exactly counts as a "project"
depends on the context. For simple scenarios, a project is approximately
equal to a VC repository, but for more complex scenarios, I think it
depends on what you want to *do* with the project. For example, suppose
I have a Git monorepo that has several different Python packages in it.
Should Emacs consider the monorepo to be the lone project, or should
each Python package be a project? I don't know if either answer is
correct 100% of the time.
(Even if we're just thinking about VC, "what project is this file in?"
can have multiple answers. Sometimes if I'm working in a Git submodule,
I want that submodule to be the project, not the parent repo.)
I'm not sure if we should open this can of worms yet though...
> I'm not a fan of adding a file that has no other purposes, but if people find this useful, no problem. For personal projects it certainly shouldn't hurt.
>
> Eric, Jim, how would you like this resolution?
I'm fine with recognizing ".project" by default, since it seems we'd
just be adopting an already-existing practice. In addition to the cases
already discussed, it seems that the Eclipse and STM32 IDEs also use a
".project" file at the project root for various things.
To turn it around though, are there cases we know of where we *wouldn't*
want ".project" to mark a project root? Maybe if an Eclipse IDE project
were in a Git subdir? (In that case, maybe ".project" should only be
checked for as a fallback if we couldn't determine the project using a
"real" VC file.)
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 11 Oct 2024 22:31:02 +0000
Resent-Message-ID: <handler.73736.B73736.172868580427932 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Jim Porter <jporterbugs@HIDDEN>, Eric Gillespie <epg@HIDDEN>, 73736 <at> debbugs.gnu.org
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172868580427932
(code B ref 73736); Fri, 11 Oct 2024 22:31:02 +0000
Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 22:30:04 +0000
Received: from localhost ([127.0.0.1]:35605 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szO95-0007GR-Ab
for submit <at> debbugs.gnu.org; Fri, 11 Oct 2024 18:30:03 -0400
Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]:53549)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1szO92-0007FR-V4
for 73736 <at> debbugs.gnu.org; Fri, 11 Oct 2024 18:30:02 -0400
Received: from phl-compute-07.internal (phl-compute-07.phl.internal
[10.202.2.47])
by mailfhigh.phl.internal (Postfix) with ESMTP id 1D18E1140261;
Fri, 11 Oct 2024 18:29:42 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
by phl-compute-07.internal (MEProxy); Fri, 11 Oct 2024 18:29:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=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=fm1; t=1728685782;
x=1728772182; bh=43dFiKHqsyK48GrzhlICzU7fjBDM4Svaahg5Nf8Nciw=; b=
VAXS/mpviZj5+Hzt1lN/ts4/aPPCv5xtFVS+Eg6qkH1+HGde9jNWEkMzNEYV2Z1z
8NVGtNGip0KQGR/OwyZSDUy4FU4NU6A7vQS7Efo6j330lB6THnphEplkJb3l2DFj
dd2WIjaoQOHwTpDRAWDJbu04i6ffCnQ4uJU98xlyoVmMlWkawEmLzpMDPPqX4951
2Si7anXbHYVHpfLo326fG5F1n0/enOd9uREHwIXr/5YFysaHE+ci2QYqNMBSm4xs
NOJlRY8YFg8NqZUhexwdeeLRB6K75Ru7qIHgwkfd65FEh8s/3BfQqPcHJMEF0Fsi
88TCs90DGV31pF4pPLaIWQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=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=fm2; t=1728685782; x=
1728772182; bh=43dFiKHqsyK48GrzhlICzU7fjBDM4Svaahg5Nf8Nciw=; b=b
czuwinnq3ONkJYCWMEttOx6618DBj87evnLdCJVUATzFouwBvC99oBJu0o/1XkHS
5SpvYWqLlNO82vnij/f7ONrfHaLA8/SZJKvhnDVtljmLgPr5L5qJ6/cLZhrnkrF1
sx3NUW3IJ5Fyrs4QQy5t/Yj/X7sEjIE9V/YcAANeIG9aa+Vf/7Iyzg7YynzRuVF0
afpjyB8cvCaAB4PL1NeDybCPKZ6IcW7qfyKOEqVgs1WSiPqTwuR6ZQWF9Vgm+/Zx
IgZ/tIvawEnwulD5Q/kUaA4yfdIFWI2hFidtKDTuEWtf4URi4mvGApYTIUM20/pe
n+yrfLfaYn9uZBPYXQzsg==
X-ME-Sender: <xms:1aYJZ2OiuAUf1efImjMSYJ3toWpGug6JMcFqMZB66k3Q5s2FyZpecg>
<xme:1aYJZ08yvCbHlcNE7Aame7Z_bgoX1Vj1n_rOFsQqWw9sSX5boie9gOZsqcrnOf84P
dRSMqwAh6xx1tg1Q2Y>
X-ME-Received: <xmr:1aYJZ9S9iG07I-X_w74qMJ20oO_G-CqbVwRvf-cgac2sm1PpX7_-e59d8I-o-i9KnnII4ymQoLjWYlCMCB3ykpq4jm-VLP2TpC22>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefledgudduucetufdoteggodetrfdotf
fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu
rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfg
fuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhithhrhicuifhuthhovhcu
oegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrthhtvghrnheptdfhuedvtd
evleegueelvedvjeevheffveevhedvuefftdefhfdvueeggfetgfdtnecuvehluhhsthgv
rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepughmihhtrhihsehguhhtoh
hvrdguvghvpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphht
thhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghpgh
esphhrvghtiigvlhhnvghtrdhorhhgpdhrtghpthhtohepjeefjeefieesuggvsggsuhhg
shdrghhnuhdrohhrgh
X-ME-Proxy: <xmx:1aYJZ2u3GJp0tNtitnmQ2oqLvy7UdRjmdA_neecBEy1XLdBDERnFxw>
<xmx:1aYJZ-f-N-4FluDpXc1Nzql0A5sH11EuYZKGQJaWLvAMwxE2ObAsnA>
<xmx:1aYJZ62utYxtm7qG9deya266ax2WmhHvfzJyHBIP8NT3wm2QvccTBw>
<xmx:1aYJZy9fZKQzFkguyXI07PrB4zqdE3hYCla8K-ir8q39D2FwHc5fwg>
<xmx:1qYJZ-5ckpKSyYRdvDkbTyV6S10JuLeqbQLP5v25dP_rgkl3dsGqbtnA>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
11 Oct 2024 18:29:37 -0400 (EDT)
Message-ID: <648dd5a0-e083-4046-b624-f8114791bd6e@HIDDEN>
Date: Sat, 12 Oct 2024 01:29:29 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
<f4b1a71c-beb0-ef2c-a553-d4f48686cf13@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <f4b1a71c-beb0-ef2c-a553-d4f48686cf13@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
On 12/10/2024 00:49, Jim Porter wrote:
>> I'm not a fan of adding a file that has no other purposes, but if
>> people find this useful, no problem. For personal projects it
>> certainly shouldn't hurt.
>>
>> Eric, Jim, how would you like this resolution?
>
> I'm fine with recognizing ".project" by default, since it seems we'd
> just be adopting an already-existing practice. In addition to the cases
> already discussed, it seems that the Eclipse and STM32 IDEs also use a
> ".project" file at the project root for various things.
That's good to know.
> To turn it around though, are there cases we know of where we *wouldn't*
> want ".project" to mark a project root? Maybe if an Eclipse IDE project
> were in a Git subdir? (In that case, maybe ".project" should only be
> checked for as a fallback if we couldn't determine the project using a
> "real" VC file.)
That would require a new variable because
project-vc-extra-root-markers's original goal was to allow sub-projects
inside a VC repo (or projects outside of any repos).
At this point I'd rather recommend users who prefer a different behavior
to customize this var to a different value, removing .project from it.
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Ship Mints <shipmints@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Oct 2024 14:35:02 +0000
Resent-Message-ID: <handler.73736.B73736.172874364411736 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>
Cc: Joost Kremers <joostkremers@HIDDEN>, Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172874364411736
(code B ref 73736); Sat, 12 Oct 2024 14:35:02 +0000
Received: (at 73736) by debbugs.gnu.org; 12 Oct 2024 14:34:04 +0000
Received: from localhost ([127.0.0.1]:46426 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1szdC0-00033E-Bv
for submit <at> debbugs.gnu.org; Sat, 12 Oct 2024 10:34:04 -0400
Received: from mail-vk1-f180.google.com ([209.85.221.180]:44176)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <shipmints@HIDDEN>) id 1szdBy-00032v-FN
for 73736 <at> debbugs.gnu.org; Sat, 12 Oct 2024 10:34:03 -0400
Received: by mail-vk1-f180.google.com with SMTP id
71dfb90a1353d-50d46cfcbc1so79591e0c.0
for <73736 <at> debbugs.gnu.org>; Sat, 12 Oct 2024 07:33:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728743567; x=1729348367; darn=debbugs.gnu.org;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=yTPQqtevWT2wbWfA8YajdIfpy2d+8wvWuHH0+XUgjoc=;
b=Gycb85uwyLjbvyf9BOqCF9BFGanBG6KOxkKfYb+Pqxiu+CdaKytTIz/+gVAMtgvm5U
vEQ2vPgt2qYaNpjlf7H4GuyEYUyCVqfInUDMC9ltLkT5RYsKFR6OC9GQGm+wN/LkC4SA
9cZLUH+30gX6GJ430R/5WnaywqfbApCbk5aoZ/260jEiT0BH5OWCGxgQTAq7CZTgXw8x
cPpaM7ibe8i/ZYXD3SQq1MzQCNVHum5YSBRzN0Z+oVU1YoBRBaE6lofVrqEVK5K3M2v6
KxPuN3z4J49zGmfcnAaMQSoVHnUn+T1vvs4/ASl/LsYorRQn2yEHpIh6Vy2XrscoX+s9
/2wg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728743567; x=1729348367;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=yTPQqtevWT2wbWfA8YajdIfpy2d+8wvWuHH0+XUgjoc=;
b=YZ3HM+94BzHLwVrjBmYLplDcrfVU73cIJeR2d+e9fpK34XIgB2WyHHwUbeFHZJvVQX
d9At42MSuWh/OXwZ4nfOY49F8vw3CnY45SOu5eqUB8aQ4rl+kRK5TraS/ytZCO9S8Hn+
XbntFwZT8Rumdweq4qLhM/vbHBdh5XqW09wKmwYZzt2+7SZSw8IvIvAje6suoPL9WnuD
FFEZ0Ik0ynt62K1QyHmCxJ2av7/56wJUtMgfn9JgbFceH73ubOu5zyxILbyOcdsLkNkp
XDUk3QhuqHHM/20wc3b0+r/aUKUNhK3mmUM5oKNjFyLHFs1T51Rtv52CQEicZyUB4YKk
QpyA==
X-Forwarded-Encrypted: i=1;
AJvYcCWkfbDR+c8EdQ8dt11H8m+92Yn+wkyKYw63PyUYu926x9a2HE+va+xQxmZrZwew0iOAeB0p9A==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzAkG5TyCRh4SfibeIcCOJiXsbvIkYPNVY0K6//8thq4SpLMzPS
ooROueKIla/YOKFkg/TaQPIQ3ShxPtJ/JoquGSursN+ha4hK1F3ayUx+AQB8BUSF3KibAc3aFND
Yv/JRpTUAs1KCKvpRgfC1TqjLxd4=
X-Google-Smtp-Source: AGHT+IF5bqNDG02iHBZYtECDGxCzy7FUkes4VoO25S8YPjmGNrLpCLFNuhDEJQiYkNDhFKjwSJGT/YAUzieJcfZcXCo=
X-Received: by 2002:a05:6122:251f:b0:50a:bdef:63ad with SMTP id
71dfb90a1353d-50d1f4d239fmr4769314e0c.7.1728743567311; Sat, 12 Oct 2024
07:32:47 -0700 (PDT)
MIME-Version: 1.0
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
<86bjzrc96j.fsf@HIDDEN> <2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
<CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
<a9804aa4-b3e5-4fc2-ab5d-5ff18207c329@HIDDEN>
In-Reply-To: <a9804aa4-b3e5-4fc2-ab5d-5ff18207c329@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sat, 12 Oct 2024 10:32:36 -0400
Message-ID: <CAN+1Hbq4BuWQkF+2gdBV_=sXKEYaCYF=BA_Kuihfq-rUEmmXFQ@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000003cc9490624487a20"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
--0000000000003cc9490624487a20
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
If you're really serious about this, I'd like to suggest ".project.el" or
"project.el" over an unadorned ".project" to avoid clashing with
third-party software that uses .project files or directories for its own
purposes.
On Fri, Oct 11, 2024 at 5:20=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:
> On Fri, Oct 11, 2024, at 7:40 PM, Ship Mints wrote:
>
> I assume you're not suggesting adding ".project" to everyone's Emacs
> default configurations. It's a user option already (which I do use).
>
> I am - if it helps avoid this recurring question.
>
--0000000000003cc9490624487a20
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">If you're really serious about this, I'd like to suggest ".=
project.el" or "project.el" over an unadorned ".project=
" to avoid clashing with third-party software that uses .project files=
or directories for its own purposes.</div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Oct 11, 2024 at 5:20=E2=
=80=AFPM Dmitry Gutov <<a href=3D"mailto:dmitry@HIDDEN">dmitry@gutov.=
dev</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e=
x"><div class=3D"msg-7469667467191530368"><u></u><div><div>On Fri, Oct 11, =
2024, at 7:40 PM, Ship Mints wrote:<br></div><blockquote type=3D"cite" id=
=3D"m_-7469667467191530368qt"><div dir=3D"ltr"><div style=3D"font-family:mo=
nospace">I assume you're not suggesting adding ".project" to =
everyone's Emacs default configurations. It's a user option already=
(which I do use).<br></div></div></blockquote><div>I am - if it helps avoi=
d this recurring question.</div></div></div></blockquote></div>
--0000000000003cc9490624487a20--
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Dmitry Gutov <dmitry@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 12 Oct 2024 20:41:01 +0000
Resent-Message-ID: <handler.73736.B73736.17287656127503 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Ship Mints <shipmints@HIDDEN>
Cc: Joost Kremers <joostkremers@HIDDEN>, Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.17287656127503
(code B ref 73736); Sat, 12 Oct 2024 20:41:01 +0000
Received: (at 73736) by debbugs.gnu.org; 12 Oct 2024 20:40:12 +0000
Received: from localhost ([127.0.0.1]:34265 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1sziuJ-0001ww-P2
for submit <at> debbugs.gnu.org; Sat, 12 Oct 2024 16:40:12 -0400
Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]:58893)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <dmitry@HIDDEN>) id 1szikt-0001Dz-LM
for 73736 <at> debbugs.gnu.org; Sat, 12 Oct 2024 16:30:28 -0400
Received: from phl-compute-07.internal (phl-compute-07.phl.internal
[10.202.2.47])
by mailfhigh.phl.internal (Postfix) with ESMTP id 90C521140186;
Sat, 12 Oct 2024 16:30:07 -0400 (EDT)
Received: from phl-mailfrontend-02 ([10.202.2.163])
by phl-compute-07.internal (MEProxy); Sat, 12 Oct 2024 16:30:07 -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=fm1; t=1728765007;
x=1728851407; bh=dq5QkH5WrxnNfbtv0Pti8RsGcZQPilf5gklDK9Arn+M=; b=
E1vq/eZaeeF5G8PL5YCf8l5MZ8tFdGw8OQ3h/PurhOoeMYUGV8zqeiWMZ7gTEC2q
fCp27m7M4d159RGFgb6rJN14MO8EbBf6AEfDWiR/TrNmIOdAr2DGDuUMyG9JP1rT
qRT6vqqwe7A6h2lVSSuQmalz1vCtSNic9VaBoxxwwPrJE7kMxadqGzbKnS1MFe4+
05hukpN50MPBAAdHRnFFYULZD6SlR9jSp/AWyiKuYrd3LqSu6ZrSaDj4ipvPlELA
0PuBo87DvenM3KlzuQiJ8a/IPdqGBZ+0b7WLfe35O/nZstsaGKHlPFVALfN50Ubm
QITrlgdJCzNNrkHdsr4OYQ==
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=fm2; t=1728765007; x=
1728851407; bh=dq5QkH5WrxnNfbtv0Pti8RsGcZQPilf5gklDK9Arn+M=; b=h
eXuVbL7rH8Mg0WP0fBz0DSR+JagBUgDtfR5x0S/OF6rwPqN/vx+y8LWRDfWHitig
ABDRQG3kw8lD38Rb7va47DNYHZtL8mlb8QR90odDKih6xFeWq2FMeY7Kp5JyBfsh
6RkFiI8AEj7chgVbJF3oH5mOZUzLhvsCHCuVFjiNRj5TWVmKD+RTfPPSssu4kCP5
LL/1au7UToWJbHhz8TpKJvMCoQgFOQOajpM9h8ycN1H+5oaNGH8mq0lme/5U2TLX
1Px2s4quAke2yUwFgzoHXRYFhMuVB9EoVevuSWHBy1P4CgamZJ4DzbwjUBJ79G7D
rMBpyuVIHuUU/a0rii+Jw==
X-ME-Sender: <xms:T9wKZz_TSDqo2nEqcK7UqYbk5eBv1lujFRVGKDhfkx9ibZZ-nKfiyA>
<xme:T9wKZ_un1ub5SyZYxsCvRodkAMHbwS6kipdBuLsVuEPOum8WEB-AMz8AQqQUsfZjE
aczhfJnpuROEyhUMP8>
X-ME-Received: <xmr:T9wKZxBgFaEpmQjd_edtuNgIxBa_mU4WTj_1Bs4lUHoISAA6VEeb73Z1w4GMwYefgGnR>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeguddgudehtdcutefuodetggdotefrod
ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp
uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg
hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv
jeenucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrd
guvghvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeu
fedtvddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh
epmhgrihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthht
ohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepshhhihhpmhhinhhtshesgh
hmrghilhdrtghomhdprhgtphhtthhopehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgr
ihhlrdhfmhdprhgtphhtthhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhmpd
hrtghpthhtohepjeefjeefieesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthho
pegvphhgsehprhgvthiivghlnhgvthdrohhrgh
X-ME-Proxy: <xmx:T9wKZ_eyC35SrSCNeudv5dYjcSLBCBvKrNt3RpK-KlMy5OHvgfnxxw>
<xmx:T9wKZ4PhvJfs6_kIxx1l-Nh_brV4TC1btfnhDlkTjHGT3Lw1S4dNtA>
<xmx:T9wKZxlTsk1tv0gwbDiiVMc4w8KlaLFbZaVl5rESqYS6zLQp-X0VLg>
<xmx:T9wKZytpPwc0O0dav_mxvXZxvEEHIltCyH_SXBk-HE05P7uA0u0TPA>
<xmx:T9wKZ31iRclpkDZv1yFnWIW9Weiit1qgn30_fSfd6nXMtI17yc3wNdCN>
Feedback-ID: i07de48aa:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat,
12 Oct 2024 16:30:05 -0400 (EDT)
Message-ID: <c3b87536-ac7d-4a65-87a1-49aa91188eb1@HIDDEN>
Date: Sat, 12 Oct 2024 23:30:04 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN> <86bjzrc96j.fsf@HIDDEN>
<2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
<CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
<a9804aa4-b3e5-4fc2-ab5d-5ff18207c329@HIDDEN>
<CAN+1Hbq4BuWQkF+2gdBV_=sXKEYaCYF=BA_Kuihfq-rUEmmXFQ@HIDDEN>
Content-Language: en-US
From: Dmitry Gutov <dmitry@HIDDEN>
In-Reply-To: <CAN+1Hbq4BuWQkF+2gdBV_=sXKEYaCYF=BA_Kuihfq-rUEmmXFQ@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
On 12/10/2024 17:32, Ship Mints wrote:
> If you're really serious about this, I'd like to suggest ".project.el"
> or "project.el" over an unadorned ".project" to avoid clashing with
> third-party software that uses .project files or directories for its own
> purposes.
It's probably not going to be an Elisp file (with some code inside).
And it's been mentioned in this thread that some other software uses
file with this name in the project root. If there is data indicating
that such dirs should not be recognized as project root in many other
cases, we should of course reconsider. But from what I've seen in
threads on Reddit and relater articles, people like this particular file
name for this purpose.
X-Loop: help-debbugs@HIDDEN
Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git
Resent-From: Ship Mints <shipmints@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Oct 2024 16:12:02 +0000
Resent-Message-ID: <handler.73736.B73736.172883591512329 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 73736
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords:
To: Dmitry Gutov <dmitry@HIDDEN>
Cc: Joost Kremers <joostkremers@HIDDEN>, Jim Porter <jporterbugs@HIDDEN>, 73736 <at> debbugs.gnu.org, Eric Gillespie <epg@HIDDEN>
Received: via spool by 73736-submit <at> debbugs.gnu.org id=B73736.172883591512329
(code B ref 73736); Sun, 13 Oct 2024 16:12:02 +0000
Received: (at 73736) by debbugs.gnu.org; 13 Oct 2024 16:11:55 +0000
Received: from localhost ([127.0.0.1]:52186 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1t01CE-0003Cn-Lh
for submit <at> debbugs.gnu.org; Sun, 13 Oct 2024 12:11:55 -0400
Received: from mail-vk1-f181.google.com ([209.85.221.181]:57609)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <shipmints@HIDDEN>) id 1t01CC-0003Ce-D6
for 73736 <at> debbugs.gnu.org; Sun, 13 Oct 2024 12:11:53 -0400
Received: by mail-vk1-f181.google.com with SMTP id
71dfb90a1353d-50d494ac189so259925e0c.3
for <73736 <at> debbugs.gnu.org>; Sun, 13 Oct 2024 09:11:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1728835836; x=1729440636; darn=debbugs.gnu.org;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:from:to:cc:subject:date:message-id:reply-to;
bh=n3cX2eQnx9YwNfX4jmRpv9wybBKXr2VxD/3DdzTUYJ4=;
b=U+6rkap6p+nSPB2vQQ6H/udEJWazfpYucun3AvFjAfjoXc2CxILx7IkNO9qmEXgB4u
+fb1TfZfaRYDydLyAixDTnns0XxM3sUg7rQkWF45GuQ5zqkMkPikbzaCzmvbeudaqA1E
6TVpcwz8GbVhiSSz1Ososumaw8rIlhsNWUJ4Y1yNeMdo4uAvEcdNfEyRoGUTRHdQFR7t
AJVIww2xRSqDHAeFMzBg41hi6ziCT0dk5GQdrFE5MxNNjwlVZxaeatU8cibVDXjLcleR
8f2qW+T8EftLFoH+gi4l+vbpKW39FxU6TtsszonNv4VWUJsCfVWIhlILG3qAWYfNqiEL
q3rA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1728835836; x=1729440636;
h=cc:to:subject:message-id:date:from:in-reply-to:references
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=n3cX2eQnx9YwNfX4jmRpv9wybBKXr2VxD/3DdzTUYJ4=;
b=mVGWLIhN6SytPtgjKhUu8HSsy7h84LEwi0nFgNtdeif7e+P/1ZzTcDt23akt3Pmq+E
CQdrqZpZ6LPkUHCSakGeIt4RZhzpX/T4mPpj0dAq28t8eBh/WairG8zWy/TU6lJQZE4y
clOntWm6+mv9eQd4A6oG1M6Ec4Tfsd/iAWOGFQC5qYX4QLRNh/puvUleRZCoHWsnFfY4
XXI9HLlbdX7xuD7TeWbAuhZfXiNgSdiDCBsjFti4gjUKdb7WCvnxlwpxy9IUvbwbMJnB
zL492RxdbHNfk2wBIdxxpys1Ixvf4QBU/pruM1N2/3FgILTaEm86fSnQ+ziWUYurF1Jj
lwiw==
X-Forwarded-Encrypted: i=1;
AJvYcCUipZ936mDyp5zCNg6C2eg/tKHvmJnnm6PhbB7H0sN8urx9vehE6/cpfQIzYKEDLRXWmLTz/Q==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwkCNxtgqK+EXJMj8m5wejEq/oOnjhFnXosevRrZnIAv+2jPmpF
uWKR4ytbHqv7nS5o/dKzmQB9Gsqr7CN8cVG5r8PoqyQJmzGDgBJzew1pwZSL06XDxsUbmPsYdmi
PbXJBJrky6pIi3phFZjIYCFzNLI4=
X-Google-Smtp-Source: AGHT+IHzuFHxLwm/S71wyjSRY0CTMw+2keqRuZJWha6A1VML07DQO3qR7PAZy2MWyVwRnleL+ZgCKiCWzVE+Omf5aQo=
X-Received: by 2002:a05:6122:8c2:b0:50c:5683:ad56 with SMTP id
71dfb90a1353d-50d1f3928f2mr5215020e0c.3.1728835836139; Sun, 13 Oct 2024
09:10:36 -0700 (PDT)
MIME-Version: 1.0
References: <878quv29hk.fsf@HIDDEN>
<0b0b919c-ef70-4bb3-bcb4-b471d9abd201@HIDDEN>
<6a202181-19e3-a202-2e80-78b332633d4b@HIDDEN>
<d7d8bfe4-7da3-46a1-b9ed-3da919218bf5@HIDDEN>
<86bjzrc96j.fsf@HIDDEN> <2a794cde-d7bb-4620-9a75-e693e164be83@HIDDEN>
<CAN+1HbpHY=TmF3+_RDHXnK29TC+Fce5f3UOEekVqu=b9L0p2LQ@HIDDEN>
<a9804aa4-b3e5-4fc2-ab5d-5ff18207c329@HIDDEN>
<CAN+1Hbq4BuWQkF+2gdBV_=sXKEYaCYF=BA_Kuihfq-rUEmmXFQ@HIDDEN>
<c3b87536-ac7d-4a65-87a1-49aa91188eb1@HIDDEN>
In-Reply-To: <c3b87536-ac7d-4a65-87a1-49aa91188eb1@HIDDEN>
From: Ship Mints <shipmints@HIDDEN>
Date: Sun, 13 Oct 2024 12:10:23 -0400
Message-ID: <CAN+1HbpBnGw23Zd3n9OCD-pgODWyoTVs5thkcV2DfZiiu5oGMw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000e35f3906245df5d7"
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
--000000000000e35f3906245df5d7
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Yeah, people can just override the default but I wonder how many people
will be surprised. I've been experimenting with .project.el files that
indicate common project contents that span different directory hierarchies,
basically a .project.el that sets a ("safe") variable so I can try to get
tooling to look across file systems rather than just assume one base. Still
working through that to gauge its utility vs. support tooling complexity.
On Sat, Oct 12, 2024 at 4:30=E2=80=AFPM Dmitry Gutov <dmitry@HIDDEN> wro=
te:
> On 12/10/2024 17:32, Ship Mints wrote:
> > If you're really serious about this, I'd like to suggest ".project.el"
> > or "project.el" over an unadorned ".project" to avoid clashing with
> > third-party software that uses .project files or directories for its ow=
n
> > purposes.
>
> It's probably not going to be an Elisp file (with some code inside).
>
> And it's been mentioned in this thread that some other software uses
> file with this name in the project root. If there is data indicating
> that such dirs should not be recognized as project root in many other
> cases, we should of course reconsider. But from what I've seen in
> threads on Reddit and relater articles, people like this particular file
> name for this purpose.
>
--000000000000e35f3906245df5d7
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">Yeah, people can just override the default but I wonder how many people =
will be surprised. I've been experimenting with .project.el files that =
indicate common project contents that span different directory hierarchies,=
basically a .project.el that sets a ("safe") variable so I can t=
ry to get tooling to look across file systems rather than just assume one b=
ase. Still working through that to gauge its utility vs. support tooling co=
mplexity.</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=
=3D"gmail_attr">On Sat, Oct 12, 2024 at 4:30=E2=80=AFPM Dmitry Gutov <<a=
href=3D"mailto:dmitry@HIDDEN">dmitry@HIDDEN</a>> wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">On 12/10/2024 17:32, Ship=
Mints wrote:<br>
> If you're really serious about this, I'd like to suggest "=
;.project.el" <br>
> or "project.el" over an unadorned ".project" to av=
oid clashing with <br>
> third-party software that uses .project files or directories for its o=
wn <br>
> purposes.<br>
<br>
It's probably not going to be an Elisp file (with some code inside).<br=
>
<br>
And it's been mentioned in this thread that some other software uses <b=
r>
file with this name in the project root. If there is data indicating <br>
that such dirs should not be recognized as project root in many other <br>
cases, we should of course reconsider. But from what I've seen in <br>
threads on Reddit and relater articles, people like this particular file <b=
r>
name for this purpose.<br>
</blockquote></div>
--000000000000e35f3906245df5d7--
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.