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: Subprojects in project.el Date: Sat, 26 Nov 2022 00:00:43 +0000 Message-ID: <874jumtwic.fsf@gmail.com> References: <87zgcq68zp.fsf@ericabrahamsen.net> <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> <87bkoya815.fsf@gmail.com> <0024a67d-b8e5-b35c-1b22-82541a170eb3@yandex.ru> <871qptai4d.fsf_-_@gmail.com> <71addecc-373e-b1f0-f190-0ce3531626a8@yandex.ru> <50bf9e49-23f0-0966-f619-88bcf35479fa@yandex.ru> <871qpqvme6.fsf@gmail.com> <184362df-01c7-0771-28b4-a87ea52ca45e@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32554"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier , Danny Freeman , Eric Abrahamsen , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 26 00:59:48 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 1oyibk-0008Ie-Il for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Nov 2022 00:59:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyibU-0004ye-Bw; Fri, 25 Nov 2022 18:59:32 -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 1oyibS-0004ua-NK for emacs-devel@gnu.org; Fri, 25 Nov 2022 18:59:30 -0500 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyibR-0000C2-4v for emacs-devel@gnu.org; Fri, 25 Nov 2022 18:59:30 -0500 Original-Received: by mail-wr1-x435.google.com with SMTP id b12so8837272wrn.2 for ; Fri, 25 Nov 2022 15:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=+7TISvpf8+alrd9+FpNpsh83W3FdsUUHBojmR3oxUL8=; b=fP0NMIGTiV7k1kA9cFgzYIjWdlPCSxny0mGpH2j/EmbRg7PqT1++e2CANFdnNn42kW 0CK22kbbLmR9CCV0DtsSVKS0OP0cMTTHA1VzQXwnCmTD7mwBXJUgaEppDKB8F4jdrRiR bhnlCiyZTLrsnMp/7dF+p0JmCz16/c3rZtt6xNW9qwZSxLgOyHKn1MLSIRqSjktrx89O xzfXDq+SPrgj1xaJABmzyJJv+e22A3jNqi09dniQOh9YQod2y9nwjAVwQTGVPDdto77x VXgRDYvGQdxrdjYXj26exHs5QCpUMqi2k/iT4pMz9BFdopt5yYk+7BJRAEMCTq2rczww Ty5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=+7TISvpf8+alrd9+FpNpsh83W3FdsUUHBojmR3oxUL8=; b=JnQuMzhwqwLN/XYE+xRK+lfTD11RWXeabXpCYQOicubDh1myLrYQ4VgnNEuo8RX4Pk I7ebiXNPJIkOfO0kbHyAnkbSgWJpnqpn0txaBbrlVPLRWy2gIzwjvMFm5qNVv6dAKoN7 JNBm3wrzWNs+d3Aie5YWfMvFbsDCTOt0LxudTxyuvIApSsQCa1sMGl2YYB2OYDNTH75t SbLSIva/VQs5wCMC9O+q+GtXswXtkcrVgOjgvFcurl1Hx6Zvh+3j6hazDeGl6kgbfYMa TvpetJSO78NkKWlTMQ/WTCuqbTrJtnOmBVU22cpfoOl5otSrstt8RI5gntqznKCKXSx3 TpgQ== X-Gm-Message-State: ANoB5pmbw83w6fyYHEJP0+YI8UwvKeouycyDBMv+JQ999EEBe7XKj2iC rBQA4geauqD9aEXoeAZiP1rOeLU6I+0= X-Google-Smtp-Source: AA0mqf6LGLd73zL/lxcoesk4O15jfIPvyBQU4Ewcz8i62/biv1KVSetE2lD3XnLBb+fIGLyShoLAEw== X-Received: by 2002:a5d:63cd:0:b0:242:b6a:1cac with SMTP id c13-20020a5d63cd000000b002420b6a1cacmr1050535wrw.519.1669420767284; Fri, 25 Nov 2022 15:59:27 -0800 (PST) Original-Received: from krug (87-196-72-177.net.novis.pt. [87.196.72.177]) by smtp.gmail.com with ESMTPSA id p17-20020a5d48d1000000b00236488f62d6sm4691596wrs.79.2022.11.25.15.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 15:59:26 -0800 (PST) In-Reply-To: <184362df-01c7-0771-28b4-a87ea52ca45e@yandex.ru> (Dmitry Gutov's message of "Sat, 26 Nov 2022 00:33:52 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x435.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:300535 Archived-At: Dmitry Gutov writes: > Even when there are just 2 of them, it's 2x the initial delay, which > can already be noticeable with Tramp. E.g. my ping to the "mainland" > is around 100ms. And filesystem operations might take several > roundtrips. If you want to use subprojects over TRAMP and the super-project and the sub-project are both identified by marker files files, then it's not something we can avoid. IOW we do just as many marker-file probes as needed: you pay for what you get. If the user wants out of the bargain, he can customize one of the search functions to give up in TRAMP contexts. > I don't entirely understand the algorithm you're proposing here, but > it sounds vaguely like what I'm writing now, so you might like the > result. Where/when can I find this code?