From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Sat, 5 Nov 2022 02:09:55 +0100 Message-ID: References: <87bkqxf1ij.fsf@tethera.net> <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> <87pmf64beo.fsf@gnus.org> <87h70i4a46.fsf@gnus.org> <87czb648r9.fsf@gnus.org> <874jwi47l6.fsf@gnus.org> <87zgea2sgv.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000056bd3405ecaedbb1" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3843"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrea Corallo , Eli Zaretskii , rlb@defaultvalue.org, monnier@iro.umontreal.ca, david@tethera.net, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 05 02:10:55 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 1or7i3-0000pn-Cz for ged-emacs-devel@m.gmane-mx.org; Sat, 05 Nov 2022 02:10:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1or7hl-0008Al-Jc; Fri, 04 Nov 2022 21:10:37 -0400 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 1or7hk-0008Ae-7t for emacs-devel@gnu.org; Fri, 04 Nov 2022 21:10:36 -0400 Original-Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1or7hi-0005Mp-LA; Fri, 04 Nov 2022 21:10:36 -0400 Original-Received: by mail-ej1-x62e.google.com with SMTP id f5so17395862ejc.5; Fri, 04 Nov 2022 18:10:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1F20yMryV29OMDS92jqNpsRwnJhJPgGYzDh0Gd0iEn4=; b=Imet1vCYcajOyj4xY4ufqknEW+wvN0rfycx656K6Fbr7lCaj/ISf/9wFJ6vW3NIUt+ lLEIHHQV74n6Uk2UVJyBixwLZqkakCkYXlwe5L0xXG0LlAlPxHBXJNlbgeoQ1W06VDhl FWi8mNyRTIp2Dy6dCafQZntKgrPdWwGffkN8nnkiGqtSLFHMMV8IRvip8H4P3v7pE+ni KhZHCGkyI+/O6Kdv2oK2aHfn+zWtBfzeIEa0AyvHpdgxk2b0Wg9CB+EpK2/FIrv7wGMV WgS0SIufSjdLmL6e9C48EAGBITL9WShw63Id/pTwWqUP5RP5rgjK6+UKWSABnUWTJfgl hSyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1F20yMryV29OMDS92jqNpsRwnJhJPgGYzDh0Gd0iEn4=; b=Vs7raWUWXXnYWt/qeBhFeFGQDU8y1NAfrsMZANc0qfoI/uGRbXn+vWUatJlitOAMCh Pbq23YXQv0OmbVKtNIeJ/hFeBC/r+t617lGC4Yv8B+qq4p6d+sgFBvQM2+UM/FM0KBvB Coua1DYTW1pH7X6eU+LMeAmk7e35IHqQ1AQgP30oe8DEPJjbC/TzB5e6UMjaJ5e6mvRs VoWFBggMTWwFQ4AoA+w5b9FRuS7JfVVIaQpvArLAE5oaSP/qmhx6i5WVnQDKUbsjoKbd Yq0nVZXdXmXQwXQOdTdTHnlQD46y+ezAG2ZQoCud8CeRn08/IRSZcZ8u3TMMC9sf8fr0 Yq5A== X-Gm-Message-State: ACrzQf3vpXiAquHePlM8DhokcWawZgiT/JAX/ZG3e++K77uGs5A4p2q5 TqE6m4tgMBAMY+nDE7Lne1LjXuonvolFApBNEu4= X-Google-Smtp-Source: AMsMyM6XSvkW1OQldQ7AA9dYABHaFO/BLtzYVTtEVNXroBeOs4jhUACRnBmdmxQuJY5WnxQ5O4FMUa7AdapFTdEQNn0= X-Received: by 2002:a17:906:6086:b0:731:3970:48d0 with SMTP id t6-20020a170906608600b00731397048d0mr36802424ejj.16.1667610631911; Fri, 04 Nov 2022 18:10:31 -0700 (PDT) In-Reply-To: <87zgea2sgv.fsf@gnus.org> Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=lekktu@gmail.com; helo=mail-ej1-x62e.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, HTML_MESSAGE=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: , Original-Sender: "Emacs-devel" Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299166 Archived-At: --00000000000056bd3405ecaedbb1 Content-Type: text/plain; charset="UTF-8" Your idea about -Q inhibiting native comp was obviously not implemented. In my setup, I call `startup-redirect-eln-cache' in init.el because I don't want the cache in my .emacs.d/. However, when I'm using -Q to test something, I do M-x whatever-which-loads-a-module and end up getting an unwanted .emacs.d/eln-cache/ So either a --no-native flag (setting `inhibit-automatic-native-compilation', and perhaps `load-no-native', to t) or having such behavior in -Q would be quite helpful. Yes, I can define an alias to use --eval "(setq inhibit-automatic-native-compilation t)" I already have. Still, I regularly forget it and default to emacs -Q. So, FWIW, I agree with your sentiment that -Q has no single defining goal other than "do not do unnecessary things, please", and inhibiting native comp would fit quite well. --00000000000056bd3405ecaedbb1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Your idea about -Q inhibiting native comp was obviously not implemented.=

In my setup, I call `startup-redirect-eln-cache' in init.el bec= ause I don't
want the cache in my .emacs.d/.

However, when I'm using -Q to test s= omething, I do
M-x whatever-which-loads-a-module and end up getting=C2=A0an unwanted=
.emacs.d= /eln-cache/

S= o either a --no-native flag (setting `inhibit-automatic-native-compilation&= #39;,
and= perhaps `load-no-native', to t) or having such behavior in -Q would be=
quite he= lpful.
Yes, I can define an alias to use

--eval "(setq inhibit-automatic-native-compilat= ion t)"

= I already have. Still, I regularly forget it and default to emacs -Q.
So, FWIW, I agree with your sentiment that -Q has no single defining goal=
other th= an "do not do unnecessary=C2=A0things, please", and inhibiting na= tive
comp= would fit quite well.

--00000000000056bd3405ecaedbb1--