From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WD/5FGSg8WUWMAEAe85BDQ:P1 (envelope-from ) for ; Wed, 13 Mar 2024 13:47:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WD/5FGSg8WUWMAEAe85BDQ (envelope-from ) for ; Wed, 13 Mar 2024 13:47:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pNxH13Hw; 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=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710334052; 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=jF6y/nYYcohxmLYrevViLxjIy12+xqgwlOlJx1dC4iw=; b=gMWZKiDix+3jp68x/KJJLZSBP23l0GkvKF1QsCizYKCLCu/5KYvfYafkHXDsJwJx6EfqUv /Bi67ITGawl18p9yi3PHQbQ9RSG25n9kC1x7+BXKjZnt4kUO4u21JgTGj/d9G3WpoqWIPY hZCQs11UTdaNm9gzyGK4/a+6rU2sWUBuoyd2E6HJ/PP0MdDKfvmHhNzY1g7y22ji2haMTJ ZJNGjEC3jq9WIk8Y+JO26qtL58KwHz3iHgkiwwrtfZ74RZJL3gtFPLBuura7HHrK38OITj +Bon/cvrmBo51/BZneYUF4053FTdeBJKK1zUakJlpHRBYr2GLroNyhcccGIYBw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710334052; a=rsa-sha256; cv=none; b=aj2dIf/bbvO+mT+i4SzFln5PF3lYPKu7cuHPYRV63iGunkA1TTyvO5WIc8FvHgQbx1YOj6 n1NDwhhEYuv4303QGbof80MUO8nz+pfSXTC777G+GUxrhQhqKtc1Y53AdhYu6INetJjb8W 53JGiqBDsSm5ptYm61q9XA2wuz7pRLcwgrdBDHuFQmvieJuPYBG9l2aTwWFuX/cOZciep0 Nv17WUN5MXbGe537qs8d10yu8oXeod52OkatT89Dc4Pln/kgT9bRIsCiJx3SKTkrHaiEkK VfaSL5XLAlYtnd/fQlRp+iNjQFzrJuGalHXgsn5clzEe9CUw+yQnDZHN8Mt3lA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=pNxH13Hw; 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=posteo.net 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 372695BA02 for ; Wed, 13 Mar 2024 13:47:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkO0G-0007jt-D1; Wed, 13 Mar 2024 08:46:40 -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 1rkO0B-0007hp-Is for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 08:46:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkO07-00013c-Kl for emacs-orgmode@gnu.org; Wed, 13 Mar 2024 08:46:34 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id D77A0240028 for ; Wed, 13 Mar 2024 13:46:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710333989; bh=0MPvC60z3KPYBNNzyPJM8xv9FNrq86jOEKZURTfNR4M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=pNxH13HwkojQtzw0jrXaoeYQV7wmjPh1FRRYjJJCIGfha2UiD1umuDYpewMSTxpML Fp9psekLMYaSzkpEPMXR/XsuY1xHbBQixovT4DbqJqTb6XWx/IKbYoOc3pIRJHqRvL mheknEc2pauij41vsMvJbveRhX2QVbnLVt/aTRO6mPk2vTu1oZIFaNr4jGizYDlPHL A82eV9JGGuvSyyIwjH7qTw+FnhEw7/AA5WLImz7xgcn4h8LUDOJQ1xi0CirsJX7o9x 7ayQ/nCpqbF/ynsxwhUOcLXs9/zrUyngiqJNhclxUt13mCNlA8RFwXhg7x3aLcdq1R qc/p6KSlKYumQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvqyF0pgRz9rxV; Wed, 13 Mar 2024 13:46:28 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: Org Mode List Subject: Re: Reproducible work with natively compiled Emacs In-Reply-To: References: <14271f30-5821-497d-844f-dadb720525d3@gmail.com> Date: Wed, 13 Mar 2024 12:50:41 +0000 Message-ID: <87ttlawb1a.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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: -9.49 X-Spam-Score: -9.49 X-Migadu-Queue-Id: 372695BA02 X-Migadu-Scanner: mx11.migadu.com X-TUID: NDI7nxPhi8tY Pedro Andres Aranda Gutierrez writes: >> I have been experiencing some inconsistencies with org-mode, which I >> have been able to trace own to using native compilation and not knowing >> where the files from main were. Thanks for the patch! See my comments inline. > +# This is where Emacs stores the .eln files > +ELNDIR = $(shell emacs --batch --eval '(princ (car native-comp-eln-load-path))') Please use $(EMACS). > +cleaneln:: > + for elnf in $(patsubst %.eln, %-*.eln, $(LISPN)); do \ > + find $(ELNDIR) -name $$elnf -exec $(RM) -v {} \; ;\ > + done $(FIND). Also, avoid using bash as much as possible in favor or GNU make constructs. You can use $(foreach ...) here. > clean-install: > if [ -d $(DESTDIR)$(lispdir) ] ; then \ > $(RM) $(DESTDIR)$(lispdir)/org*.el* $(DESTDIR)$(lispdir)/ob*.el* $(DESTDIR)$(lispdir)/ol*.el* $(DESTDIR)$(lispdir)/ox*.el* ; \ > -- > 2.34.1 > From 6d98dfb3d72171e0231823260165b23e8b9963ee Mon Sep 17 00:00:00 2001 > From: "Pedro A. Aranda" > Date: Mon, 11 Mar 2024 09:47:12 +0100 > Subject: [PATCH 1/3] Add cleaneln target > > * mk/targets.mk: add the 'cleaneln' target > > --- > mk/targets.mk | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/mk/targets.mk b/mk/targets.mk > index de849c4fb..ab9ec2a1f 100644 > --- a/mk/targets.mk > +++ b/mk/targets.mk > @@ -143,6 +143,9 @@ cleanall: cleandirs cleantest > $(CLEANDIRS:%=clean%): > -$(FIND) $(@:clean%=%) \( -name \*~ -o -name \*.elc \) -exec $(RM) {} + > > +cleaneln: > + $(MAKE) -C lisp $@ > + Should be in .PHONY > --- a/etc/ORG-NEWS > +++ b/etc/ORG-NEWS > @@ -11,7 +11,8 @@ See the end of the file for license conditions. > > Please send Org bug reports to mailto:emacs-orgmode@gnu.org. > > -* Version 9.7 (not released yet) > +* V > +ersion 9.7 (not released yet) This is a stray newline. > +*** ~make cleaneln~ will remove the .eln files from the user emacs configuration > + > +Natively compiled Emacs lisp files generated with ~make native~ are > +now correctly located and deleted with ~make cleaneln~. > + > ** Miscellaneous > *** =org-crypt.el= now applies initial visibility settings to decrypted entries "Add 'native' option to 'make help'" from the previous version of the patch still makes sense. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at