From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Eglot, project.el, and python virtual environments Date: Tue, 22 Nov 2022 23:33:43 +0000 Message-ID: <877czma7jc.fsf@gmail.com> References: <87zgcq68zp.fsf@ericabrahamsen.net> <878rkale3l.fsf@dfreeman.email> <4c5f4b07-3df6-d700-83f8-9a9d1b684afc@yandex.ru> <84781346-5b88-2be5-38bb-02696fcf1364@yandex.ru> <87o7t2vj19.fsf@dfreeman.email> <877czqtyfy.fsf@dfreeman.email> <87zgcml7g7.fsf@gmail.com> <2ba04533-097a-a1da-ff3f-2c9506fd488e@yandex.ru> <875yf9bbzb.fsf@gmail.com> <87wn7oa0aw.fsf@gmail.com> <7a5b76fd-fb15-8c1e-ea29-bf11f7e0d2ae@yandex.ru> <34cc6618-85f0-8693-02e4-0c97a10c2d31@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29631"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Danny Freeman , Eric Abrahamsen , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Nov 23 00:33:28 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 1oxclb-0007Wp-Sk for ged-emacs-devel@m.gmane-mx.org; Wed, 23 Nov 2022 00:33:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxckj-00015B-Du; Tue, 22 Nov 2022 18:32:33 -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 1oxckh-00013e-9j for emacs-devel@gnu.org; Tue, 22 Nov 2022 18:32:31 -0500 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxckf-00072A-Ky for emacs-devel@gnu.org; Tue, 22 Nov 2022 18:32:31 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id t25-20020a1c7719000000b003cfa34ea516so1856418wmi.1 for ; Tue, 22 Nov 2022 15:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=exUHlFkteeCHBPIwLrTADVeUJAY/asQvb3pZ5RpsH9g=; b=OMm6fjllxrcx2JjX0UPkEoMD2aG1zYub4WauU0rKDHjFoTzbntyGr95wGZNyTff7Yl /viP5/d6n4y/+eFxAn5ofBr8mLhI0BjcubznX7NAZvXlNKWk/g7q3yhURuV0enzIUWaS s++NnDIMf84C0eNGUKf/cFS/4nilwgge6PtdvBreKdrHAHUrDCxxEGE8e+lF1Xh04oVw yMhzuy9rCX3s/8mnOQeSKK3I1EWTsr2fPDL8T4VMS5vWEXs3TvuYNxMbcwglivugbyYm egfrVdJhBZA4PdCNQnvoF3RKzgTxjemzFUsH3fJceZNdOG+YIjf0k8HI71LLsa68UtZg um2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=exUHlFkteeCHBPIwLrTADVeUJAY/asQvb3pZ5RpsH9g=; b=DT7P0CKd2XJSrQIKMzWV+sJnwaMr3d9L4J419MOtcQ0sAJJP0bwB4KRCX2KFEXiXj4 MVjrgYzHPRqJka3ogGO79/YNCK/SDw87ZTePQKUSjx9issGEeotGbCZqMiw31ld0OTeX PecHKdT3Z1I+sLC+6vIWq80ejFmwXMX2idSVwdk3Au3pcI2vJsKop14GyEIJq2sWYRPZ GP96ogoW3anBxh1PsW3sHY5S9a0qzKgkd9o+6/CcepsrL343S7YDU3XYTR6c6uIHodAf P+5Oqo5p52peGea1acVDF5ye933Cx16FpnGn8geau9DIP4AP8F++lVuV/yIL3Zpws7cO GVcw== X-Gm-Message-State: ANoB5pnCSlWsXrwG0unu+sVEhSXNwx61o3zmJC6AV40qSsFtYy6FoilU oeMdL3TWvZxIdhSwxRyv579iqUXlQGo= X-Google-Smtp-Source: AA0mqf4N14TJ2muoQMdreIj/bNv7PssMBa0l0WD41RIavWeUe+d/b2gUGlte6lHuPZUAgCiBur+PDQ== X-Received: by 2002:a05:600c:210c:b0:3cf:6af4:c4fa with SMTP id u12-20020a05600c210c00b003cf6af4c4famr18465760wml.117.1669159947769; Tue, 22 Nov 2022 15:32:27 -0800 (PST) Original-Received: from krug ([87.196.72.177]) by smtp.gmail.com with ESMTPSA id y7-20020a05600c364700b003cf7292c553sm257949wmq.13.2022.11.22.15.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 15:32:27 -0800 (PST) In-Reply-To: <34cc6618-85f0-8693-02e4-0c97a10c2d31@yandex.ru> (Dmitry Gutov's message of "Wed, 23 Nov 2022 00:13:57 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:300362 Archived-At: Dmitry Gutov writes: > On 22/11/22 23:40, Jo=C3=A3o T=C3=A1vora wrote: >> Rather it's the fact that the monorepo is clearly organized into >> loosely coupled >> sub-projects and very often (but not always) it makes sense to do >> sub-project >> wide file-finding and reference-finding.=C2=A0 No LSP/Eglotness involved= at all. > > Speaking of monorepos, it seems to me that the boundaries between > subprojects (or just nested projects) might not be defined by > language-based separation of app directories, but rather by > organizational needs (e.g. how teams are split). Teams could be > backend-frontend-some-other-end, or they could be full-stack too. That's right. Indeed that's a very common case and makes a perfect case for sub-projects: multiple loosely interrelated hierarchies of code living inside a monorepo. > IOW, the "subproject" structure needed by Eglot and one that looks > natural to developers might quite well be different. Eglot doesn't need any structure: it's some LSP servers who want to be launched in a specific LSP workspace, which Eglot equates to a Emacs project -- and that could be well sub-project. I'd say very often the LSP concept of "workspace" would match one of the logical team sub-projects, but if they don't, there's a perfectly workable current eglot-lsp-context solution. >> As I explained earlier, it would also help if project-files weren't >> so "flat list" >> oriented and allowed generalized collections, such as my completion table >> based on a very fast external indexer. > > That's a separate feature request. Yes, it is. Jo=C3=A3o