From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sPSeEVI79GWxCwAAqHPOHw:P1 (envelope-from ) for ; Fri, 15 Mar 2024 13:13:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sPSeEVI79GWxCwAAqHPOHw (envelope-from ) for ; Fri, 15 Mar 2024 13:13:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YtKi3XGL; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710504786; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+HO3gQsoy5qq4LNn2kmsLTtKrqUmNV4ilZUvoFA6h8M=; b=VlOAOeM3knlv/1xfPEfcnr76jZrmX7BsrrxWI84++8XVS9pVFtmace/d96eHOa7wNA7MgX mlv5UC0ygjyVbe4y/fYRMueZPxkdyaMV17yjYJkzpJm0JmqFPNObALT13tZWC9Pacw6OOI XofxQe+9k0tVjvuB50586Atw4xKzJsJyxQOt7RzpP/rc0WnBQcQhvf71jrAvjF9fFq17zt 19OBwi95u4BYZOf4/dnnTMT+yTHkzyzkY2FlEsxQ4qUi7cYK+LGPtev2sF2T87GZBm48IM RP+MCb7G8qEq2viT6xcVvixdpWNWiwdsVgcBAz27gBtZvfOoVi9lZVCk5cKjdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=YtKi3XGL; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710504786; a=rsa-sha256; cv=none; b=ZPI5gZJ8QQhPMgL+smdqa79Fh0dHwuykh0n7EMd+JvQhwd1t1tZXwUVF4/VzSbXz3Q8nMC NTgTuQgysXrl2TAxnCWsHYDaI78h6RvzOjQHX6LpPd3J9WpQrrDijlKgnHTnDeGMpI6hlM xB6Bg5uCoB6yTH1jlXBjLnYkkFkbU6RrdYyxKUfrPpt4CKhGW/43UN0/5uIg/TGtmZ0u/9 GfpPbRW+l2u0362A6jvo4c7VL2WWCtNsZ0QP90MSzu8bA129vnM6AICuWQv/qAOY/D1gvR +iL/yZnrB1PSyrT0bDXFXBToNhvg57mcPiB6Vw4U6lqXT2y3Cx8eqPLcdbPBrQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EE7C565531 for ; Fri, 15 Mar 2024 13:13:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rl5Zu-0002UN-3g; Fri, 15 Mar 2024 07:18:22 -0400 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 1rl5Zr-0002U8-NJ for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 07:18:19 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rl5Zg-0007vZ-Pn for emacs-orgmode@gnu.org; Fri, 15 Mar 2024 07:18:19 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d4360ab3daso29190071fa.3 for ; Fri, 15 Mar 2024 04:18:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710501486; x=1711106286; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+HO3gQsoy5qq4LNn2kmsLTtKrqUmNV4ilZUvoFA6h8M=; b=YtKi3XGLGyP0FmkNwSbPwQFJoLPUG4t3rGnpn4P9wyCh0vLaX+f3n6dYL+AoO41Utu kv8liXlHGa9Dd+jhWnIHsO0r6ro9WdR2/rTY31aGUx1n0jj2L8lstlpbnzx3gY4ErV+q /ZFPrDz1dnzDsPB+Is0JIHqBGisgPF2tmD6oGpB8X/ASfjWk2mZonGi+8M8IJQDlZK+7 X91yEy1Ej9Y3SAmh+lQNnWddGQO8SANHO10nizxtIlM/t3eiFGh7WDz2AOWmeMXkSFxu 1hFG8iXs84rioGTLYGuvoducPT4NJVUL0OjnS9eNpkEQEXsq1T/eiL5A3fkJ7sX5+u5q l4MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710501486; x=1711106286; 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=+HO3gQsoy5qq4LNn2kmsLTtKrqUmNV4ilZUvoFA6h8M=; b=an1BTvg49r2Aj5GLsIpYDUC10um/tX76clPbwFaBkgz64IoRj9q3QmUX+1EprNaTSA TcGP6RJeqxY8j9gVBrOnty0ZkNtE099FvDA4itN6kpfZ/b9pacGGyo+JQnsP0iHMcdxA DmIJx+PCUcuypZjne3P41EyCkq0zIFCwHWVY9yJB85FUDoiQyJ93QIenXY4XgKQ8GVQw jeiLSU6ZQB8JifRLT42J/EKqIpCC5dYXpN8gX6TKpfAVD8gk6FslMAsjORtCipDXoufk LhbUHEYsH/vamLfaXBVNMVRb/eVZ5gbLK+8xeEzhEuxR91EgW9GeTSs2L3PULLcBi79Q LsyQ== X-Gm-Message-State: AOJu0YysQ2V6vE71+ofdSiSsIKgf1VB2mNEE/tTKd4XJT2pcDGHs17pQ 78ed9jShnxILIKn6RsZopWHGRBZk7YERdpI34QklMtA51i7KusGI+Mjuu2rnS98wxV9wfD/h1Fr RwZx73YZdiidPCZ96Oz/pIglEEOSzGPFx X-Google-Smtp-Source: AGHT+IFT4yMi/GSh+TGG12pQM1BhTgcMAYh8VInLORvbgcRQAoG9Dm/vk8c2d3CobRVjc5NBeuxBarMYVSFRYUOvjCQ= X-Received: by 2002:a05:651c:c9:b0:2d3:13ea:2214 with SMTP id 9-20020a05651c00c900b002d313ea2214mr2970149ljr.21.1710501485881; Fri, 15 Mar 2024 04:18:05 -0700 (PDT) MIME-Version: 1.0 References: <14271f30-5821-497d-844f-dadb720525d3@gmail.com> <87ttlawb1a.fsf@localhost> <878r2mf3ug.fsf@localhost> <87il1nio47.fsf@localhost> In-Reply-To: <87il1nio47.fsf@localhost> From: Pedro Andres Aranda Gutierrez Date: Fri, 15 Mar 2024 12:17:39 +0100 Message-ID: Subject: Re: Reproducible work with natively compiled Emacs To: Ihor Radchenko Cc: Org Mode List Content-Type: multipart/alternative; boundary="0000000000007432ae0613b129dc" Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=paaguti@gmail.com; helo=mail-lj1-x234.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.74 X-Spam-Score: -8.74 X-Migadu-Queue-Id: EE7C565531 X-Migadu-Scanner: mx13.migadu.com X-TUID: rlI6rLXnN7Ld --0000000000007432ae0613b129dc Content-Type: text/plain; charset="UTF-8" HI Igor having more than one 30.0.50 means that you are trying emacs master as often as me. Only that I tend to cleanup more often :-D I think I could make it delete the current version only. It will not delete the org .eln files shipped with a package you install: that's what the first line in the foreach and (car ...) take care off, so it will be only anything created at some point by a make native on an org-mode cloned from git. Anyhow, let me check... Best, /PA /PA On Fri, 15 Mar 2024 at 12:09, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > +# This is where Emacs stores the .eln files > > +ELNDIR := $(shell $(EMACS) --batch --eval '(when > (native-comp-available-p) (princ (car native-comp-eln-load-path)))') > > ... > > +cleaneln: > > + @$(foreach elnf,$(patsubst %.eln, %-*.eln, $(LISPN)), \ > > + $(FIND) $(ELNDIR) -name $(elnf) -exec $(RM) -v {} \; ;) > > I think that it will delete too much - (car native-comp-eln-load-path) > contains multiple directories if several Emacs versions are used in the > system. So, make cleaneln will not only clean .eln files created by make > native, but also all .eln files created by other Emacs processes. > > For reference, here is what my eln-cache directory contains: > > [yantar92:~/.emacs.d/eln-cache] $ > > ls > 28.2-288c4fd1 30.0.50-394f34f6 30.0.50-464b3753 30.0.50-4f12c581 > 30.0.50-8437a6f7 30.0.50-86834af4 > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- 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 --0000000000007432ae0613b129dc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
HI Igor
having more than one 30.0.50 means that you ar= e trying emacs master as often as me. Only that I tend to cleanup more ofte= n :-D

