From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: (unknown) Date: Mon, 3 Oct 2022 08:30:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000457d6d05ea1b7c55" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23074"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 03 08:36:11 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 1ofF3j-0005ss-6j for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 08:36:11 +0200 Original-Received: from localhost ([::1]:47540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofF3h-0003j3-JX for ged-emacs-devel@m.gmane-mx.org; Mon, 03 Oct 2022 02:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofEyq-0001l5-9T for emacs-devel@gnu.org; Mon, 03 Oct 2022 02:31:08 -0400 Original-Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]:33298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofEyd-0008SP-6U for emacs-devel@gnu.org; Mon, 03 Oct 2022 02:31:07 -0400 Original-Received: by mail-ed1-x535.google.com with SMTP id a13so13210264edj.0 for ; Sun, 02 Oct 2022 23:30:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=EAOlj6Ey7fbw14+XbnPoQ621ANlJCy+Gf2JjrsDquf0=; b=hj2Hwp5EHBwfn6TE1URWur/iuOTHIP+IkUmONifBFk1KAualEE2qsroXtmnfkcHrRV IGDxN8qOhvWXFzU5A/LktSki/hVwYN7eRjD2OL2No2ov3tcgpgGUDMAnb3WfS+/zJOW5 pZNUzDP9TYon55KcbY7fsJgQsaFqhHzzztIql29SB8BUbKdP9tZM8LYGMWinu6PcT4x7 qjLvkN6JMwEAwbgF/RftM6hjfOxjRqIqxk3wH5/ZHY1UA/G3srQDPm2ttn1NA26Fw+rQ 00HBVGkiR5Boy6VWINmuRzWRdeSEJ3Qq/lo/98Y19UZH04EMn5kBEA0rjtFk/CCIE4dq hKAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=EAOlj6Ey7fbw14+XbnPoQ621ANlJCy+Gf2JjrsDquf0=; b=qHPnGgNGrpDLUKG/iBpRUsABcV2KvqMEX4FXjMo22eahJH2/EzSLH9fo6SDYa+Z542 XF94DVvOxZWVKp23iGGX5odDTYNhcguGppHhpEfXJUwjjqd6oTv6kAoJ48OFOIjmSpLX yD0TWMOJGVZJrhsGmksPQYU8tLPMBetXSOqh4MT0fdNhjMSLziXzXF9+w6YrwDRJ+9qm 4VDqdf2gE+WUzIh2NJW1FBhlWu8m9W3P+HcHN/trRuAm6tr+Kq1dGtNS60bkD5Ihfv/C qsCg2jMFioh0jpYFwaJxQPNL4fdm76TrJdKO7xZjs+huQcbp1Z7pbUSlSUvSWp3ov5GI A2fg== X-Gm-Message-State: ACrzQf3A939A0stNNr6xcQ3CAS3PIdNHW2RxlzNIkaNfGDvInB2KhKig YxpaSrBp5fnQ/EvcVmgDZVosFwBwB68dXt7ULVHNRKwSvwD9dg== X-Google-Smtp-Source: AMsMyM6oUMSzxfcpW+C2FTkwsyQBTx0kHmSaw61jX+SiFU94WxeQwhvzz/Btubu9lIzJzu34GgfFOmPfie33DXFTB4M= X-Received: by 2002:a05:6402:27cf:b0:451:6ccc:4ea0 with SMTP id c15-20020a05640227cf00b004516ccc4ea0mr17638494ede.193.1664778653497; Sun, 02 Oct 2022 23:30:53 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::535; envelope-from=paaguti@gmail.com; helo=mail-ed1-x535.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, 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:296731 Archived-At: --000000000000457d6d05ea1b7c55 Content-Type: text/plain; charset="UTF-8" Rob writes: > Regarding the writes to HOME, etc. I think David covered that fairly > well -- Debian runs emacs to "do things" (build .elcs, run tests, etc.) > at package build time, package install time, and during package testing. > In all of these cases, we're likely to want to avoid side-effects outside > the build/test dir like writing .elc or .eln files to the current user's > HOME, whether that's /root/ or /home/*. It sounds like we may be able > to accomplish that by redirecting everything to a temp dir, which is > likely fine. I know this may come late and be redundant, but just my .01 cents of experience: I have my own tweaked Debian infra to build emacs29 for Ubuntu and I have native-compile enabled. All .eln files generated during build from the emacs (git) source are stored in /usr/lib/emacs-xyz and are never recompiled when I run emacs. What actually gets natively compiled to $HOME/.emacs.d/eln-cache is any package that I download from (m)elpa-xyz as a result of my HOME/.emacs.d/init.el I may be doing something wrong, but AFAIK it seems to work and I have the same functionality on my Ubuntu natively-compiled Emacs and on the macOS (both running +/- the same snapshot of the emacs master git branch), where I have no native compilation. I hope I somehow contributed something ;-) /PA -- Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000457d6d05ea1b7c55 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

R= ob writes:
> Regarding the writes to HOME, etc.=C2=A0 I think = David covered that fairly
> well -- Debian runs emacs to "do thi= ngs" (build .elcs, run tests, etc.)
> at package build time, pac= kage install time, and during package testing.
> In all of these case= s, we're likely to want to avoid side-effects outside
> the build= /test dir like writing .elc or .eln files to the current user's
>= HOME, whether that's /root/ or /home/*.=C2=A0 It sounds like we may be= able
> to accomplish that by redirecting everything to a temp dir, w= hich is
> likely fine.

I know this may c= ome late and be redundant, but just my .01 cents of experience:
I= have my own tweaked Debian infra to build emacs29 for Ubuntu and I have na= tive-compile enabled. All .eln files generated during build from the emacs = (git) source are stored in /usr/lib/emacs-xyz and are never recompiled when= I run emacs.=C2=A0

What actually gets natively co= mpiled to $HOME/.emacs.d/eln-cache is any package that I download from (m)e= lpa-xyz as a result of my HOME/.emacs.d/init.el

I = may be doing something wrong, but AFAIK it seems to work and I have the sam= e functionality on my Ubuntu natively-compiled Emacs and on the macOS (both= running +/- the same snapshot of the emacs master git branch), where I hav= e no native compilation.

I hope I somehow contribu= ted something ;-)
/PA
--
Fragen sind ni= cht da um beantwortet zu werden,
Fragen sind da um gestellt zu wer= den
Georg Kreisler

Headaches with a Juju = log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation= we should run a leader-deposed hook here, but we can't yet

--000000000000457d6d05ea1b7c55--