From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Eglot, project.el, and python virtual environments Date: Fri, 18 Nov 2022 10:28:26 -0500 Message-ID: References: <87zgcq68zp.fsf@ericabrahamsen.net> <878rkale3l.fsf@dfreeman.email> <87v8nezf2k.fsf@ericabrahamsen.net> <87o7t5k7sv.fsf@dfreeman.email> <86mt8p4221.fsf@gmail.com> <4cc918a053771a5e1c440cb4b458f3ed@webmail.orcon.net.nz> <838rk8d7xb.fsf@gnu.org> <83v8nc9tsb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2065"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: psainty@orcon.net.nz, dgutov@yandex.ru, theophilusx@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 18 16:29:18 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ow3Ir-0000DW-18 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Nov 2022 16:29:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ow3I9-0000vT-E8; Fri, 18 Nov 2022 10:28:38 -0500 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 1ow3I8-0000vI-AP for emacs-devel@gnu.org; Fri, 18 Nov 2022 10:28:32 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ow3I6-0006Hf-OU; Fri, 18 Nov 2022 10:28:32 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 0D1A51000EF; Fri, 18 Nov 2022 10:28:29 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7B0651000C3; Fri, 18 Nov 2022 10:28:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1668785307; bh=IMq8Ncza7bGOVoiUEAJrP0awAME4bVCmSa8zaAOTfy4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=GXZ021GZstYib+P0GGnoiAKG4H/0v94tTrHLHHW46P8A0TAvR2r37e0629AvLlPix IBqJ6eJMsMrG23xDfMSt+oksp1PA1SQ91tSgfELG5tOGN2PpvrO/Fln7KA4Y51zueY +byGP8vPVsESA7DBoA+lUjIKXIDJqmtfqCDlIyoI2BbX1PNoZArg33Dz+EDRdhdNMs C+n4/rv/CFWdiN/dulYKP86yMX+LO/lhgxgl9bht/Hz4ay26Sli6RxHg8LaBQRsGwt EpM/KUk33tQNOT99jw97pxuL8yi1703/FmLvSWpIQjGItDpUCCX/Xj5EUHMJKX9Hbg vVXwXt4zSxHrQ== Original-Received: from alfajor (unknown [45.44.229.252]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 43D8C120924; Fri, 18 Nov 2022 10:28:27 -0500 (EST) In-Reply-To: <83v8nc9tsb.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 18 Nov 2022 17:17:08 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300111 Archived-At: >> IIUC this is not always the right thing to do (for some multilanguage >> projects where the LSP server supports similarly multiple languages). > I didn't say it was _always_ TRT to do. No, indeed, I think it's a great default. I'm just mentioning another case where we need to override the default (and in that case, not to split the project into subprojects but rather to "combine projects" together), in the hope that it gives a better insight into what a good general solution should look like. Stefan