From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Suppressing native compilation (short and long term) Date: Sat, 15 Oct 2022 19:16:58 -0400 Message-ID: References: <87bkqxf1ij.fsf@tethera.net> <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> <83tu4irzl1.fsf@gnu.org> <87y1ttsrve.fsf@yahoo.com> <83r0zlqxcr.fsf@gnu.org> <87fsfqi95f.fsf@trouble.defaultvalue.org> <83v8om6x8u.fsf@gnu.org> <87v8omgl4r.fsf@trouble.defaultvalue.org> <87r0z9gi61.fsf@trouble.defaultvalue.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11355"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , luangruo@yahoo.com, larsi@gnus.org, akrl@sdf.org, david@tethera.net, emacs-devel@gnu.org To: Rob Browning Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 16 01:18:32 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 1ojqQK-0002kS-Fg for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Oct 2022 01:18:32 +0200 Original-Received: from localhost ([::1]:35302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ojqQJ-0004b5-1i for ged-emacs-devel@m.gmane-mx.org; Sat, 15 Oct 2022 19:18:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojqPB-0003Fn-M4 for emacs-devel@gnu.org; Sat, 15 Oct 2022 19:17:22 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ojqP7-0000TB-VS; Sat, 15 Oct 2022 19:17:20 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EA4DD10013B; Sat, 15 Oct 2022 19:17:14 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 74A581000F2; Sat, 15 Oct 2022 19:17:05 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1665875825; bh=4dRWBhjPvAEtVZd312cUDbohYUWVShJkPUsTfY38Ktg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QuKLxDX145sVgyYeLyZkd6P0UPcz5qQ6irW25+ro4CH47fB2hzCgSoTPw009gCfw0 8EJmcaHsr4Qzsu11wu3ww64ed6gHWdEOt2zGEvXb8GAVN55WuEEOjcA/VbJ6fxpjad PjdegV1zA+RoPX+U5zJpzefqOVkQUmuFZ5n5/Gno+zfgMIF8sfsscgrBzLmemIgrZB w9UolUtQfiDlk5Khh8BZNRWP+CH2mAI7AjIKoIc+EgofjFT/QJTo+14AZWLcp/og4e aGCK9HIoxncIYxCFnp6Do89OnHcRfXgdUxRDftqcWkOoHf+/Wo3lGbnNacXFpB7N/6 0yR3clnAPQOBA== Original-Received: from pastel (65-110-220-202.cpe.pppoe.ca [65.110.220.202]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 33193120422; Sat, 15 Oct 2022 19:17:05 -0400 (EDT) In-Reply-To: <87r0z9gi61.fsf@trouble.defaultvalue.org> (Rob Browning's message of "Sat, 15 Oct 2022 11:34:14 -0500") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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" Xref: news.gmane.io gmane.emacs.devel:297821 Archived-At: Rob Browning [2022-10-15 11:34:14] wrote: > Stefan Monnier writes: >>> I suppose we could just shadow emacs in the path with a wrapper that >>> includes the argument(s), assuming few of the projects have their own >>> interfering options, and that they always use the same (or a handful of >>> predictable) relative invocation of emacs, e.g. "emacs" not >>> "/usr/bin/emacs" or... >> Or put a small chunk of ELisp in Debian's site-start file which sets the >> eln load path according to some env-var :-) > I wondered if that would be early enough. The site-start file is basically the first chunk of non-builtin ELisp code that is executed except for the `early-init.el` which is loaded even before. Trampolines should not be needed before we load such non-builtin code, so I think the answer is that it's early enough unless the running user doesn't has `early-init.el` which itself needs a trampoline. > I'll have to double-check, but I think people may have found that some > of the attempts to change it via the command line may not have been. I think `--eval` is run too late (after the site-start), indeed. Stefan