I think I could make it delete the current v= ersion only.=C2=A0
It will not delete the org .eln files shipped = with a package you install: that's what the first line in the foreach a= nd (car ...) take care off,=C2=A0
so it will be only anything cre= ated at some point by a make native on an org-mode cloned from git. Anyhow,= let me check...

Best, /PA

/PA=C2=A0

On Fri, 15 Mar 2024 at 12:09, Ihor Radchenko <yantar92@posteo.net> wrote:
Pedro Andres Aranda Guti= errez <paaguti@gm= ail.com> writes:

> +# This is where Emacs stores the .eln files
> +ELNDIR=C2=A0 :=3D $(shell $(EMACS) --batch --eval '(when (native-= comp-available-p) (princ (car native-comp-eln-load-path)))')
> ...
> +cleaneln:
> +=C2=A0 =C2=A0 =C2=A0@$(foreach elnf,$(patsubst %.eln, %-*.eln, $(LISP= N)), \
> +=C2=A0 =C2=A0 =C2=A0 =C2=A0$(FIND) $(ELNDIR) -name $(elnf) -exec $(RM= ) -v {} \; ;)

I think that it will delete too much - (car native-comp-eln-load-path)
contains multiple directories if several Emacs versions are used in the
system. So, make cleaneln will not only clean .eln files created by make native, but also all .eln files created by other Emacs processes.

For reference, here is what my eln-cache directory contains:

[yantar92:~/.emacs.d/eln-cache] $
> ls
28.2-288c4fd1=C2=A0 30.0.50-394f34f6=C2=A0 30.0.50-464b3753=C2=A0 30.0.50-4= f12c581=C2=A0 30.0.50-8437a6f7=C2=A0 30.0.50-86834af4

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>


--
Fragen sind nicht da, um bea= ntwortet 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 ru= n a leader-deposed hook here, but we can't yet

--0000000000007432ae0613b129dc--