From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Mon, 03 Oct 2022 20:21:42 +0300 Message-ID: <83pmf8yg9l.fsf@gnu.org> References: <87bkqxf1ij.fsf@tethera.net> <8335c9dkyf.fsf@gnu.org> <83tu4odez7.fsf@gnu.org> <871qrrpkgx.fsf@trouble.defaultvalue.org> <834jwnbi6c.fsf@gnu.org> <87mtafnun5.fsf@trouble.defaultvalue.org> <83sfk6ahty.fsf@gnu.org> <8735c6b0wo.fsf@gnus.org> <87y1ty9lha.fsf@gnus.org> <87lepym6ok.fsf@trouble.defaultvalue.org> <877d1i9h7k.fsf@gnus.org> <83edvqyr3q.fsf@gnu.org> <874jwl8e4p.fsf@gnus.org> <87ill16t3a.fsf@gnus.org> <87edvp6nnf.fsf@gnus.org> <87a66d6lsw.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, rlb@defaultvalue.org, david@tethera.net, emacs-devel@gnu.org, akrl@sdf.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 19:26:46 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 1ofPDK-0001ot-Jp for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 19:26:46 +0200 Original-Received: from localhost ([::1]:41438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofPDJ-0003m0-Cj for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 13:26:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofP8Y-0000rp-KZ for emacs-devel@gnu.org; Mon, 03 Oct 2022 13:21:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofP8X-0001Ca-H8; Mon, 03 Oct 2022 13:21:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=i82iaiv4shByZz8WyTygi/gjaozrA1AC/tGftUlIhms=; b=eldeNUTg53Gh WnSNdXUVROQMXWni+1VuGxLw2FeZgRG/GtumHffw8kTm+BpEYJNZyhcTMEqcA6hwAQ5HkdV9slaxy CuRczeVTD0SGmRVAMHry5NoGrmHTLcIZuiOTZu+ihMYDH+n2TOP41KjgIxK/qmolP3TDtxHGB2Rhr ShTbdQOnC09GL7tpwp9NWnO1YVLz5uM+bpfgqcGipzxJ4uRULYxOwwlxIkVCjQlJav4mmQZyJ6TI7 JjOhyD5nYTb8A2r/iHUpNTGxUU8Xvj+TnsT5MFA2T8oIxrJcnUhhljZJZabChTyt8lia2N4YwrlnU 6qktGuQPNgbGiTLBhoZQLQ==; Original-Received: from [87.69.77.57] (port=4485 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofP8W-0004XS-VG; Mon, 03 Oct 2022 13:21:49 -0400 In-Reply-To: <87a66d6lsw.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 03 Oct 2022 16:09:35 +0200) 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" Xref: news.gmane.io gmane.emacs.devel:296771 Archived-At: > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , rlb@defaultvalue.org, david@tethera.net, > emacs-devel@gnu.org, akrl@sdf.org > Date: Mon, 03 Oct 2022 16:09:35 +0200 > > Stefan Monnier writes: > > > AFAICT for the case (A), we *do* want to save trampolines for the next > > time around, and those users probably do want to use native compilation > > (e.g. they would likely set `package-native-compile` to non-nil), just > > not the deferred kind, so the var name is a bit odd for them. > > The trampolines are very fast to make, so creating them once per Emacs > session doesn't seem like a problem. If that turns out to be an issue, > we can tweak the variable. I think that entire changeset should be reverted. It is not well thought out, and ion some aspects downright dangerous. The environment variable is especially egregious: it will affect all the sub-process Emacsen as well, something that will bite users, a lesson we've learned long ago with the likes of EMACSLOADPATH. Such changes should not be installed without a great deal of careful thought and consideration of the different use cases. Which I tried to explain all the way, but apparently to deaf ears.