From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master c622627: * Clean-up temporary eln test-suite directory when exiting (bug#48060) Date: Thu, 29 Apr 2021 17:26:55 +0200 Message-ID: <877dklyuv4.fsf@gmx.de> References: <20210427213426.6174.29110@vcs0.savannah.gnu.org> <20210427213427.8318C20D0F@vcs0.savannah.gnu.org> <87pmyebq8y.fsf@gmx.de> <834kfqhakv.fsf@gnu.org> <83y2d2dxel.fsf@gnu.org> <83v985ekfl.fsf@gnu.org> <83h7jpe94q.fsf@gnu.org> <831ratdt2i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Andrea Corallo To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 29 17:28:28 2021 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 1lc8aa-00022Q-EH for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Apr 2021 17:28:28 +0200 Original-Received: from localhost ([::1]:53072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lc8aZ-0002rN-Hy for ged-emacs-devel@m.gmane-mx.org; Thu, 29 Apr 2021 11:28:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc8ZF-00025n-Jw for emacs-devel@gnu.org; Thu, 29 Apr 2021 11:27:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:45615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lc8ZA-0004OG-NV; Thu, 29 Apr 2021 11:27:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619710016; bh=rZA2uymjytSl0ppHXfk70o6aeiv+k+o9tkUdMdPB/AI=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=IZYilouT7ZXBgU2zOYMS1YuCRKc0x5GkM0oUJxsOYNA1/wk5CwQP1KUg5r6ltEj8v btrmM3mBqtSP8Ls8sEjZ0WqLIP7KS+7Ko5UNUk6v53eqVwtV6rBe6y+EbycTrFzcG3 oFIh5xRLpV0RIzbCDIiLgxSFYm+0T3fXpoQY+l+U= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.91.249.85]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MryXH-1lHOon2n8H-00nxGr; Thu, 29 Apr 2021 17:26:56 +0200 In-Reply-To: <831ratdt2i.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 29 Apr 2021 18:11:17 +0300") X-Provags-ID: V03:K1:QNGy3cehyBxIRa54uuPHdNbcSFC+tGukYz76D24ZDp2VLhGTFc8 9Ur1AZfgj7GWjYfCgE/TdIeswKXb1sUkdgDtuIEBES36FqHkn3vNBskYwLClkMOb7Mdr7nu IyCpTIOecgWw0lQfg8Kj5yUUMPcXhqi5IG/8/sntpev2HVgwNv0sGTZMIekQwHvDce6mb5H eeY64/o1+bQDP/udJbxsg== X-UI-Out-Filterresults: notjunk:1;V03:K0:CjI8aL7GnpI=:B3AjPNChg3UTxr2kOGpuZf 1sMhVZfTygFRi+JcHnlIK3v9SsU6s2yN6zeJA1BJ3uObXrdh2FQBtpXc91ctXG5/f3dqYkJMB sqPgfiHq9PxB6L/q12rUCDDCwWYA+GETp/WEV6fdhVqsP28dPKbIQn0/pmWrzfKOHNlrel9WA 9PipSrI66dtfcUv7IAwriO+d/yniL73ni0eCAJl6mUZPn4wPCK5LMn+xPjYkG0Tzk5uywAYWl vxRubbQcnX6FOSZ2jYDg7TTij5Uor7HnvU4xoTlWnX+7j/1neU++NjLoJWYKQYdUTs88b9Cbg jgH6bzD7CFvk7bI70i0zXu1oJvioWfT86A4qrIbWubndAvAiZ2j7j5wZ7H46ZHpdpm9ag9jYs mw+wJf33NZfUwIIZjyxEfLCUkmayRS80P3glxKFPKky7Ck5ETSVwRi9D2ieIVS6T1NCtARHks jx/JaCqauXCcNDFk3GwSnO0emx7t3sL/FAXEhbBkdfg/qGmAJmpEp0J3xIC0mYyR5iRjrIj3G eK6HXJ6dzSlGAmgCcrH6CsnlFFQMFkjgJf51B1Ot7tUV8IhpdhWCopvDjXTGR1sNKVXB/72pp jYG6copFEzPmPZaXL142okbb8vHFskjDMQy3QKeBvxbiW7zGssGmIGzYcY131BWxJYV/LEQ/1 vBTIx9+O8b8jeZI6BOICmDN6uMfQyWduirVX2ziHXPyxer6ZjiY2JQ8+tKpSGZmjW83iZ15De I8ce2XOuQF3Yk8gbb9nbMHccIfNu6nNt5AQ229gABUHFoIsDinmq7gMFSV+4QlS5jZTwBWjl Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:268617 Archived-At: Eli Zaretskii writes: >> Answering both your questions: Emacs will have to understand that in >> this condition "test/eln-cache/" has to be pushed to >> `comp-eln-load-path'. To do this as you suggest we could set an >> env-var, but this is not much different from what we do now (and IIUC >> this is what Michael doesn't like much and was called a dependency). >> Also we'd still have to handle this push in startup.el, am I wrong? >> >> Maybe we could have the Emacs invocation in the Makefile changed to >> explicitly tweak `comp-eln-load-path' using -eval? > > That's one way, yes. Something like this. But instead of using --eval, we could honor an environment variable $EMACSELNLOADPATH, like we do already with $EMACSLOADPATH? Or we could add an invocation option --elndirectory=3Ddir, like we do already with --directory=3Ddir? Or both. (Better names are always appreciated) Best regards, Michael.