From unknown Sat Jun 14 08:54:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39375 <39375@debbugs.gnu.org> To: bug#39375 <39375@debbugs.gnu.org> Subject: Status: [PATCH] gnu: emacs-utils: Port to emacs-next. Reply-To: bug#39375 <39375@debbugs.gnu.org> Date: Sat, 14 Jun 2025 15:54:21 +0000 retitle 39375 [PATCH] gnu: emacs-utils: Port to emacs-next. reassign 39375 guix-patches submitter 39375 Leo Prikler severity 39375 normal tag 39375 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 31 15:02:45 2020 Received: (at submit) by debbugs.gnu.org; 31 Jan 2020 20:02:45 +0000 Received: from localhost ([127.0.0.1]:38133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixcV2-00040o-PD for submit@debbugs.gnu.org; Fri, 31 Jan 2020 15:02:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:53010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixcV1-00040h-OU for submit@debbugs.gnu.org; Fri, 31 Jan 2020 15:02:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39014) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixcV0-00014b-6P for guix-patches@gnu.org; Fri, 31 Jan 2020 15:02:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_MED, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixcUy-0000JH-Jl for guix-patches@gnu.org; Fri, 31 Jan 2020 15:02:41 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:30190) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ixcUy-0000Dt-3H for guix-patches@gnu.org; Fri, 31 Jan 2020 15:02:40 -0500 Received: from localhost.localdomain (194-118-251-194.hdsl.highway.telekom.at [194.118.251.194]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 488Sn80YsSz1LgFk for ; Fri, 31 Jan 2020 21:02:35 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 488Sn80YsSz1LgFk DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1580500956; bh=qD/QeNXEwWcJGpzFFXr9ddz/szKS3Dlr3Bc1A2Imwt8=; h=From:To:Subject:Date:From; b=YzKsgfq2YDgLissivelON4VuH1kiMFsy4fK7Vfm/y7tQNuyYKQqOMOnt8A9CbhvbY HCqFhgXvhgB+63ylKzI6JoyF5MKpCo42b2XuQRewoJVM5B15eyEpkDPDmnIu5CiCIB TIiKYSjkXHiViPCpt6XxujvnD3uQ/BcRhn3iUztQ= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH] gnu: emacs-utils: Port to emacs-next. Date: Fri, 31 Jan 2020 21:02:23 +0100 Message-Id: <20200131200222.23792-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 129.27.2.202 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) * guix/build/emacs-utils.scm (emacs-batch-eval*): New variable. (emacs-generate-autoloads): Redefine in terms of emacs-batch-eval*. Require autoload (needed with emacs-next). --- guix/build/emacs-utils.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm index 885fd0a217..1462f9d0af 100644 --- a/guix/build/emacs-utils.scm +++ b/guix/build/emacs-utils.scm @@ -23,6 +23,7 @@ #:use-module (guix build utils) #:export (%emacs emacs-batch-eval + emacs-batch-eval* emacs-batch-edit-file emacs-batch-disable-compilation emacs-generate-autoloads @@ -46,6 +47,14 @@ (invoke (%emacs) "--quick" "--batch" (format #f "--eval=3D~S" expr))) =20 +(define (emacs-batch-eval* . exprs) + "Run Emacs in batch mode, and execute all of the elisp expressions EXP= RS." + (apply invoke (%emacs) "--quick" "--batch" + (map + (lambda (expr) + (format #f "--eval=3D~S" expr)) + exprs))) + (define (emacs-batch-edit-file file expr) "Load FILE in Emacs using batch mode, and execute the elisp code EXPR.= " (invoke (%emacs) "--quick" "--batch" @@ -64,7 +73,7 @@ (expr `(let ((backup-inhibited t) (generated-autoload-file ,file)) (update-directory-autoloads ,directory)))) - (emacs-batch-eval expr))) + (emacs-batch-eval* '(require 'autoload) expr))) =20 (define* (emacs-byte-compile-directory dir) "Byte compile all files in DIR and its sub-directories." --=20 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 05:38:48 2020 Received: (at 39375) by debbugs.gnu.org; 27 Feb 2020 10:38:48 +0000 Received: from localhost ([127.0.0.1]:58743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7GZ5-0007Q0-Ne for submit@debbugs.gnu.org; Thu, 27 Feb 2020 05:38:47 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:40767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7GZ4-0007Pe-Ia for 39375@debbugs.gnu.org; Thu, 27 Feb 2020 05:38:47 -0500 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id F0DEC20001F; Thu, 27 Feb 2020 10:38:30 +0000 (UTC) From: Pierre Neidhardt To: Leo Prikler Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> Date: Thu, 27 Feb 2020 11:38:30 +0100 In-Reply-To: <20200131200222.23792-1-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Fri, 31 Jan 2020 21:02:23 +0100") Message-ID: <87blpk71sp.fsf@ambrevar.xyz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Looks good to me. Anything blocking this? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.9 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.7 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Looks good to me. Anything blocking this? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.7 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 1.9 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Looks good to me. Anything blocking this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5XnCYACgkQm9z0l6S7 zH8VyQf/UvKxIBdHtI+WJ3Ru/FWZrikD4KNsjsDtkuG6hBm68eXa2DzYrfawdjvT J+FGnOu1C718aajQWan4usOwRjJoyX4GCl4vkdP1uJY5zUA2ddw3UPoTlx1NEpQt f0k+1JHS+N01L2NzHGdEbvDNwpCXXE0sON/pJa/j6RuMU3kxKHhJBy0fey28dTqT EQ5crnUrByYSPTPscMKnaXAA+q9PJ+DWNQ1hpvGAi1RNemrC040gkpcB07Qqr0Uh PXYYCuvKXGChckavsl/MNi3br0olMYJa7dpm23v0s8CobPv65fzpX0OqqAOdS+f/ LpHL5osDMqE4bP4AGiuNk/Ui9/XOjQ== =N1d9 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 05:54:51 2020 Received: (at 39375) by debbugs.gnu.org; 27 Feb 2020 10:54:51 +0000 Received: from localhost ([127.0.0.1]:58771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7Goc-0001Pv-Oy for submit@debbugs.gnu.org; Thu, 27 Feb 2020 05:54:50 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:5731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7Gob-0001Pn-GY for 39375@debbugs.gnu.org; Thu, 27 Feb 2020 05:54:49 -0500 Received: from nijino.local (194-118-3-109.hdsl.highway.telekom.at [194.118.3.109]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 48SqLb4pkHz1LWpP; Thu, 27 Feb 2020 11:54:47 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 48SqLb4pkHz1LWpP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1582800887; bh=TQ/t8OUuR5R8iBFZ8k0seonVR8tML45vkxTbCU+aDAc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=TWspcgzv9EloeQqMKiYoax1WSn8qkq7T+OsUqT2wzWmxLj+T98IonbOApJ+ENVWRU evqn9cSgFXHhe0ian+fJiWRvv6gtakkMJZxTXS0uYO2+WOBMJgynrNaHAzlkpv2U7Z mvTZvCf8x9QwCUk3nIXRGTaMFfV4m5tCyX3EwWv0= Message-ID: <4ed9f5be42ba03d43d411a637d20db6c801ecf6a.camel@student.tugraz.at> Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. From: Leo Prikler To: Pierre Neidhardt Date: Thu, 27 Feb 2020 11:54:53 +0100 In-Reply-To: <87blpk71sp.fsf@ambrevar.xyz> References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <87blpk71sp.fsf@ambrevar.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Donnerstag, den 27.02.2020, 11:38 +0100 schrieb Pierre Neidhardt: > Looks good to me. Anything blocking this? AFAIK the change should be backwards-compatible, so it's just the rebuilds of all emacs libraries. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 08:20:23 2020 Received: (at 39375) by debbugs.gnu.org; 27 Feb 2020 13:20:23 +0000 Received: from localhost ([127.0.0.1]:58854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7J5T-0001Ae-7l for submit@debbugs.gnu.org; Thu, 27 Feb 2020 08:20:23 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:43785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7J5S-0001AR-Aj for 39375@debbugs.gnu.org; Thu, 27 Feb 2020 08:20:22 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id AA10BC0011; Thu, 27 Feb 2020 13:20:15 +0000 (UTC) From: Pierre Neidhardt To: Leo Prikler Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. In-Reply-To: <4ed9f5be42ba03d43d411a637d20db6c801ecf6a.camel@student.tugraz.at> References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <87blpk71sp.fsf@ambrevar.xyz> <4ed9f5be42ba03d43d411a637d20db6c801ecf6a.camel@student.tugraz.at> Date: Thu, 27 Feb 2020 14:20:15 +0100 Message-ID: <8736aw6ub4.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: So push to staging? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: So push to staging? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable So push to staging? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Xwg8ACgkQm9z0l6S7 zH8+yAf/cqGxOhswB/FkfmJXLKjoBOfd1fc+tjJZSrbcJmzUe8scZpLxMcYCJ8JG y8WXgDsvjCMHpfVLjJgvyIj6e/CTKmrhrhqh5MojWOekLWCQz4KlDqdM3/dJ2X2O iuAIwbxemyknI/fql7pOQIsQUyx3WjEqvLeaeBfwCh2VBKhh+Gc77ElX3nO0Z9Wp doSXRHZ50ODd3xJJavuxJ3OKp8SJ+cU8iwF7fxMAh8jaHKOjKqwKTLWdlUvNcJjI c0mhBxTf++UW+Wz1i5NCvuStMLy1kDlzof7deWmnZBYwjzAz3acTeqaoCgTo9zZd 5WVfXOFw2U1tQUBWwOdltg2+UJUYEw== =Ag+A -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 04:55:19 2020 Received: (at 39375) by debbugs.gnu.org; 28 Feb 2020 09:55:19 +0000 Received: from localhost ([127.0.0.1]:60671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7cMY-00024G-PE for submit@debbugs.gnu.org; Fri, 28 Feb 2020 04:55:19 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:11346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7cMX-000248-Bu for 39375@debbugs.gnu.org; Fri, 28 Feb 2020 04:55:17 -0500 Received: from nijino.local (194-118-3-109.hdsl.highway.telekom.at [194.118.3.109]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 48TPzR3F35z3xhX; Fri, 28 Feb 2020 10:55:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1582883715; bh=9M2COA0INhDJyGaT9PXxm2lNtqeBW5W+jRi+t0qvJ7c=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=azgf4y/LdGkDUeO3GCi4f84N+5qK0ey+qrZb+PPrV7K/6oDOlIGGNGwMBA9AtJ8ma qCM4UKOdl1px6HFlgYSiEizZd9YmQlJiezy9CPAUpp0vMnD/ak4N+KTkjaLhS1RuGD ++m0KvKH5wR18El3WxKNZjVTutwyBHThKF0KG174= Message-ID: Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. From: Leo Prikler To: Pierre Neidhardt Date: Fri, 28 Feb 2020 10:55:22 +0100 In-Reply-To: <8736aw6ub4.fsf@ambrevar.xyz> References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <87blpk71sp.fsf@ambrevar.xyz> <4ed9f5be42ba03d43d411a637d20db6c801ecf6a.camel@student.tugraz.at> <8736aw6ub4.fsf@ambrevar.xyz> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Am Donnerstag, den 27.02.2020, 14:20 +0100 schrieb Pierre Neidhardt: > So push to staging? Staging should be safe, but previous updates to emacs-build-system have been pushed to master before with the reasoning, that the rebuilds are all very small. I'm not sure who has the authority over this. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 05:05:44 2020 Received: (at 39375) by debbugs.gnu.org; 28 Feb 2020 10:05:44 +0000 Received: from localhost ([127.0.0.1]:60678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7cWe-0002PF-2Q for submit@debbugs.gnu.org; Fri, 28 Feb 2020 05:05:44 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:60905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7cWb-0002Ow-Pq for 39375@debbugs.gnu.org; Fri, 28 Feb 2020 05:05:42 -0500 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 1EEA1200014; Fri, 28 Feb 2020 10:05:33 +0000 (UTC) From: Pierre Neidhardt To: Leo Prikler Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. In-Reply-To: References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <87blpk71sp.fsf@ambrevar.xyz> <4ed9f5be42ba03d43d411a637d20db6c801ecf6a.camel@student.tugraz.at> <8736aw6ub4.fsf@ambrevar.xyz> Date: Fri, 28 Feb 2020 11:05:33 +0100 Message-ID: <87v9nr3u36.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Cc-ing to Maxim: Leo Prikler writes: > Am Donnerstag, den 27.02.2020, 14:20 +0100 schrieb Pierre Neidhardt: >> So push to staging? > Staging should be safe, but previous updates to emacs-build-system have > been pushed to master before w [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: tugraz.at] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org, Maxim Cournoyer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Cc-ing to Maxim: Leo Prikler writes: > Am Donnerstag, den 27.02.2020, 14:20 +0100 schrieb Pierre Neidhardt: >> So push to staging? > Staging should be safe, but previous updates to emacs-build-system have > been pushed to master before w [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Cc-ing to Maxim: Leo Prikler writes: > Am Donnerstag, den 27.02.2020, 14:20 +0100 schrieb Pierre Neidhardt: >> So push to staging? > Staging should be safe, but previous updates to emacs-build-system have > been pushed to master before with the reasoning, that the rebuilds are > all very small. I'm not sure who has the authority over this. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Y5e0ACgkQm9z0l6S7 zH+fuQf/S32jm2caUSaAXHbnH8fhmDvQmqEIDJIWT7g7//s2m/lOJ5syqUlpXnij fgMxzQWNX6WsSYtlCXMw2sX4vxg9UNzUCBX7n4vE8A70d2Pfe0ZFr8VsSnhwdY1t maCvS97tCREtsukb+IgvA0QtdgoLdbftH3Xe0CYozXRYprJYMkLOlnbpJk2iEEuO UYmnV/+ivEp12ahHtEXn3vPOUPZ+J3CbYXo0rxRdajoKWxhLw+xGGRJtkxpxYey2 lLKhBdz1XpZcHyhCA9fXz1r2OkbWZg+Sf+XHHr3QVzanovw6B2XaqtSiDFZLdCPv W56fsvyOw0EqJhcJOFh8usWjzabNDQ== =eYFt -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 09:50:50 2020 Received: (at 39375) by debbugs.gnu.org; 28 Feb 2020 14:50:50 +0000 Received: from localhost ([127.0.0.1]:60908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7gyY-0006YZ-2u for submit@debbugs.gnu.org; Fri, 28 Feb 2020 09:50:50 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:33187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7gyW-0006YN-9A for 39375@debbugs.gnu.org; Fri, 28 Feb 2020 09:50:48 -0500 Received: by mail-qt1-f195.google.com with SMTP id x8so29861qts.0 for <39375@debbugs.gnu.org>; Fri, 28 Feb 2020 06:50:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Z6ipmSGqeJCXqSGLju4TEuC/1BNW4DR/Hd38Y4Q+ElI=; b=QjT4NiFHQgqLbT+XWJgl85O7DMnOKZmWDvVQDHQ50AxHJDadyfEgn0hccVfvX5uAFh 39L5MAJGQdiNGGBm1wnVxRrm2NpyavPdk/QxJTVJJ//u8vJYNI/XWr2PcS80tc3YRziT hEiVcbyTJPhYElCe8+T34nB8ncPOpUMxui1iJpWVMmtQA5TmzshHbC61k76oBfR/y0hv lbVwXT237KGdF+3MWrN+KXTtENbArKngmuWgGwM7/GLFyiOsJvpnDGbJNPe1Dq1PIL8D uCRHqcEcjzpKKR7pkd9Su6R1hGiFwPePak8ggxCHTUCqU1Fgts9X0oaZlcmON/3Jv7ag yHjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Z6ipmSGqeJCXqSGLju4TEuC/1BNW4DR/Hd38Y4Q+ElI=; b=XRF5ske5mQK0Qx3S1j0jJTaoS+LAH/6jVXUyBaaW9Exu7Ydd62CwMSwfixtE1tWWF5 uY9CEL5f/E97Yj98wrMGc59XonCe+OmNhJGEAzAiNkbZk1VF+jJo7rUcblTZ+oQVk05h LvUN06ID1ktgca4Kv0BX2U7YUUzxpJ/uUeIHt4UzGTPfnI/ZZimg7jt58/Lbk8eXfEP8 C8suZjN3nrv2oW8gqIs+0HXTBQkzIGoW5Dn/RnbOeBbTqBQFFSyMXbUIBKZpc+O+J6nF SJKx6FAK4tgsGhQglstxB7ivv/ENTB4y2UYrbhFTKf5Pp2F/nypqDOlA7arymUNc0h4S 69EA== X-Gm-Message-State: APjAAAVKnaBDiqcYg+j/AnGlc+E41b0IxgIMbzSI2AlmQO5A7sejWCLE K7VTGd/H+p1Oh3yplBkXdx1KI5RUDtk= X-Google-Smtp-Source: APXvYqzx1pUSU3unOUIE9SbsulNic0jbWUdQnmTAoWwqUNQnft9oh7uKw6LqYPj7IC8AEPtAF1lUtQ== X-Received: by 2002:ac8:4e2c:: with SMTP id d12mr4598440qtw.219.1582901442373; Fri, 28 Feb 2020 06:50:42 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id h34sm5360614qtc.62.2020.02.28.06.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 06:50:41 -0800 (PST) From: Maxim Cournoyer To: Leo Prikler Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> Date: Fri, 28 Feb 2020 09:50:41 -0500 In-Reply-To: <20200131200222.23792-1-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Fri, 31 Jan 2020 21:02:23 +0100") Message-ID: <874kvan4u6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, Leo Prikler writes: > * guix/build/emacs-utils.scm (emacs-batch-eval*): New variable. > (emacs-generate-autoloads): Redefine in terms of emacs-batch-eval*. > Require autoload (needed with emacs-next). > --- > guix/build/emacs-utils.scm | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > > diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm > index 885fd0a217..1462f9d0af 100644 > --- a/guix/build/emacs-utils.scm > +++ b/guix/build/emacs-utils.scm > @@ -23,6 +23,7 @@ > #:use-module (guix build utils) > #:export (%emacs > emacs-batch-eval > + emacs-batch-eval* > emacs-batch-edit-file > emacs-batch-disable-compilation > emacs-generate-autoloads > @@ -46,6 +47,14 @@ > (invoke (%emacs) "--quick" "--batch" > (format #f "--eval=~S" expr))) > > +(define (emacs-batch-eval* . exprs) > + "Run Emacs in batch mode, and execute all of the elisp expressions EXPRS." > + (apply invoke (%emacs) "--quick" "--batch" > + (map > + (lambda (expr) > + (format #f "--eval=~S" expr)) > + exprs))) > + > (define (emacs-batch-edit-file file expr) > "Load FILE in Emacs using batch mode, and execute the elisp code EXPR." > (invoke (%emacs) "--quick" "--batch" > @@ -64,7 +73,7 @@ > (expr `(let ((backup-inhibited t) > (generated-autoload-file ,file)) > (update-directory-autoloads ,directory)))) > - (emacs-batch-eval expr))) > + (emacs-batch-eval* '(require 'autoload) expr))) > > (define* (emacs-byte-compile-directory dir) > "Byte compile all files in DIR and its sub-directories." As I wrote here , I think we have something fundamentally flawed in our Emacs 27 build, which I'd like to have addressed at its core. Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 10:26:20 2020 Received: (at 39375) by debbugs.gnu.org; 28 Feb 2020 15:26:20 +0000 Received: from localhost ([127.0.0.1]:33645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hWu-00080C-68 for submit@debbugs.gnu.org; Fri, 28 Feb 2020 10:26:20 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:45465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7hWt-0007zs-C9 for 39375@debbugs.gnu.org; Fri, 28 Feb 2020 10:26:19 -0500 Received: by mail-qt1-f193.google.com with SMTP id y3so1745029qtv.12 for <39375@debbugs.gnu.org>; Fri, 28 Feb 2020 07:26:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=BhNEtr6R44oiPoLAt45la08/YL2AqETNSIOVNCH9Hx8=; b=HCXB71x2tPmFeSEnqAlIz8mCyj7tbvUlu14+Ta5IrP8p//nJ71aqVfEaeY1WFWvtH7 yH++5l3YTkgHnjOIB0VECvrYQWHrppJf+MXDRZXl77Uh90xCJRZxbjZXj4vI5XSu9MEV Rdubie6+4armvd/qv2DqtbATbwhkTwaVph6THRnOYOwqVl7l+wRP8PQHsh7kt/IS4gxq 8qBdp+vKNne1snhJla/WK3YVOmPdBCALF/3qzaGida/smy9IYmSHWc4GuHZYvBJKIAe1 kZED4vAJPjE83Nl3Is8GYI4X60yJswL9E5yWi2/L2iMHskjHj+jrQXBZKHKCf3z/oZwB u2hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=BhNEtr6R44oiPoLAt45la08/YL2AqETNSIOVNCH9Hx8=; b=JhmEymstSs4L9dQ6OFNM98mXzcYOc/J7erQWvscQKw3oMDRAsZvByTRynvk+DVRtAK DvCoQmzDGyJETh4cMJM8NISlzgUq0m96yx8KCjoOAi5AKip1pa+JeoDG6ffQX8eha0kJ MN8Az7IDXjKEUyy0QL3muvsvk5bO/t//k0goh6ZDIrD/wREvE2w9vXljJip1tOEXLYm6 IUJ0tOxqLwPKT/bNwV0Tjpy5ZkP4o+y7qr26yqRjZUfsc+zq22oPdZQtzNPg8AIJcPv/ hsBHbJy94H3TBzbA7TTNrJlIqPFSGdV6f8XIjfYpwQOY4sq10mRNbpohXqKNMG8ZK7Uo /YpA== X-Gm-Message-State: APjAAAVQXqvbmhCh9J+YwJSa+xzzAPvjtKIQS1WLHx0H3JF9IML5/EvT 2LYp4lwz4pOlwiR8JQv3Qb0T9swDpNo= X-Google-Smtp-Source: APXvYqzJD6bPAjd3Ne2scAqknxnueB/MTuQMD+VQV+Z+G/HKKdoxSJOeDJzsx88Um+p/UsPEqMyzzQ== X-Received: by 2002:aed:2a86:: with SMTP id t6mr4558730qtd.81.1582903572777; Fri, 28 Feb 2020 07:26:12 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id v12sm3684531qti.84.2020.02.28.07.26.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Feb 2020 07:26:12 -0800 (PST) From: Maxim Cournoyer To: Leo Prikler Subject: Re: [bug#39375] [PATCH] gnu: emacs-utils: Port to emacs-next. References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <874kvan4u6.fsf@gmail.com> Date: Fri, 28 Feb 2020 10:26:11 -0500 In-Reply-To: <874kvan4u6.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 28 Feb 2020 09:50:41 -0500") Message-ID: <87v9nqlomk.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Maxim Cournoyer writes: [...] > As I wrote here , I think we have something > fundamentally flawed in our Emacs 27 build, which I'd like to have > addressed at its core. For the record, I've opened an issue with Emacs here: . Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 30 16:16:49 2021 Received: (at 39375) by debbugs.gnu.org; 30 Aug 2021 20:16:49 +0000 Received: from localhost ([127.0.0.1]:60402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKni4-00021n-SC for submit@debbugs.gnu.org; Mon, 30 Aug 2021 16:16:49 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:45605) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKni1-00021T-Hr for 39375@debbugs.gnu.org; Mon, 30 Aug 2021 16:16:47 -0400 Received: by mail-qt1-f176.google.com with SMTP id s32so12763768qtc.12 for <39375@debbugs.gnu.org>; Mon, 30 Aug 2021 13:16:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=sVuVJy7N7zUoSCKru8unWqczOsvg7i29/GlnRVY50i4=; b=W+zQnm0Z4lfLa21sMHtPOdC/FpQrxAEWfft1Ok84Pthg81dS7TN6/hEjiQDL9lJxSr gI/3rlKs3ml2OcLR9X3lWcDQ2NGAB+45uDBgwB+0eqYJeA2z4DcD+lARj1/TFwUqZjHv je7yaOm49/dYMuw7q5jlQ9xXI5zV/ExLCfgqm+0txAp8JWzsZO1ufNIoG931k1R0wdaY Mg0V3wIrbEvS98qXzdg2eTbUxKenjHvfTQdP6DGRkd+w5g42FzIeXrw0b/etdp1W1npJ wiYSv8aUvEYijQ/n9PlK28wACsoJZrru+XWyA6nI7dlA7+fUBQov9XHxNzAOYUSXiS5x 6raQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=sVuVJy7N7zUoSCKru8unWqczOsvg7i29/GlnRVY50i4=; b=VgSOiGuIWsHYdhw33VLyPXdh4zNIIAdxGw9oom9+QGPJ12LndEoJuaqjbYj8aAWoyI G5tW/swT98WZE2lNyllLpWcnjeLOl5HfZ2eV9XoTmORGRUAo+MYIwdgOcfFmBpuno7ug 0U0L7cfJ7jTxose99GbbNiBy2omKy1YGfiBCrjAW/A1EWYPui6F8S6MsL+EgiX+akJDj aCE7zPAjAReNC9tHE5VuZtCiSrjAJBLy0kevzZh46t7ok/A6r55MSkURGFNLWw3TDxIh Ek/8JpJsJ+VGZ2XGrRiYPf0goDll4rCeEJWY71mSCVyje4X9dndeWWj3wk93k91dLbTi rBqA== X-Gm-Message-State: AOAM531AQ9IgQuWcQQ27h4oGcUiKrUDj3/GeDEPK6Kz2o2T9SgzJksto dLy64YkGeqS5LgPGALdwqej0rz65MTw8VA== X-Google-Smtp-Source: ABdhPJyf3luSLhEMhqfIxGlz3CUkxJjM4SuUc/UIXdrvDN+5o8wSg9Sy0ErHCuZMN5ctv17GhYORDg== X-Received: by 2002:a05:622a:5d4:: with SMTP id d20mr22754982qtb.376.1630354599920; Mon, 30 Aug 2021 13:16:39 -0700 (PDT) Received: from hurd (dsl-10-141-212.b2b2c.ca. [72.10.141.212]) by smtp.gmail.com with ESMTPSA id t188sm12568115qkf.22.2021.08.30.13.16.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 13:16:39 -0700 (PDT) From: Maxim Cournoyer To: Leo Prikler Subject: Re: bug#39375: [PATCH] gnu: emacs-utils: Port to emacs-next. References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <874kvan4u6.fsf@gmail.com> Date: Mon, 30 Aug 2021 16:16:38 -0400 In-Reply-To: <874kvan4u6.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 28 Feb 2020 09:50:41 -0500") Message-ID: <878s0ilmc9.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, Maxim Cournoyer writes: > Hi Leo, > > Leo Prikler writes: > >> * guix/build/emacs-utils.scm (emacs-batch-eval*): New variable. >> (emacs-generate-autoloads): Redefine in terms of emacs-batch-eval*. >> Require autoload (needed with emacs-next). >> --- >> guix/build/emacs-utils.scm | 11 ++++++++++- >> 1 file changed, 10 insertions(+), 1 deletion(-) >> >> diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm >> index 885fd0a217..1462f9d0af 100644 >> --- a/guix/build/emacs-utils.scm >> +++ b/guix/build/emacs-utils.scm >> @@ -23,6 +23,7 @@ >> #:use-module (guix build utils) >> #:export (%emacs >> emacs-batch-eval >> + emacs-batch-eval* >> emacs-batch-edit-file >> emacs-batch-disable-compilation >> emacs-generate-autoloads >> @@ -46,6 +47,14 @@ >> (invoke (%emacs) "--quick" "--batch" >> (format #f "--eval=~S" expr))) >> >> +(define (emacs-batch-eval* . exprs) >> + "Run Emacs in batch mode, and execute all of the elisp expressions EXPRS." >> + (apply invoke (%emacs) "--quick" "--batch" >> + (map >> + (lambda (expr) >> + (format #f "--eval=~S" expr)) >> + exprs))) >> + >> (define (emacs-batch-edit-file file expr) >> "Load FILE in Emacs using batch mode, and execute the elisp code EXPR." >> (invoke (%emacs) "--quick" "--batch" >> @@ -64,7 +73,7 @@ >> (expr `(let ((backup-inhibited t) >> (generated-autoload-file ,file)) >> (update-directory-autoloads ,directory)))) >> - (emacs-batch-eval expr))) >> + (emacs-batch-eval* '(require 'autoload) expr))) >> >> (define* (emacs-byte-compile-directory dir) >> "Byte compile all files in DIR and its sub-directories." > > As I wrote here , I think we have something > fundamentally flawed in our Emacs 27 build, which I'd like to have > addressed at its core. Correct me if I'm wrong, but I think we ended up addressing the issue differently at the time, right? If you confirm that this is no longer needed, let's close it! Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 30 17:33:44 2021 Received: (at 39375) by debbugs.gnu.org; 30 Aug 2021 21:33:44 +0000 Received: from localhost ([127.0.0.1]:60514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKouW-0008Up-1A for submit@debbugs.gnu.org; Mon, 30 Aug 2021 17:33:44 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:53143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKouU-0008Ue-9j for 39375@debbugs.gnu.org; Mon, 30 Aug 2021 17:33:43 -0400 Received: from [10.0.0.4] (194-118-34-199.adsl.highway.telekom.at [194.118.34.199]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Gz3Tq3qj2z1LBRv; Mon, 30 Aug 2021 23:33:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Gz3Tq3qj2z1LBRv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1630359215; bh=7jyRTSGHbBC5XKbzBod2OjLa5cqwUbXRe9lbegDyRTQ=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=KVNLPtN8hlP/lfR1oeq5VwvM7GrjdKsFYnbod7owyoIoeN17vr7EAf/pTAHjRL5wz SDQoZ9wXNWk2S5Sf0oavsIpOXvVym1EvxPbfYylJkUD+Yk4tJgXtNbq6ODQqDewlTO DmBpS4VOnVjK8Dec0Ul6irL64ic04dchOf2LaQXk= Message-ID: Subject: Re: bug#39375: [PATCH] gnu: emacs-utils: Port to emacs-next. From: Leo Prikler To: Maxim Cournoyer Date: Mon, 30 Aug 2021 23:33:14 +0200 In-Reply-To: <878s0ilmc9.fsf_-_@gmail.com> References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <874kvan4u6.fsf@gmail.com> <878s0ilmc9.fsf_-_@gmail.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39375 Cc: 39375@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Maxim, Am Montag, den 30.08.2021, 16:16 -0400 schrieb Maxim Cournoyer: > Hi Leo, > > Maxim Cournoyer writes: > > > Hi Leo, > > > > Leo Prikler writes: > > > > > * guix/build/emacs-utils.scm (emacs-batch-eval*): New variable. > > > (emacs-generate-autoloads): Redefine in terms of emacs-batch- > > > eval*. > > > Require autoload (needed with emacs-next). > > > --- > > > guix/build/emacs-utils.scm | 11 ++++++++++- > > > 1 file changed, 10 insertions(+), 1 deletion(-) > > > > > > diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs- > > > utils.scm > > > index 885fd0a217..1462f9d0af 100644 > > > --- a/guix/build/emacs-utils.scm > > > +++ b/guix/build/emacs-utils.scm > > > @@ -23,6 +23,7 @@ > > > #:use-module (guix build utils) > > > #:export (%emacs > > > emacs-batch-eval > > > + emacs-batch-eval* > > > emacs-batch-edit-file > > > emacs-batch-disable-compilation > > > emacs-generate-autoloads > > > @@ -46,6 +47,14 @@ > > > (invoke (%emacs) "--quick" "--batch" > > > (format #f "--eval=~S" expr))) > > > > > > +(define (emacs-batch-eval* . exprs) > > > + "Run Emacs in batch mode, and execute all of the elisp > > > expressions EXPRS." > > > + (apply invoke (%emacs) "--quick" "--batch" > > > + (map > > > + (lambda (expr) > > > + (format #f "--eval=~S" expr)) > > > + exprs))) > > > + > > > (define (emacs-batch-edit-file file expr) > > > "Load FILE in Emacs using batch mode, and execute the elisp > > > code EXPR." > > > (invoke (%emacs) "--quick" "--batch" > > > @@ -64,7 +73,7 @@ > > > (expr `(let ((backup-inhibited t) > > > (generated-autoload-file ,file)) > > > (update-directory-autoloads ,directory)))) > > > - (emacs-batch-eval expr))) > > > + (emacs-batch-eval* '(require 'autoload) expr))) > > > > > > (define* (emacs-byte-compile-directory dir) > > > "Byte compile all files in DIR and its sub-directories." > > > > As I wrote here ;, I think we have > > something > > fundamentally flawed in our Emacs 27 build, which I'd like to have > > addressed at its core. > > Correct me if I'm wrong, but I think we ended up addressing the issue > differently at the time, right? If you confirm that this is no > longer > needed, let's close it! On the top of my head I can't think of any use for multiple --eval lines when you can switch between lexical and dynamic scoping at will. Perhaps in the future we might find one, but if you want to close this bug in the meantime, go ahead. Thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 30 22:44:21 2021 Received: (at 39375-done) by debbugs.gnu.org; 31 Aug 2021 02:44:21 +0000 Received: from localhost ([127.0.0.1]:60782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKtl6-0008TL-Lr for submit@debbugs.gnu.org; Mon, 30 Aug 2021 22:44:20 -0400 Received: from mail-qk1-f174.google.com ([209.85.222.174]:38579) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKtl4-0008T8-Mr for 39375-done@debbugs.gnu.org; Mon, 30 Aug 2021 22:44:19 -0400 Received: by mail-qk1-f174.google.com with SMTP id f22so18049631qkm.5 for <39375-done@debbugs.gnu.org>; Mon, 30 Aug 2021 19:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=JDd2XDQr919YbDyyT1fn2DuFVoXTxCheQ0LfeEjw07w=; b=C1dGLQUeBs05WVwItIPjS+rdMhj4X5wbWVY5w5hpTvcOG7W8wxD2W0E4i5/dmdfJah In/njUC7zMx1Z0bxdAXXoN2i6xfI7cXp+KigShvWOninMOT6/jtbuvyXC0ksm6+JYbwm X1MpdkiErSqw2CJckcgCqlNUtYxuN3aKyRh1YK95aT2YUBxP8dyjh0OKlarK1IVppwjR P90ya+DTn8qDES+31v80tunxWNqSvHAJg13k7YKuv6bBze/rtUT5mdtl1TQyLeZv1lKl 0LNOqhC05WJgwVPOaA5MIsWT9mc9Skoam2/+zEDnyLPWee+rjiNPc7hYlxdmUdqoO1Gn vYrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=JDd2XDQr919YbDyyT1fn2DuFVoXTxCheQ0LfeEjw07w=; b=SnfNZCuHkz72INLOfVEVZxKySXz23V9Q8SuWY0h7c9T+TOAGJc4dOvy93bkDmbpTT6 SwhTnQ2R8Oaimh7H9qAJ5Ah39djWVUwNJVOryRY8IhAW3jo7k3IJZ8cseQ24AYgYN4Ss TbT3CjOuJLvOpcLMKeFuIiSsRAL7mwonSKqzaDc2VM5Opacdti9R7uSfHQPPE8jCW6KE ilba1mZX+xgtUtEUnBN7gMj17n7v4lC2bDOMtrMGsPPNxrnOKDGpgfUXqr6cLWoFq7vG 8nLWYfsd+HqOXPHUpk7ISAz7/ZMhWSCjaPskQ2DB82hjiwiujS6Eyj0NlbCWcgsg0TD0 UH8g== X-Gm-Message-State: AOAM532QYn2Vq/WgZhq9GXBbONE/7qHbYp0Wy44f0IEKKIS4gUxi6iM1 OpZlaSAjnWtnM/XZX8Y0Y4wJbOQae/b8BA== X-Google-Smtp-Source: ABdhPJyAx9GF/3tbCFMkHE5Jldt2hoMzYsk/GrCqkUwI14WgyF6xP37yubxkWuY/79qcxB1fP2IhYw== X-Received: by 2002:ae9:e84a:: with SMTP id a71mr828898qkg.159.1630377852818; Mon, 30 Aug 2021 19:44:12 -0700 (PDT) Received: from hurd (dsl-10-141-212.b2b2c.ca. [72.10.141.212]) by smtp.gmail.com with ESMTPSA id h18sm11777010qke.6.2021.08.30.19.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 19:44:12 -0700 (PDT) From: Maxim Cournoyer To: Leo Prikler Subject: Re: bug#39375: [PATCH] gnu: emacs-utils: Port to emacs-next. References: <20200131200222.23792-1-leo.prikler@student.tugraz.at> <874kvan4u6.fsf@gmail.com> <878s0ilmc9.fsf_-_@gmail.com> Date: Mon, 30 Aug 2021 22:44:11 -0400 In-Reply-To: (Leo Prikler's message of "Mon, 30 Aug 2021 23:33:14 +0200") Message-ID: <87fsuqjptw.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39375-done Cc: 39375-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, Leo Prikler writes: > Hi Maxim, > > Am Montag, den 30.08.2021, 16:16 -0400 schrieb Maxim Cournoyer: >> Hi Leo, >> >> Maxim Cournoyer writes: >> >> > Hi Leo, >> > >> > Leo Prikler writes: >> > >> > > * guix/build/emacs-utils.scm (emacs-batch-eval*): New variable. >> > > (emacs-generate-autoloads): Redefine in terms of emacs-batch- >> > > eval*. >> > > Require autoload (needed with emacs-next). >> > > --- >> > > guix/build/emacs-utils.scm | 11 ++++++++++- >> > > 1 file changed, 10 insertions(+), 1 deletion(-) >> > > >> > > diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs- >> > > utils.scm >> > > index 885fd0a217..1462f9d0af 100644 >> > > --- a/guix/build/emacs-utils.scm >> > > +++ b/guix/build/emacs-utils.scm >> > > @@ -23,6 +23,7 @@ >> > > #:use-module (guix build utils) >> > > #:export (%emacs >> > > emacs-batch-eval >> > > + emacs-batch-eval* >> > > emacs-batch-edit-file >> > > emacs-batch-disable-compilation >> > > emacs-generate-autoloads >> > > @@ -46,6 +47,14 @@ >> > > (invoke (%emacs) "--quick" "--batch" >> > > (format #f "--eval=~S" expr))) >> > > >> > > +(define (emacs-batch-eval* . exprs) >> > > + "Run Emacs in batch mode, and execute all of the elisp >> > > expressions EXPRS." >> > > + (apply invoke (%emacs) "--quick" "--batch" >> > > + (map >> > > + (lambda (expr) >> > > + (format #f "--eval=~S" expr)) >> > > + exprs))) >> > > + >> > > (define (emacs-batch-edit-file file expr) >> > > "Load FILE in Emacs using batch mode, and execute the elisp >> > > code EXPR." >> > > (invoke (%emacs) "--quick" "--batch" >> > > @@ -64,7 +73,7 @@ >> > > (expr `(let ((backup-inhibited t) >> > > (generated-autoload-file ,file)) >> > > (update-directory-autoloads ,directory)))) >> > > - (emacs-batch-eval expr))) >> > > + (emacs-batch-eval* '(require 'autoload) expr))) >> > > >> > > (define* (emacs-byte-compile-directory dir) >> > > "Byte compile all files in DIR and its sub-directories." >> > >> > As I wrote here ;, I think we have >> > something >> > fundamentally flawed in our Emacs 27 build, which I'd like to have >> > addressed at its core. >> >> Correct me if I'm wrong, but I think we ended up addressing the issue >> differently at the time, right? If you confirm that this is no >> longer >> needed, let's close it! > On the top of my head I can't think of any use for multiple --eval > lines when you can switch between lexical and dynamic scoping at will. > Perhaps in the future we might find one, but if you want to close this > bug in the meantime, go ahead. Yeah, the main value this patch was bringing was fixing an error on Emacs 27 that was caused by going to lexical scope even when using --eval (your fix was to require autoload in (emacs-batch-eval* '(require 'autoload) expr)). The fixed that ended up being pushed was this: --8<---------------cut here---------------start------------->8--- (define* (emacs-batch-eval expr #:key dynamic?) "Run Emacs in batch mode, and execute the Elisp code EXPR. If DYNAMIC? is true, evaluate using dynamic scoping." (invoke (%emacs) "--quick" "--batch" (format #f "--eval=(eval '~a ~:[t~;nil~])" (expr->string expr) dynamic?))) --8<---------------cut here---------------end--------------->8--- Which allows requesting dynamic scope. Closing. Thank you! Maxim From unknown Sat Jun 14 08:54:21 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 28 Sep 2021 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator