From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#48743: 28.0.50; batch-native-compile should produce .elc files as well Date: Mon, 31 May 2021 18:59:41 +0000 Message-ID: References: <20210530135754.DE34AC2054B@raman-glaptop.localdomain> <831r9o47y9.fsf@gnu.org> <8335u32c7o.fsf@gnu.org> <83pmx625ov.fsf@gnu.org> <83mtsa20yu.fsf@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18962"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 48743@debbugs.gnu.org, raman@google.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 31 21:00:12 2021 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 1lnn90-0004ie-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 21:00:10 +0200 Original-Received: from localhost ([::1]:48334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnn8z-0003Cz-Fr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 15:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnn8s-0003Ci-Ug for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 15:00:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51517) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnn8s-0006Vg-Mr for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 15:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnn8s-0002QI-LC for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 15:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 May 2021 19:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48743 X-GNU-PR-Package: emacs Original-Received: via spool by 48743-submit@debbugs.gnu.org id=B48743.16224875849251 (code B ref 48743); Mon, 31 May 2021 19:00:02 +0000 Original-Received: (at 48743) by debbugs.gnu.org; 31 May 2021 18:59:44 +0000 Original-Received: from localhost ([127.0.0.1]:34828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnn8Z-0002P7-N1 for submit@debbugs.gnu.org; Mon, 31 May 2021 14:59:43 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:51241) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnn8X-0002P0-Tb for 48743@debbugs.gnu.org; Mon, 31 May 2021 14:59:42 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 14VIxfe7026580 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 31 May 2021 18:59:41 GMT In-Reply-To: <83mtsa20yu.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 31 May 2021 21:48:57 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:207724 Archived-At: Eli Zaretskii writes: >> From: Andrea Corallo >> Cc: raman@google.com, 48743@debbugs.gnu.org >> Date: Mon, 31 May 2021 18:27:10 +0000 >> >> > Yes, we should rename it, >> >> Agree, what should be a good name for that? > > How about batch-byte+native-compile ? Sounds good. >> > and we should also provide an easy way of >> > controlling where the *.eln files are deposited, since currently that >> > function is tightly coupled with the Emacs build process and the >> > directory structure of the Emacs source tree. >> >> ATM one could push the new target directory in >> `native-comp-eln-load-path' maybe using -eval just before invoking the >> batch compilation > > Yes, I thought about this, but it could cause unintended consequences, > and in any case I wouldn't call that "easy". Can we have a simple > variable that could be bound via --eval? How would you suggest this variable to behave? Thanks Andrea