From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#73736: 31.0.50; project and therefore eglot don't work without git Date: Fri, 11 Oct 2024 13:40:45 -0400 Message-ID: References: <878quv29hk.fsf@hassadar.pretzelnet.org> <0b0b919c-ef70-4bb3-bcb4-b471d9abd201@gutov.dev> <6a202181-19e3-a202-2e80-78b332633d4b@gmail.com> <86bjzrc96j.fsf@fastmail.fm> <2a794cde-d7bb-4620-9a75-e693e164be83@gutov.dev> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000045176b062436fd7f" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1692"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joost Kremers , Jim Porter , 73736@debbugs.gnu.org, Eric Gillespie To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 11 19:43:06 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1szJfO-0000FJ-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Oct 2024 19:43:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szJfA-0000kb-RE; Fri, 11 Oct 2024 13:42:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1szJf7-0000kQ-BB for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 13:42:49 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1szJf7-0008LR-2e for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 13:42:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=KbzAEpgUvWl/hthc2Z/BjByJLzhLw+6gcU75b5lHQ5Y=; b=Qf0x8ZO8iNOnqGiTQknKG1A03QL1QFJcqBY9W+P0HQD8tkTYHYNUBmOFfoNbJTRRaeChV5K7cZa3Mk7gJ9sJJPJTMpWL1T9ZldHGahTfyKxwPIMW9MRMnh3O4hs/12CIUQRGeViPCGMPPIXU3QhCVizhut+BDtfHItmGjEn+e6zK5GG0TpsdDZW6ML/AqrCF1DhzAahuPxA2/0LMSQdCPdjJvFPcN5Uvu+79yYOPI9+U+wIbzV0gNWUctbY7i/t4H2NsuoqeNp33JgRyv7bF9vUL9epOvOMthPaKpSgybVcyWvTBbgQp6OE/COnawybyYLX/mEKZgXP9mbF3Xq7WVw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1szJfK-0007oc-0h for bug-gnu-emacs@gnu.org; Fri, 11 Oct 2024 13:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Oct 2024 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73736 X-GNU-PR-Package: emacs Original-Received: via spool by 73736-submit@debbugs.gnu.org id=B73736.172866853729972 (code B ref 73736); Fri, 11 Oct 2024 17:43:01 +0000 Original-Received: (at 73736) by debbugs.gnu.org; 11 Oct 2024 17:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:35267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szJeb-0007nM-En for submit@debbugs.gnu.org; Fri, 11 Oct 2024 13:42:17 -0400 Original-Received: from mail-ua1-f46.google.com ([209.85.222.46]:59444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1szJeY-0007n2-Sv for 73736@debbugs.gnu.org; Fri, 11 Oct 2024 13:42:15 -0400 Original-Received: by mail-ua1-f46.google.com with SMTP id a1e0cc1a2514c-84fbee98881so490189241.2 for <73736@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) In-Reply-To: <2a794cde-d7bb-4620-9a75-e693e164be83@gutov.dev> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293379 Archived-At: --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 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
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).

On Fri, Oct 11, 2024 at 1:14=E2=80=AFPM Dmitry Gutov <= dmitry@gutov.dev> wrote:
On 11/10/2024 11:53, Jo= ost Kremers wrote:
>> That's a natural question, but it would result in different re= sults 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")<= br> > ```

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 peopl= e
find this useful, no problem. For personal projects it certainly
shouldn't hurt.

Eric, Jim, how would you like this resolution?



--00000000000045176b062436fd7f--