From unknown Fri Jun 20 07:09:39 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#38619 <38619@debbugs.gnu.org> To: bug#38619 <38619@debbugs.gnu.org> Subject: Status: Byte compilation of Emacs autoloads Reply-To: bug#38619 <38619@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:09:39 +0000 retitle 38619 Byte compilation of Emacs autoloads reassign 38619 guix-patches submitter 38619 Maxim Cournoyer severity 38619 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 14 23:30:48 2019 Received: (at submit) by debbugs.gnu.org; 15 Dec 2019 04:30:48 +0000 Received: from localhost ([127.0.0.1]:35947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igLYO-0008Ib-0l for submit@debbugs.gnu.org; Sat, 14 Dec 2019 23:30:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:49276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1igLYM-0008IU-SU for submit@debbugs.gnu.org; Sat, 14 Dec 2019 23:30:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37349) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igLYK-0004wK-Qg for guix-patches@gnu.org; Sat, 14 Dec 2019 23:30:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, 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 1igLYI-0001BD-S7 for guix-patches@gnu.org; Sat, 14 Dec 2019 23:30:44 -0500 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:32933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1igLYI-0001B0-Fe for guix-patches@gnu.org; Sat, 14 Dec 2019 23:30:42 -0500 Received: by mail-qk1-x735.google.com with SMTP id d71so740256qkc.0 for ; Sat, 14 Dec 2019 20:30:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=8Yr3x52bJCdBIjLXaCg4zLRoMt689llghL+hoPvpsyg=; b=Mqb6nWcWV+Mc1rPw1/zy0cMHZiwem9zrRh4+F7ySCaH3RtEeKxkIlmjuNSC7G4QWFg VWL6TtdRSYujhT1pAKwoP46L05K0J11Tjcq/6NAkIk8Iw4jPtYG0fKpZnzQK6W9TY71/ qewHxsLAyiAB8+/O4x/AhTOXFkSm4xbhZ0QIse79ETOhQgknxL+OhLw1mdz/7PWzlTLW YGU3XrppfGYCyOPlLv10QT/yngXeVa2117QZrLqhgzT4TzQw05lOZdjlkiYxf9al00JV zoHAyJi9XwrOGwZ9NqonpadT09kLBd+EtKc++SPR6PZk45eBGkdLHBD5QrxGJdIcGlTA Rz7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=8Yr3x52bJCdBIjLXaCg4zLRoMt689llghL+hoPvpsyg=; b=aiShlZxwojmKTHlR0lk/qU6wJH4DRUk756qUWa1Sg/2ekroGqUCIZeVmOszw4ruLM3 moU+cs4gppVCtbs4skTJR6nzYZZczcQb0Tkvt8Tfn4+tHnlE840kpCELeWMV0DQAX16v JUzeanorF5zlcwxm1HskFIQYwCNHNrXJKqE+mPQmkj/t3vdt5YuEeRm0Olny473EsWND CN5apdklSFKARb8uasMDBRJMf2mLME9L4W56NNlEzTU/+4mpOHP75QpaMHzt9eSPC6Nn PF68z/mhB4r0HeAAnGAdxW6rgSzk3RLjXtn/s5UuwOfQdQm/U+jZdK4OY9meXOsOpG0q hY+g== X-Gm-Message-State: APjAAAVz4DXmM9Z6OMREfLk4lQfJdDsaHWPH7NCK2aN3n7xspxRsB09m 7EkTmL9al2u4HfBL2x0JHjFbQcNQ X-Google-Smtp-Source: APXvYqwIjxgU5tdK18xTV0r9mCIHtCzDZrGxfDLBcZ23lDfsrcNSOSJggeDDPODMUT/R3eR0eBTPjQ== X-Received: by 2002:a37:a00b:: with SMTP id j11mr21567973qke.268.1576384241278; Sat, 14 Dec 2019 20:30:41 -0800 (PST) Received: from x200 ([75.98.135.194]) by smtp.gmail.com with ESMTPSA id j185sm907930qkc.96.2019.12.14.20.30.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 14 Dec 2019 20:30:40 -0800 (PST) From: Maxim Cournoyer To: guix-patches Subject: Byte compilation of Emacs autoloads Date: Sun, 15 Dec 2019 13:30:36 +0900 Message-ID: <87lfremcr7.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::735 X-Spam-Score: 0.7 (/) 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: -2.3 (--) --=-=-= Content-Type: text/plain Hello, The following adds support for byte compiling the generated autoload files as well as the site-lisp directory of Emacs (the one containing the site-start.el and guix-emacs.el files). The performance gain is roughly 30%, as expected for byte compiled Elisp. The following command was used for benchmarking: --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix environment -v 10 -m ~/100-emacs-packages-manifest.scm -- emacs -Q --batch --eval "(progn (require 'guix-emacs) (message \"%s\" (benchmark-run-compiled 10 (guix-emacs-autoload-packages))))" --8<---------------cut here---------------end--------------->8--- It loads the autoloads of ~100 Emacs packages 10 times (~1000 autoloads files). The manifest file 100-emacs-packages-manifest.scm is attached. --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=100-emacs-packages-manifest.scm Content-Transfer-Encoding: base64 KHNwZWNpZmljYXRpb25zLT5tYW5pZmVzdAogJygiZW1hY3MiCiAgIDs7ImVtYWNzLWRlYWRncmVw IgogICAiZW1hY3MtZGF0ZXRpbWUiCiAgICJlbWFjcy1kYXNoYm9hcmQiCiAgICJlbWFjcy1kYXNo Igo7OyAgICJlbWFjcy1kYXNoLWRvY3MiCiAgICJlbWFjcy1kYXJrcm9vbSIKICAgImVtYWNzLWRh bnRlIgogICAiZW1hY3MtZGFubmVza2pvbGQtdGhlbWUiCiAgICJlbWFjcy1kYWVtb25zIgogICAi ZW1hY3MtZC1tb2RlIgogICAiZW1hY3MtY3liZXJwdW5rLXRoZW1lIgogICAiZW1hY3MtY3RhYmxl IgogICAiZW1hY3MtY3N2LW1vZGUiCiAgICJlbWFjcy1jcnV4IgogICAiZW1hY3MtY291bnNlbC10 cmFtcCIKICAgImVtYWNzLWNvdW5zZWwtcHJvamVjdGlsZSIKICAgImVtYWNzLWNvdW5zZWwtZXRh Z3MiCiAgICJlbWFjcy1jb3Vuc2VsLWRhc2giCiAgICJlbWFjcy1jb25zdGFudHMiCjs7ICAgImVt YWNzLWNvbXBkZWYiCiAgICJlbWFjcy1jb21wYW55IgogICAiZW1hY3MtY29tcGFueS1yZXN0Y2xp ZW50IgogICAiZW1hY3MtY29tcGFueS1xdWlja2hlbHAiCiAgICJlbWFjcy1jb21wYW55LW1hdGgi CiAgICJlbWFjcy1jb21wYW55LWx1YSIKICAgImVtYWNzLWNvbXBhbnktbHNwIgogICAiZW1hY3Mt Y29tcGFueS1qZWRpIgogICAiZW1hY3MtY29tcGFueS1pcm9ueSIKICAgImVtYWNzLWNvbXBhbnkt ZmxvdyIKICAgImVtYWNzLWNvbXBhbnktY2FiYWwiCiAgICJlbWFjcy1jb21wYW55LWF1Y3RleCIK ICAgImVtYWNzLWNvbW1hbmRlciIKICAgImVtYWNzLWNvbHVtbi1tYXJrZXIiCiAgICJlbWFjcy1j bmZvbnRzIgo7OyAgICJlbWFjcy1jbWFrZS1mb250LWxvY2siCiAgIDs7ImVtYWNzLWNsb3NxbCIK ICAgImVtYWNzLWNsb2p1cmUtbW9kZSIKOzsgICAiZW1hY3MtY2wtcHJpbnQiCiAgICJlbWFjcy1j bC1nZW5lcmljIgogICAiZW1hY3MtY2lyY2UiCiAgICJlbWFjcy1jaWRlciIKICAgImVtYWNzLWNk bGF0ZXgiCiAgICJlbWFjcy1jY2xzIgogICA7OyJlbWFjcy1jYWxmdyIgIDticm9rZW4KICAgImVt YWNzLWJ1dHRlcmN1cCIKICAgImVtYWNzLWJ1dGxlciIKICAgImVtYWNzLWJ1aWxkLWZhcm0iCiAg ICJlbWFjcy1idWkiCiAgICJlbWFjcy1idWctaHVudGVyIgogICAiZW1hY3MtYnJvd3NlLWF0LXJl bW90ZSIKICAgImVtYWNzLWJvbmdvIgogICAiZW1hY3MtYmxpbXAiCiAgICJlbWFjcy1iaWJsaW8i CiAgICJlbWFjcy1iZXR0ZXItZGVmYXVsdHMiCiAgICJlbWFjcy1iZW5jaG1hcmstaW5pdCIKICAg ImVtYWNzLWJlZ2luZW5kIgogICAiZW1hY3MtYmJkYiIKICAgImVtYWNzLWJhc2gtY29tcGxldGlv biIKICAgImVtYWNzLWJhc2UxNi10aGVtZSIKICAgImVtYWNzLWF2eSIKICAgImVtYWNzLWF1dG90 aGVtZXIiCiAgICJlbWFjcy1hdXRvLXlhc25pcHBldCIKICAgImVtYWNzLWF1dG8tY29tcGxldGUi CiAgICJlbWFjcy1hdWN0ZXgiCiAgICJlbWFjcy1hdHRyYXAiCiAgICJlbWFjcy1hdG9tLW9uZS1k YXJrLXRoZW1lIgogICAiZW1hY3MtYXN5bmMiCiAgICJlbWFjcy1hc2NpaS1hcnQtdG8tdW5pY29k ZSIKICAgImVtYWNzLWFyZHVpbm8tbW9kZSIKOzsgICAiZW1hY3MtYXBoZWxlaWEiCiAgICJlbWFj cy1hbnp1IgogICAiZW1hY3MtYW5zaSIKOzsgICAiZW1hY3MtYW5uYWxpc3QiCiAgICJlbWFjcy1h bmFwaG9yYSIKICAgImVtYWNzLWFteCIKICAgImVtYWNzLWFtcGxlLXJlZ2V4cHMiCiAgICJlbWFj cy1hbGwtdGhlLWljb25zIgogICAiZW1hY3MtYWxsLXRoZS1pY29ucy1kaXJlZCIKICAgImVtYWNz LWFsZXJ0IgogICAiZW1hY3MtYWxlY3QtdGhlbWVzIgogICAiZW1hY3MtYWh1bmdyeS10aGVtZSIK ICAgImVtYWNzLWFnZ3Jlc3NpdmUtaW5kZW50IgogICAiZW1hY3MtYWciCiAgICJlbWFjcy1hZG9j LW1vZGUiCiAgICJlbWFjcy1hZGQtbm9kZS1tb2R1bGVzLXBhdGgiCiAgICJlbWFjcy1hZGQtaG9v a3MiCiAgICJlbWFjcy1hZGFwdGl2ZS13cmFwIgogICAiZW1hY3MtYWNlLXdpbmRvdyIKICAgImVt YWNzLWFjZS1saW5rIgogICAiZW1hY3MtYWNlLWp1bXAtbW9kZSIKICAgImVtYWNzLWFjYWRlbWlj LXBocmFzZXMiCiAgICJlbWFjcy1hIgogICAiZW1hY3MtMjA0OC1nYW1lIgogICAiZW1hY3MtdHVh cmVnIgogICAiZW1hY3MtbWFnaXQiCiAgICJlbWFjcy13cy1idXRsZXIiCiAgICJlbWFjcy1zdHJp bmctaW5mbGVjdGlvbiIKICAgImVtYWNzLXJlYWxndWQiCiAgICJlbWFjcy1yZWN1dGlscyIKICAg ImVtYWNzLWdyZXAtYS1sb3QiCiAgICJlbWFjcy1kaWZmLWhsIgogICAiZW1hY3MtYWdkYTItbW9k ZSIpKQo= --=-=-= Content-Type: text/plain The above command for Guix before the changes (commit e19a539): --8<---------------cut here---------------start------------->8--- [...] Loading /gnu/store/lj09yx56hgsq9l4ajk5wlxsk4vbrympk-profile/share/emacs/site-lisp/undercover-autoloads.el (source)... Loading /gnu/store/lj09yx56hgsq9l4ajk5wlxsk4vbrympk-profile/share/emacs/site-lisp/with-editor-autoloads.el (source)... Loading /gnu/store/lj09yx56hgsq9l4ajk5wlxsk4vbrympk-profile/share/emacs/site-lisp/ws-butler-autoloads.el (source)... Loading /gnu/store/lj09yx56hgsq9l4ajk5wlxsk4vbrympk-profile/share/emacs/site-lisp/yasnippet-autoloads.el (source)... (9.971024566 159 2.763721703999999) --8<---------------cut here---------------end--------------->8--- After the changes: --8<---------------cut here---------------start------------->8--- Loading /gnu/store/fwji52vg31xmdkc2z5cbjrfza7fxndr5-profile/share/emacs/site-lisp/undercover-autoloads... Loading /gnu/store/fwji52vg31xmdkc2z5cbjrfza7fxndr5-profile/share/emacs/site-lisp/with-editor-autoloads... Loading /gnu/store/fwji52vg31xmdkc2z5cbjrfza7fxndr5-profile/share/emacs/site-lisp/ws-butler-autoloads... Loading /gnu/store/fwji52vg31xmdkc2z5cbjrfza7fxndr5-profile/share/emacs/site-lisp/yasnippet-autoloads... (7.435941036 143 2.406266451999999) --8<---------------cut here---------------end--------------->8--- I think it's neat that all of our Elisp is byte compiled; it's something that can be done without fear on Guix, given that when the Emacs package itself changes, all the Emacs packages are rebuilt. It could also find issues we'd not know existed otherwise, as I found out for the emacs-cl-generic package. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-Byte-compile-the-site-lisp-directory.patch >From a54e9beb22d2d5102e48e26834b19bb2603f50b5 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 5 Dec 2019 13:40:32 +0900 Subject: [PATCH 1/3] gnu: emacs: Byte compile the site-lisp directory. * gnu/packages/emacs.scm (emacs): Use the (gnu build emacs-utils) module. Byte compile the site-lisp directory as part of the 'install-site-start' phase. --- gnu/packages/emacs.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index eba7f88551..fcf966839b 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -119,6 +119,10 @@ `(#:tests? #f ; no check target #:configure-flags (list "--with-modules" "--disable-build-details") + #:modules ((guix build emacs-utils) + ,@%glib-or-gtk-build-system-modules) + #:imported-modules ((guix build emacs-utils) + ,@%glib-or-gtk-build-system-modules) #:phases (modify-phases %standard-phases (add-before 'configure 'fix-/bin/pwd @@ -135,7 +139,8 @@ ;; automatically found. (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (lisp-dir (string-append out "/share/emacs/site-lisp"))) + (lisp-dir (string-append out "/share/emacs/site-lisp")) + (emacs (string-append out "/bin/emacs"))) (copy-file (assoc-ref inputs "guix-emacs.el") (string-append lisp-dir "/guix-emacs.el")) (with-output-to-file (string-append lisp-dir "/site-start.el") @@ -148,6 +153,9 @@ ;; share/emacs/site-lisp union when added to EMACSLOADPATH, ;; which leads to conflicts. (delete-file (string-append lisp-dir "/subdirs.el")) + ;; Byte compile the site-start files. + (parameterize ((%emacs emacs)) + (emacs-byte-compile-directory lisp-dir)) #t)))))) (inputs `(("gnutls" ,gnutls) -- 2.23.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-emacs-build-system-Byte-compile-the-autoload-files.patch >From 8fa11e7d52798494e0ea4d19ae8898bf949a18b8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 6 Dec 2019 15:12:32 +0900 Subject: [PATCH 2/3] emacs-build-system: Byte compile the autoload files. * guix/build/emacs-build-system.scm (enable-autoloads-compilation) (validate-compiled-autoloads): Add procedures. (%standard-phases): Register the new procedures. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-find-autoloads): Remove duplicates in the list of autoload files found. * guix/build/emacs-utils.scm (expr->string): Add procedure. (emacs-batch-eval, emacs-batch-edit-file): Use it. --- gnu/packages/aux-files/emacs/guix-emacs.el | 5 +++-- guix/build/emacs-build-system.scm | 22 ++++++++++++++++++++-- guix/build/emacs-utils.scm | 10 ++++++++-- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-files/emacs/guix-emacs.el index 05fc9709b6..25a87ee52d 100644 --- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -35,8 +35,9 @@ "Return a list of Emacs 'autoloads' files in DIRECTORY. The files in the list do not have extensions (.el, .elc)." ;; `directory-files' doesn't honor group in regexp. - (mapcar #'file-name-sans-extension - (directory-files directory 'full-name guix-emacs-autoloads-regexp))) + (delete-dups (mapcar #'file-name-sans-extension + (directory-files directory 'full-name + guix-emacs-autoloads-regexp)))) ;;;###autoload (defun guix-emacs-autoload-packages () diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm index 09de244993..219310cf08 100644 --- a/guix/build/emacs-build-system.scm +++ b/guix/build/emacs-build-system.scm @@ -225,6 +225,21 @@ parallel. PARALLEL-TESTS? is ignored when using a non-make TEST-COMMAND." (parameterize ((%emacs emacs)) (emacs-generate-autoloads elpa-name site-lisp)))) +(define* (enable-autoloads-compilation #:key outputs #:allow-other-keys) + "Remove the NO-BYTE-COMPILATION local variable embedded in the generated +autoload files." + (let* ((out (assoc-ref outputs "out")) + (autoloads (find-files out "-autoloads.el$"))) + (substitute* autoloads + ((";; no-byte-compile.*") "")) + #t)) + +(define* (validate-compiled-autoloads #:key outputs #:allow-other-keys) + "Verify whether the byte compiled autoloads load fine." + (let* ((out (assoc-ref outputs "out")) + (autoloads (find-files out "-autoloads.elc$"))) + (emacs-batch-eval (format #f "(mapc #'load '~s)" autoloads)))) + (define (emacs-package? name) "Check if NAME correspond to the name of an Emacs package." (string-prefix? "emacs-" name)) @@ -253,10 +268,13 @@ second hyphen. This corresponds to 'name-version' as used in ELPA packages." (replace 'check check) (replace 'install install) (add-after 'install 'make-autoloads make-autoloads) - (add-after 'make-autoloads 'patch-el-files patch-el-files) + (add-after 'make-autoloads 'enable-autoloads-compilation + enable-autoloads-compilation) + (add-after 'enable-autoloads-compilation 'patch-el-files patch-el-files) ;; The .el files are byte compiled directly in the store. (add-after 'patch-el-files 'build build) - (add-after 'build 'move-doc move-doc))) + (add-after 'build 'validate-compiled-autoloads validate-compiled-autoloads) + (add-after 'validate-compiled-autoloads 'move-doc move-doc))) (define* (emacs-build #:key inputs (phases %standard-phases) #:allow-other-keys #:rest args) diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm index fdacd30dd6..59467d632e 100644 --- a/guix/build/emacs-utils.scm +++ b/guix/build/emacs-utils.scm @@ -39,16 +39,22 @@ ;; The `emacs' command. (make-parameter "emacs")) +(define (expr->string expr) + "Converts EXPR, an expression, into a string." + (if (string? expr) + expr + (format #f "~s" expr))) + (define (emacs-batch-eval expr) "Run Emacs in batch mode, and execute the elisp code EXPR." (invoke (%emacs) "--quick" "--batch" - (format #f "--eval=~S" expr))) + (string-append "--eval=" (expr->string expr)))) (define (emacs-batch-edit-file file expr) "Load FILE in Emacs using batch mode, and execute the elisp code EXPR." (invoke (%emacs) "--quick" "--batch" (string-append "--visit=" file) - (format #f "--eval=~S" expr))) + (string-append "--eval=" (expr->string expr)))) (define (emacs-generate-autoloads name directory) "Generate autoloads for Emacs package NAME placed in DIRECTORY." -- 2.23.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-emacs-cl-generic-Disable-byte-compilation-of-its.patch >From c3581a39268a24550fe6d0f2c3f1b630c2d6a5fd Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 7 Dec 2019 02:47:25 +0900 Subject: [PATCH 3/3] gnu: emacs-cl-generic: Disable byte compilation of its autoload file. *gnu/packages/emacs-xyz.scm (emacs-cl-generic)[phases] {enable-autoloads-compilation}: Delete. --- gnu/packages/emacs-xyz.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2b8c143d4a..5fa78030b8 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -11862,6 +11862,10 @@ match and total match information in the mode-line in various search modes.") (base32 "0vb338bhjpsnrf60qgxny4z5rjrnifahnrv9axd4shay89d894zq")))) (build-system emacs-build-system) + ;; Byte compilation of the autoload file fails. + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'enable-autoloads-compilation)))) (home-page "https://elpa.gnu.org/packages/seq.html") (synopsis "Forward @code{cl-generic} compatibility for Emacs before version 25") -- 2.23.0 --=-=-= Content-Type: text/plain Maxim --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 05:15:37 2020 Received: (at 38619) by debbugs.gnu.org; 27 Feb 2020 10:15:37 +0000 Received: from localhost ([127.0.0.1]:58701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7GCf-0004iZ-4l for submit@debbugs.gnu.org; Thu, 27 Feb 2020 05:15:37 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:50519) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7GCd-0004iK-Hg for 38619@debbugs.gnu.org; Thu, 27 Feb 2020 05:15:36 -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 DE349C0010; Thu, 27 Feb 2020 10:15:27 +0000 (UTC) From: Pierre Neidhardt To: Maxim Cournoyer Subject: Re: [bug#38619] Byte compilation of Emacs autoloads References: <87lfremcr7.fsf@gmail.com> Date: Thu, 27 Feb 2020 11:15:27 +0100 In-Reply-To: <87lfremcr7.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 15 Dec 2019 13:30:36 +0900") Message-ID: <87tv3c72v4.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: This is super cool! 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.183.198 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: 38619 Cc: 38619@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: This is super cool! 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.183.198 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 This is super cool! Anything blocking this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Xlr8ACgkQm9z0l6S7 zH8pqQgAg/rbC1U/E4gHO4JCNAtMEGxuSzkdXF39Sdy6Wag6vB0bK6zlexE5c/7w URhwnjT1v4BdPCWboRuwx9v3eJTI443LaVt4AicMvYvin1VrH6uCtM+zsPWwNIe1 QQv+lgT433V+1nL8D7Rbxu7/g+4N0xE4MIzSGPH4vhuVTXNPLnizzpCntLrwQmF8 JpGUDI8PwgQQ4HJgL8xvcaAO5alIktl13myeULXM+hTKag3PGPyQwYeQGCuHYmq6 cFRF+DEV3whBgdC3p85aTjReVEAAraTHu4tC4O3qpu7QCwrUCMuxYUZfeo/qfjUr FJyEBDGxtNbLJqHTY4yrrncelm2C2g== =3Ays -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 09:39:51 2020 Received: (at 38619) by debbugs.gnu.org; 27 Feb 2020 14:39:51 +0000 Received: from localhost ([127.0.0.1]:58899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7KKN-0005aH-De for submit@debbugs.gnu.org; Thu, 27 Feb 2020 09:39:51 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:37368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7KKL-0005Zx-15 for 38619@debbugs.gnu.org; Thu, 27 Feb 2020 09:39:50 -0500 Received: by mail-qt1-f181.google.com with SMTP id j34so2418700qtk.4 for <38619@debbugs.gnu.org>; Thu, 27 Feb 2020 06:39: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=f6/MYCqWCNvg09sBUO5YrLezYRKHKwnpGeKXplkXmyU=; b=BYraLHv1Q12sdJTQDZ6pd3cFeKYzuzkEOKk4WoREOwYwVvukZEhJQfKN385ar1aOKG TxEsuZRKF1xfMlwD+8OIaGJmlfhUPtg0lDTpm8GKdH8Muc7PdkYMEimvm/M+I7eUHBVQ Aa/wfAtGYCYShgBAoC9degz/uMpTHamRmghj94iiV79cb0jLlBdtn3TSbenmIN9lwcSZ BC+S/2MH3ueayhVakV/GkGV5R3kNfqbltWJu7ig4Bw/oa6DHBwxK12vgm1rxpilUfTgz yOEXwA3WlAFRCADc93YmBwk93LlStxXK0e8kbGjnZX1YwwG7IHPwit6UROXyu6UkLHNg ygtw== 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=f6/MYCqWCNvg09sBUO5YrLezYRKHKwnpGeKXplkXmyU=; b=F3lYePffXJXbVcxUyMJrKHkMpEbpRsXCHwdlkInTA8A1POsOPwbsvFatg5b+BkUEvd bwwb7eUIloGkGLDW99S+fIYSoHXnE1tgQQzO00SyJgAJ5IZi1s6dtl5gQuAqsAFfIZDA RpNNzXbGPQDXWtHsHR478E7TwaULUhw+h772D09z6tGbqlC0JZN9+1QM+rD5I8fpRNz2 CeXNPLHjPU+OdxrvSRzReaK4Qi72sy8IfIgjAEMXHB+f+P1LESWOjwGfVzEeE8Wlwd1D MAIZddRGwuQinB7uEtqynCla362inXLqf1seQYHIIrba1gj7RGfSoB6tE4c99ngm4oBO QS5w== X-Gm-Message-State: APjAAAWd+IKf8uBzo7HfRnmO1IDR1kWhORYgtGOuIPjdHtqeaVTH1H9Y 2s+FCCwFqfphnwCgX6wbk0E8lrGy X-Google-Smtp-Source: APXvYqzPn3qas8lqGrhk/++HLERJhiRwpl+9QHKw4+mX2/UCWlTp6XX7Dq43UJdH9xSR48yZG3bsug== X-Received: by 2002:ac8:7773:: with SMTP id h19mr5655120qtu.144.1582814382512; Thu, 27 Feb 2020 06:39:42 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id g185sm3182140qkd.16.2020.02.27.06.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 06:39:42 -0800 (PST) From: Maxim Cournoyer To: Pierre Neidhardt Subject: Re: [bug#38619] Byte compilation of Emacs autoloads References: <87lfremcr7.fsf@gmail.com> <87tv3c72v4.fsf@ambrevar.xyz> Date: Thu, 27 Feb 2020 09:39:41 -0500 In-Reply-To: <87tv3c72v4.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 27 Feb 2020 11:15:27 +0100") Message-ID: <871rqgccwi.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: 2.0 (++) 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: Pierre Neidhardt writes: > This is super cool! > Anything blocking this? Testing? :-) Content analysis details: (2.0 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.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -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.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.181 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.181 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 38619 Cc: 38619@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 (+) Pierre Neidhardt writes: > This is super cool! > Anything blocking this? Testing? :-) Maxim From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 27 16:54:04 2020 Received: (at 38619) by debbugs.gnu.org; 27 Feb 2020 21:54:04 +0000 Received: from localhost ([127.0.0.1]:60393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7R6Z-00044R-Bk for submit@debbugs.gnu.org; Thu, 27 Feb 2020 16:54:04 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:39378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7R6V-00043l-VW for 38619@debbugs.gnu.org; Thu, 27 Feb 2020 16:54:01 -0500 Received: by mail-qk1-f196.google.com with SMTP id e16so1052428qkl.6 for <38619@debbugs.gnu.org>; Thu, 27 Feb 2020 13:53:59 -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=++07P5BTjaceCAOzOoj4tj1QJIvjdqJ52IBYyijeEwM=; b=W6qGXh5XDNWyTUC6lSxS+14VtcsZitI62GaX4urT+4gKzB6W3u6NJ/ajbjHUnJin5m yJbSDbpXrDExhm8g7gzCtxDIh+XhUvtAeEML9j7hHFJbcFcaUjEF7O/ik15HmHBj73X5 QwUZIZ2dP5CF4K1G2fqTW04q4b2I+Ap7A1q13LWINJh4ChrOl4CjZ8RC3kJ/dBYBbs9G xjscNKRkBuK3MCeKvU1kpTdlomQe4mQJfZOpmlHvQGSQud82WSrxqY++E2KVg+sw9BLH YWjOUPHvv13hqh1q4Jyc4uD4oCY7mi7eeelGRQNwK+QKpEJaP6CPC/CHCOCKfY9PyT8a P3cQ== 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=++07P5BTjaceCAOzOoj4tj1QJIvjdqJ52IBYyijeEwM=; b=r6IC7w8OO8nEdT3oazjwHSGN+mi9XjBbQAfS7ZUA5Zr78zhH8I6/Y3iMPt6CXbkOAy pHPDqJvM+axlZpXgWUU4ulH4t0CHX9u5GpMJHqW/BMABccdGnF4y+32/xj8BNqzn3vyX 7KSJLHHp4oDzE3YWgXse5UdMCv4iQ0pXUL1Z1c4CqneZEb/OocByCzc1Ze47y9lO8YEf mSullhDyjYDANCzJz22le5d0/f+CIrsDU7dwSHSVrE62oc88RUskYTV8QdTmiL9D0YGe /0/gNeFyVhgFzJXRr1/d9PIRSeyO5wnTymOb6kKy3EzPC9Jv+P1Adk49NTnnHLPoVjlC FC+g== X-Gm-Message-State: APjAAAWXF3n2eGSqpegVDCK9mys1JLPEqjWvX0dyCYcICD3uvStyCwbc sCp2a0bUyYPRqK4helXcMvyBqZRx X-Google-Smtp-Source: APXvYqyDA1fWK/vHgMr4e1Fs/nGQa7DSiVQp+8/08C/rrDwxcRRoI5boDL8PNv9TIQSU5VaMBGZ2dg== X-Received: by 2002:a05:620a:12d8:: with SMTP id e24mr1737437qkl.149.1582840434126; Thu, 27 Feb 2020 13:53:54 -0800 (PST) Received: from raisin ([2607:fad8:4:6:235e:8579:8464:aacc]) by smtp.gmail.com with ESMTPSA id d7sm991756qkg.62.2020.02.27.13.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 13:53:53 -0800 (PST) From: Maxim Cournoyer To: Pierre Neidhardt Subject: Re: [bug#38619] Byte compilation of Emacs autoloads References: <87lfremcr7.fsf@gmail.com> <87tv3c72v4.fsf@ambrevar.xyz> Date: Thu, 27 Feb 2020 16:53:52 -0500 In-Reply-To: <87tv3c72v4.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 27 Feb 2020 11:15:27 +0100") Message-ID: <87h7zbn1cf.fsf@gmail.com> 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: 2.0 (++) 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: Hello Pierre, Pierre Neidhardt writes: I've now tested this change with the extensive manifest (attached). Content analysis details: (2.0 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: gnu.org] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.222.196 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -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.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.222.196 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 38619 Cc: 38619@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 (+) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello Pierre, Pierre Neidhardt writes: I've now tested this change with the extensive manifest (attached). I've built two profiles, like this: (before change) ./pre-inst-env guix package -m emacs-pkg.txt -p /tmp/emacs-ref (after change) ./pre-inst-env guix package -m emacs-pkg.txt -p /tmp/emacs-byte-compiled Then proceeded to benchmark them like: --8<---------------cut here---------------start------------->8--- env -i sh -c "source /tmp/emacs-ref/etc/profile && time emacs --batch --eval '()'" --8<---------------cut here---------------end--------------->8--- Which returned: --8<---------------cut here---------------start------------->8--- Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/treepy-autoloads.el (source)... Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/ts-autoloads.el (source)... Loading /gnu/store/ipfaivbqjxfnda970w558vpihd84lqwi-profile/share/emacs/site-lisp/tuareg-autoloads.el (source)... Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") Searching for program: No such file or directory, git real 0m0.406s user 0m0.361s sys 0m0.044s --8<---------------cut here---------------end--------------->8--- Now with the patches here: --8<---------------cut here---------------start------------->8--- Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/treepy-autoloads... Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/ts-autoloads... Loading /gnu/store/l09fascj5xjhbgi3nzc1bhrprdy44y9g-profile/share/emacs/site-lisp/tuareg-autoloads.el (source)... Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") Searching for program: No such file or directory, git real 0m0.287s user 0m0.251s sys 0m0.036s --8<---------------cut here---------------end--------------->8--- That's a decent speedup :-) I'll push this to master shortly. Maxim --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=emacs-pkg.txt Content-Description: emacs packages manifest (specifications->manifest '("emacs" "emacs-wget" "emacs-w3m" "emacs-markup-faces" "emacs-guix" "emacs-doom-themes" "emacs-ztree" "emacs-zoutline" "emacs-zotxt" "emacs-zones" "emacs-znc" "emacs-zerodark-theme" "emacs-zenburn-theme" "emacs-youtube-dl" "emacs-yasnippet" "emacs-yasnippet-snippets" "emacs-yaml-mode" "emacs-xtest" "emacs-xterm-color" "emacs-xr" "emacs-xpm" "emacs-xmlgen" "emacs-xml-rpc" "emacs-xelb" "emacs-wttrin" "emacs-ws-butler" "emacs-writeroom" "emacs-writegood-mode" "emacs-wordnut" "emacs-wordgen" "emacs-with-editor" "emacs-windower" "emacs-window-layout" "emacs-whitespace-cleanup-mode" "emacs-which-key" "emacs-wgrep" "emacs-websocket" "emacs-webfeeder" "emacs-web-server" "emacs-web-mode" "emacs-web-beautify" "emacs-wc-mode" "emacs-vterm" "emacs-visual-regexp" "emacs-visual-fill-column" "emacs-vimrc-mode" "emacs-vdiff" "emacs-vdiff-magit" "emacs-validate" "emacs-use-package" "emacs-unpackaged-el" "emacs-unkillable-scratch" "emacs-unidecode" "emacs-unfill" "emacs-undohist-el" "emacs-undo-tree" "emacs-undo-propose-el" "emacs-undercover" "emacs-typo" "emacs-typescript-mode" "emacs-ts" "emacs-treepy" "emacs-treemacs" "emacs-treemacs-extra" "emacs-tree-mode" "emacs-transpose-frame" "emacs-transmission" "emacs-transient" "emacs-tramp-auto-auth" "emacs-tracking" "emacs-tldr" "emacs-tiny" "emacs-tide" "emacs-test-simple" "emacs-terraform-mode" "emacs-telega" "emacs-tco-el" "emacs-taskrunner" "emacs-tao-theme" "emacs-tagedit" "emacs-tablist" "emacs-systemd-mode" "emacs-synosaurus" "emacs-symon" "emacs-symbol-overlay" "emacs-sx" "emacs-switch-window" "emacs-switch-buffer-functions" "emacs-suggest" "emacs-sudo-edit" "emacs-stumpwm-mode" "emacs-stripe-buffer" "emacs-string-inflection" "emacs-stream" "emacs-strace-mode" "emacs-stickyfunc-enhance" "emacs-ssh-config-mode" "emacs-ssh-agency" "emacs-sr-speedbar" "emacs-spinner" "emacs-sparql-mode" "emacs-spark" "emacs-spaceline" "emacs-spacegray-theme" "emacs-sourcemap" "emacs-solarized-theme" "emacs-solaire-mode" "emacs-so-long" "emacs-sml-mode" "emacs-smex" "emacs-smartparens" "emacs-smart-mode-line" "emacs-sly" "emacs-sly-quicklisp" "emacs-sly-package-inferred" "emacs-sly-named-readtables" "emacs-sly-macrostep" "emacs-sly-asdf" "emacs-slime" "emacs-slime-repl-ansi-color" "emacs-slime-company" "emacs-slack" "emacs-skewer-mode" "emacs-skeletor" "emacs-simple-mpc" "emacs-simple-httpd" "emacs-shut-up" "emacs-shroud" "emacs-shrink-path" "emacs-shift-number" "emacs-shell-switcher" "emacs-shackle" "emacs-sesman" "emacs-seq" "emacs-semantic-refactor" "emacs-scroll-on-drag" "emacs-scribble-mode" "emacs-scratch-el" "emacs-scheme-complete" "emacs-scel" "emacs-s" "emacs-rust-mode" "emacs-rudel" "emacs-rsw-elisp" "emacs-rspec" "emacs-rpm-spec-mode" "emacs-rotate-text" "emacs-robot-mode" "emacs-robe" "emacs-rjsx-mode" "emacs-rich-minority" "emacs-rfcview" "emacs-restclient" "emacs-restart-emacs" "emacs-request" "emacs-repo" "emacs-repl-toggle" "emacs-relint" "emacs-reformatter" "emacs-refactor" "emacs-redshank" "emacs-recent-addresses" "emacs-realgud" "emacs-rainbow-mode" "emacs-rainbow-identifiers" "emacs-rainbow-delimiters" "emacs-rainbow-blocks" "emacs-racket-mode" "emacs-queue" "emacs-quasi-monochrome" "emacs-pyvenv" "emacs-python-environment" "emacs-pyim" "emacs-pyim-basedict" "emacs-puppet-mode" "emacs-punpun-theme" "emacs-pulseaudio-control" "emacs-pubmed" "emacs-psession" "emacs-prop-menu" "emacs-projectile" "emacs-prodigy-el" "emacs-pretty-mode" "emacs-prettier" "emacs-prescient" "emacs-powerline" "emacs-posframe" "emacs-pos-tip" "emacs-popup" "emacs-polymode" "emacs-polymode-org" "emacs-polymode-ansible" "emacs-poet-theme" "emacs-pkg-info" "emacs-pinentry" "emacs-picpocket" "emacs-php-mode" "emacs-phi-search" "emacs-phi-search-mc" "emacs-pg" "emacs-pfuture" "emacs-perspective" "emacs-peg" "emacs-peep-dired" "emacs-pdf-tools" "emacs-pcre2el" "emacs-password-store" "emacs-pass" "emacs-parseedn" "emacs-parseclj" "emacs-parsebib" "emacs-parinfer-mode" "emacs-parent-mode" "emacs-paren-face" "emacs-paredit" "emacs-pandoc-mode" "emacs-page-break-lines" "emacs-package-lint" "emacs-ox-twbs" "emacs-ox-pandoc" "emacs-ox-hugo" "emacs-ox-epub" "emacs-ov" "emacs-outshine" "emacs-outorg" "emacs-origami-el" "emacs-orgit" "emacs-orgalist" "emacs-org" "emacs-org2web" "emacs-org-web-tools" "emacs-org-trello" "emacs-org-tree-slide" "emacs-org-tanglesync" "emacs-org-super-agenda" "emacs-org-sidebar" "emacs-org-rich-yank" "emacs-org-reveal" "emacs-org-ref" "emacs-org-redmine" "emacs-org-recent-headings" "emacs-org-re-reveal" "emacs-org-ql" "emacs-org-present" "emacs-org-pomodoro" "emacs-org-now" "emacs-org-noter" "emacs-org-mind-map" "emacs-org-make-toc" "emacs-org-jira" "emacs-org-emms" "emacs-org-edit-latex" "emacs-org-download" "emacs-org-contrib" "emacs-org-caldav" "emacs-org-bullets" "emacs-org-brain" "emacs-org-auto-expand" "emacs-openwith" "emacs-on-screen" "emacs-olivetti" "emacs-ob-restclient" "emacs-ob-ipython" "emacs-oauth2" "emacs-nswbuff" "emacs-npm-mode" "emacs-nov-el" "emacs-noflet" "emacs-nodejs-repl" "emacs-no-littering" "emacs-nnreddit" "emacs-nix-mode" "emacs-nhexl-mode" "emacs-nginx-mode" "emacs-neotree" "emacs-navi-mode" "emacs-names" "emacs-mwim" "emacs-mustache" "emacs-multiple-cursors" "emacs-multi-term" "emacs-mu4e-patch" "emacs-mu4e-jump-to-list" "emacs-mu4e-conversation" "emacs-mu4e-alert" "emacs-mpdel" "emacs-move-text" "emacs-monroe" "emacs-monky" "emacs-moe-theme-el" "emacs-modus-themes" "emacs-mocker" "emacs-mmm-mode" "emacs-mkmcc-gnuplot-mode" "emacs-mixed-pitch" "emacs-mit-scheme-doc" "emacs-minitest" "emacs-minions" "emacs-miniedit" "emacs-minibuffer-line" "emacs-metal-mercury-mode" "emacs-message-x" "emacs-memoize" "emacs-md4rd" "emacs-mc-extras" "emacs-mbsync" "emacs-matrix-client" "emacs-math-symbol-lists" "emacs-matcha" "emacs-mastodon" "emacs-markdown-preview-mode" "emacs-markdown-mode" "emacs-makey" "emacs-make-it-so" "emacs-magit" "emacs-magit-todos" "emacs-magit-svn" "emacs-magit-popup" "emacs-magit-org-todos-el" "emacs-magit-gerrit" "emacs-macrostep" "emacs-m-buffer-el" "emacs-lua-mode" "emacs-lsp-ui" "emacs-lsp-mode" "emacs-lsp-lua-emmy" "emacs-lsp-java" "emacs-lsp-ivy" "emacs-lpy" "emacs-lorem-ipsum" "emacs-loop" "emacs-logview" "emacs-log4e" "emacs-loc-changes" "emacs-load-relative" "emacs-litable" "emacs-list-utils" "emacs-lispyville" "emacs-lispy" "emacs-lisp-extra-font-lock" "emacs-linum-relative" "emacs-link-hint" "emacs-lice-el" "emacs-libmpdel" "emacs-let-alist" "emacs-leetcode" "emacs-leaf" "emacs-lcr" "emacs-lacarte" "emacs-kv" "emacs-know-your-http-well" "emacs-keyfreq" "emacs-key-chord" "emacs-julia-mode" "emacs-json-snatcher" "emacs-json-reformat" "emacs-json-mode" "emacs-js2-refactor-el" "emacs-js2-mode" "emacs-jinja2-mode" "emacs-jedi" "emacs-janpath-evil-numbers" "emacs-ivy" "emacs-ivy-yasnippet" "emacs-ivy-xref" "emacs-ivy-taskrunner" "emacs-ivy-rich" "emacs-ivy-pass" "emacs-ivy-omni-org" "emacs-ivy-clipmenu" "emacs-itail" "emacs-isearch-prop" "emacs-isearch-dabbrev" "emacs-isearch+" "emacs-irony-mode" "emacs-irony-mode-server" "emacs-irony-eldoc" "emacs-irfc" "emacs-interactive-align" "emacs-info-plus" "emacs-inf-ruby" "emacs-image+" "emacs-iedit" "emacs-idris-mode" "emacs-ido-vertical-mode" "emacs-ido-ubiquitous" "emacs-ido-completing-read+" "emacs-idle-highlight" "emacs-ibuffer-projectile" "emacs-hydra" "emacs-hy-mode" "emacs-htmlize" "emacs-ht" "emacs-howm" "emacs-hl-todo" "emacs-highlight-symbol" "emacs-highlight-stages" "emacs-highlight-sexp" "emacs-highlight-numbers" "emacs-highlight-indentation" "emacs-highlight-escape-sequences" "emacs-highlight-defined" "emacs-hierarchy" "emacs-hide-mode-line" "emacs-hercules" "emacs-helpful" "emacs-helm" "emacs-helm-wikipedia" "emacs-helm-taskrunner" "emacs-helm-system-packages" "emacs-helm-swoop" "emacs-helm-sly" "emacs-helm-slime" "emacs-helm-shell-history" "emacs-helm-projectile" "emacs-helm-pass" "emacs-helm-org" "emacs-helm-org-rifle" "emacs-helm-org-contacts" "emacs-helm-notmuch" "emacs-helm-mu" "emacs-helm-mode-manager" "emacs-helm-make" "emacs-helm-lsp" "emacs-helm-ls-git" "emacs-helm-linux-disks" "emacs-helm-lacarte" "emacs-helm-gtags" "emacs-helm-flycheck" "emacs-helm-fish-completion" "emacs-helm-firefox" "emacs-helm-exwm" "emacs-helm-eww" "emacs-helm-emms" "emacs-helm-descbinds" "emacs-helm-dash" "emacs-helm-company" "emacs-helm-clojuredocs" "emacs-helm-cider" "emacs-helm-c-yasnippet" "emacs-helm-bibtex" "emacs-helm-ag" "emacs-hcl-mode" "emacs-haskell-mode" "emacs-handle" "emacs-hackernews" "emacs-gtk-look" "emacs-gruvbox-theme" "emacs-groovy-modes" "emacs-grep-context" "emacs-grep-a-lot" "emacs-graphviz-dot-mode" "emacs-graphql" "emacs-goto-chg" "emacs-google-translate" "emacs-google-maps" "emacs-google-c-style" "emacs-god-mode" "emacs-go-mode" "emacs-gnus-harvest" "emacs-gnus-alias" "emacs-gnuplot" "emacs-gnugo" "emacs-gntp" "emacs-gitpatch" "emacs-gitlab-ci-mode" "emacs-github-review" "emacs-git-timemachine" "emacs-git-modes" "emacs-git-messenger" "emacs-git-link" "emacs-git-gutter" "emacs-git-gutter-fringe" "emacs-git-auto-commit-mode" "emacs-git-annex" "emacs-gif-screencast" "emacs-ghub" "emacs-ggtags" "emacs-general" "emacs-geiser" "emacs-fullframe" "emacs-frog-menu" "emacs-frog-jump-buffer" "emacs-fringe-helper" "emacs-frecency" "emacs-frame-purpose" "emacs-forge" "emacs-fold-dwim" "emacs-focus" "emacs-flyspell-correct" "emacs-flycheck" "emacs-flycheck-irony" "emacs-flycheck-haskell" ;"emacs-flycheck-grammalecte" ;build fails "emacs-flycheck-flow" "emacs-flycheck-cpplint" "emacs-flx" "emacs-flow-minor-mode" "emacs-fish-mode" "emacs-fish-completion" "emacs-find-file-in-project" "emacs-finalize" "emacs-fill-column-indicator" "emacs-ffap-rfc-space" "emacs-fancy-narrow" "emacs-faceup" "emacs-f" "emacs-f3" "emacs-exwm" "emacs-exwm-x" "emacs-exwm-edit" "emacs-extend-smime" "emacs-extempore-mode" "emacs-expand-region" "emacs-exec-path-from-shell" "emacs-eww-lnum" "emacs-ewmctrl" "emacs-evil" "emacs-evil-visualstar" "emacs-evil-visual-replace" "emacs-evil-traces" "emacs-evil-textobj-syntax" "emacs-evil-text-object-python" "emacs-evil-surround" "emacs-evil-smartparens" "emacs-evil-replace-with-register" "emacs-evil-quickscope" "emacs-evil-owl" "emacs-evil-org" "emacs-evil-numbers" "emacs-evil-nerd-commenter" "emacs-evil-multiedit" "emacs-evil-mc" "emacs-evil-matchit" "emacs-evil-markdown" "emacs-evil-magit" "emacs-evil-lion" "emacs-evil-indent-plus" "emacs-evil-expat" "emacs-evil-exchange" "emacs-evil-commentary" "emacs-evil-collection" "emacs-evil-cleverparens" "emacs-evil-args" "emacs-evil-anzu" "emacs-eval-sexp-fu-el" "emacs-esxml" "emacs-esup" "emacs-espuds" "emacs-eshell-z" "emacs-eshell-up" "emacs-eshell-toggle" "emacs-eshell-prompt-extras" "emacs-eshell-did-you-mean" "emacs-eshell-bookmark" "emacs-esh-help" "emacs-esh-autosuggest" "emacs-es-mode" "emacs-ert-runner" "emacs-ert-expectations" "emacs-ert-async" "emacs-eros" "emacs-ergoemacs-mode" "emacs-erc-scrolltoplace" "emacs-erc-image" "emacs-erc-hl-nicks" "emacs-equake" "emacs-eprime" "emacs-epl" "emacs-epkg" "emacs-epc" "emacs-engine-mode" "emacs-emojify" "emacs-emms" "emacs-emms-mode-line-cycle" "emacs-emmet-mode" "emacs-emamux" "emacs-emacsql" "emacs-elpy" "emacs-elpher" "emacs-elmacro" "emacs-elixir-mode" "emacs-elisp-slime-nav" "emacs-elisp-refs" "emacs-elisp-docstring-mode" "emacs-elisp-demos" "emacs-elfeed" "emacs-elfeed-org" "emacs-el2org" "emacs-el-x" "emacs-el-search" "emacs-el-patch" "emacs-el-mock" "emacs-eimp" "emacs-edn" "emacs-editorconfig" "emacs-edit-server" "emacs-edit-indirect" "emacs-ediprolog" ; "emacs-edbi" ;build fails ; "emacs-edbi-sqlite" ;(depends on emacs-edbi) "emacs-ebuild-mode" "emacs-ebib" "emacs-ebdb" "emacs-easy-kill" "emacs-eacl" "emacs-e2wm" "emacs-dumb-jump" "emacs-dts-mode" "emacs-dtrt-indent" "emacs-dream-theme" "emacs-download-region" "emacs-dotenv-mode" "emacs-doom-modeline" "emacs-dockerfile-mode" "emacs-docker" "emacs-docker-tramp" "emacs-docker-compose-mode" "emacs-dmenu" "emacs-djvu" "emacs-disk-usage" "emacs-discover-my-major" "emacs-disable-mouse" "emacs-direnv" "emacs-dired-toggle-sudo" "emacs-dired-sidebar" "emacs-dired-rsync" "emacs-dired-hacks" "emacs-dired-du" "emacs-dimmer" "emacs-diminish" "emacs-diff-hl" "emacs-desktop-environment" "emacs-delight" "emacs-deft" "emacs-deferred" "emacs-default-text-scale" "emacs-default-encrypt" "emacs-dedicated" "emacs-debpaste" "emacs-debbugs" "emacs-deadgrep" "emacs-datetime" "emacs-dashboard" "emacs-dash" "emacs-dash-docs" "emacs-darkroom" "emacs-dante" "emacs-danneskjold-theme" "emacs-daemons" "emacs-d-mode" "emacs-cyberpunk-theme" "emacs-ctable" "emacs-csv-mode" "emacs-crux" "emacs-counsel-tramp" "emacs-counsel-projectile" "emacs-counsel-etags" "emacs-counsel-dash" "emacs-constants" "emacs-compdef" "emacs-company" "emacs-company-restclient" "emacs-company-quickhelp" "emacs-company-posframe" "emacs-company-math" "emacs-company-lua" "emacs-company-lsp" "emacs-company-jedi" "emacs-company-irony" "emacs-company-flow" "emacs-company-ebdb" "emacs-company-cabal" "emacs-company-auctex" "emacs-commander" "emacs-column-marker" "emacs-cnfonts" "emacs-cmake-font-lock" "emacs-closql" "emacs-clojure-mode" "emacs-cl-print" "emacs-cl-generic" "emacs-circe" "emacs-cider" "emacs-cdlatex" "emacs-ccls" "emacs-calfw" "emacs-buttercup" "emacs-butler" "emacs-build-farm" "emacs-bui" "emacs-bug-hunter" "emacs-browse-at-remote" "emacs-boxquote" "emacs-bongo" "emacs-blimp" "emacs-blackout" "emacs-biblio" "emacs-better-defaults" "emacs-benchmark-init" "emacs-beginend" "emacs-bbdb" "emacs-bash-completion" "emacs-base16-theme" "emacs-avy" "emacs-autothemer" "emacs-auto-yasnippet" "emacs-auto-complete" "emacs-auth-source-pass" "emacs-auctex" "emacs-attrap" "emacs-atom-one-dark-theme" "emacs-async" "emacs-ascii-art-to-unicode" "emacs-arduino-mode" "emacs-apheleia" "emacs-anzu" "emacs-ansi" "emacs-annalist" "emacs-anaphora" "emacs-amx" "emacs-ample-theme" "emacs-ample-regexps" "emacs-almost-mono-themes" "emacs-all-the-icons" "emacs-all-the-icons-dired" "emacs-alert" "emacs-alect-themes" "emacs-ahungry-theme" "emacs-aggressive-indent" "emacs-ag" "emacs-adoc-mode" "emacs-add-node-modules-path" "emacs-add-hooks" "emacs-adaptive-wrap" "emacs-ace-window" "emacs-ace-link" "emacs-ace-jump-mode" "emacs-academic-phrases" "emacs-a" "emacs-2048-game" "emacs-tuareg" "emacs-recutils" "emacs-protobuf-mode" "emacs-mew" "emacs-ledger-mode" "emacs-flycheck-dedukti" "emacs-ess" "emacs-erlang" "emacs-dedukti-mode" "emacs-cmake-mode" "emacs-clang-rename" "emacs-clang-format" "emacs-ansible-doc" "emacs-agda2-mode")) --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-Byte-compile-the-site-lisp-directory.patch Content-Transfer-Encoding: quoted-printable From=207ee79cdaa04a2531adf64cdac38c565774e24da5 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 5 Dec 2019 13:40:32 +0900 Subject: [PATCH 1/7] gnu: emacs: Byte compile the site-lisp directory. * gnu/packages/emacs.scm (emacs): Use the (gnu build emacs-utils) module. Byte compile the site-lisp directory as part of the 'install-site-start' phase. (emacs-minimal, emacs-xwidgets, emacs-no-x, emacs-no-x-toolkit): Reset modu= les to those of the gnu-build-system. =2D-- gnu/packages/emacs.scm | 43 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index b26c928e87..18c8549cb9 100644 =2D-- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -129,6 +129,11 @@ `(#:tests? #f ; no check target #:configure-flags (list "--with-modules" "--disable-build-details") + #:modules ((guix build emacs-utils) + (guix build glib-or-gtk-build-system) + (guix build utils)) + #:imported-modules ((guix build emacs-utils) + ,@%glib-or-gtk-build-system-modules) #:phases (modify-phases %standard-phases (add-before 'configure 'fix-/bin/pwd @@ -145,7 +150,8 @@ ;; automatically found. (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) =2D (lisp-dir (string-append out "/share/emacs/site-lisp= "))) + (lisp-dir (string-append out "/share/emacs/site-lisp")) + (emacs (string-append out "/bin/emacs"))) (copy-file (assoc-ref inputs "guix-emacs.el") (string-append lisp-dir "/guix-emacs.el")) (with-output-to-file (string-append lisp-dir "/site-start.e= l") @@ -158,6 +164,9 @@ ;; share/emacs/site-lisp union when added to EMACSLOADPATH, ;; which leads to conflicts. (delete-file (string-append lisp-dir "/subdirs.el")) + ;; Byte compile the site-start files. + (parameterize ((%emacs emacs)) + (emacs-byte-compile-directory lisp-dir)) #t)))))) (inputs `(("gnutls" ,gnutls) @@ -326,6 +335,12 @@ languages.") (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments emacs) + ((#:modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:imported-modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) ((#:phases phases) `(modify-phases ,phases (delete 'install-site-start))) @@ -345,6 +360,12 @@ editor (with xwidgets support)") (build-system gnu-build-system) (arguments (substitute-keyword-arguments (package-arguments emacs) + ((#:modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:imported-modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) ((#:configure-flags flags ''()) `(cons "--with-xwidgets" ,flags)))) (inputs @@ -358,6 +379,14 @@ editor (with xwidgets support)") (synopsis "The extensible, customizable, self-documenting text editor (console only)") (build-system gnu-build-system) + (arguments + (substitute-keyword-arguments (package-arguments emacs) + ((#:modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:imported-modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)))) (inputs (fold alist-delete (package-inputs emacs) '("libx11" "gtk+" "libxft" "libtiff" "giflib" "libjpeg" @@ -376,9 +405,15 @@ editor (without an X toolkit)" ) (inputs (append `(("inotify-tools" ,inotify-tools)) (alist-delete "gtk+" (package-inputs emacs)))) (arguments =2D `(,@(substitute-keyword-arguments (package-arguments emacs) =2D ((#:configure-flags cf) =2D `(cons "--with-x-toolkit=3Dno" ,cf))))))) + (substitute-keyword-arguments (package-arguments emacs) + ((#:modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:imported-modules _) + `((guix build emacs-utils) + ,@%gnu-build-system-modules)) + ((#:configure-flags cf) + `(cons "--with-x-toolkit=3Dno" ,cf)))))) =20 (define-public guile-emacs (let ((commit "41120e0f595b16387eebfbf731fff70481de1b4b") =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-emacs-build-system-Byte-compile-the-autoload-files.patch Content-Transfer-Encoding: quoted-printable From=2017c0eb0499196600ceb516ad67b010c281e1b188 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 6 Dec 2019 15:12:32 +0900 Subject: [PATCH 2/7] emacs-build-system: Byte compile the autoload files. * guix/build/emacs-build-system.scm (enable-autoloads-compilation) (validate-compiled-autoloads): Add procedures. (%standard-phases): Register the new procedures. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-find-autoloads): Remove duplicates in the list of autoload files found. * guix/build/emacs-utils.scm (expr->string): Add procedure. (emacs-batch-eval, emacs-batch-edit-file): Use it. =2D-- gnu/packages/aux-files/emacs/guix-emacs.el | 5 +++-- guix/build/emacs-build-system.scm | 22 ++++++++++++++++++++-- guix/build/emacs-utils.scm | 10 ++++++++-- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/gnu/packages/aux-files/emacs/guix-emacs.el b/gnu/packages/aux-= files/emacs/guix-emacs.el index 05fc9709b6..25a87ee52d 100644 =2D-- a/gnu/packages/aux-files/emacs/guix-emacs.el +++ b/gnu/packages/aux-files/emacs/guix-emacs.el @@ -35,8 +35,9 @@ "Return a list of Emacs 'autoloads' files in DIRECTORY. The files in the list do not have extensions (.el, .elc)." ;; `directory-files' doesn't honor group in regexp. =2D (mapcar #'file-name-sans-extension =2D (directory-files directory 'full-name guix-emacs-autoloads-reg= exp))) + (delete-dups (mapcar #'file-name-sans-extension + (directory-files directory 'full-name + guix-emacs-autoloads-regexp)))) =20 ;;;###autoload (defun guix-emacs-autoload-packages () diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-sys= tem.scm index 09de244993..219310cf08 100644 =2D-- a/guix/build/emacs-build-system.scm +++ b/guix/build/emacs-build-system.scm @@ -225,6 +225,21 @@ parallel. PARALLEL-TESTS? is ignored when using a non-= make TEST-COMMAND." (parameterize ((%emacs emacs)) (emacs-generate-autoloads elpa-name site-lisp)))) =20 +(define* (enable-autoloads-compilation #:key outputs #:allow-other-keys) + "Remove the NO-BYTE-COMPILATION local variable embedded in the generated +autoload files." + (let* ((out (assoc-ref outputs "out")) + (autoloads (find-files out "-autoloads.el$"))) + (substitute* autoloads + ((";; no-byte-compile.*") "")) + #t)) + +(define* (validate-compiled-autoloads #:key outputs #:allow-other-keys) + "Verify whether the byte compiled autoloads load fine." + (let* ((out (assoc-ref outputs "out")) + (autoloads (find-files out "-autoloads.elc$"))) + (emacs-batch-eval (format #f "(mapc #'load '~s)" autoloads)))) + (define (emacs-package? name) "Check if NAME correspond to the name of an Emacs package." (string-prefix? "emacs-" name)) @@ -253,10 +268,13 @@ second hyphen. This corresponds to 'name-version' as= used in ELPA packages." (replace 'check check) (replace 'install install) (add-after 'install 'make-autoloads make-autoloads) =2D (add-after 'make-autoloads 'patch-el-files patch-el-files) + (add-after 'make-autoloads 'enable-autoloads-compilation + enable-autoloads-compilation) + (add-after 'enable-autoloads-compilation 'patch-el-files patch-el-file= s) ;; The .el files are byte compiled directly in the store. (add-after 'patch-el-files 'build build) =2D (add-after 'build 'move-doc move-doc))) + (add-after 'build 'validate-compiled-autoloads validate-compiled-autol= oads) + (add-after 'validate-compiled-autoloads 'move-doc move-doc))) =20 (define* (emacs-build #:key inputs (phases %standard-phases) #:allow-other-keys #:rest args) diff --git a/guix/build/emacs-utils.scm b/guix/build/emacs-utils.scm index 885fd0a217..ab64e3714c 100644 =2D-- a/guix/build/emacs-utils.scm +++ b/guix/build/emacs-utils.scm @@ -41,16 +41,22 @@ ;; The `emacs' command. (make-parameter "emacs")) =20 +(define (expr->string expr) + "Converts EXPR, an expression, into a string." + (if (string? expr) + expr + (format #f "~s" expr))) + (define (emacs-batch-eval expr) "Run Emacs in batch mode, and execute the elisp code EXPR." (invoke (%emacs) "--quick" "--batch" =2D (format #f "--eval=3D~S" expr))) + (string-append "--eval=3D" (expr->string expr)))) =20 (define (emacs-batch-edit-file file expr) "Load FILE in Emacs using batch mode, and execute the elisp code EXPR." (invoke (%emacs) "--quick" "--batch" (string-append "--visit=3D" file) =2D (format #f "--eval=3D~S" expr))) + (string-append "--eval=3D" (expr->string expr)))) =20 (define (emacs-batch-disable-compilation file) (emacs-batch-edit-file file =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-emacs-Fix-comment.patch Content-Transfer-Encoding: quoted-printable From=208f4044b385252b914feff6584ac683e16935006e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 27 Feb 2020 14:20:58 -0500 Subject: [PATCH 3/7] gnu: emacs: Fix comment. * gnu/packages/emacs.scm (emacs): Fix comment. =2D-- gnu/packages/emacs.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 18c8549cb9..fd9c7fa875 100644 =2D-- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -144,10 +144,8 @@ "pwd")) #t)) (add-after 'install 'install-site-start =2D ;; Use 'guix-emacs' in "site-start.el". This way, Emacs pack= ages =2D ;; provided by Guix and installed in =2D ;; ~/.guix-profile/share/emacs/site-lisp/guix.d/PACKAGE-VERSI= ON are =2D ;; automatically found. + ;; Use 'guix-emacs' in "site-start.el", which is used autoload = the + ;; Elisp packages found in EMACSLOADPATH. (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (lisp-dir (string-append out "/share/emacs/site-lisp")) =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-emacs-cl-generic-Disable-byte-compilation-of-its.patch Content-Transfer-Encoding: quoted-printable From=209a91d7018ea0d2749f88014c7dd0d1a4bfb99fba Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 7 Dec 2019 02:47:25 +0900 Subject: [PATCH 4/7] gnu: emacs-cl-generic: Disable byte compilation of its autoload file. *gnu/packages/emacs-xyz.scm (emacs-cl-generic)[phases] {enable-autoloads-compilation}: Delete. =2D-- gnu/packages/emacs-xyz.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 76b9746f69..7235ef611a 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -12066,6 +12066,10 @@ match and total match information in the mode-line= in various search modes.") (base32 "0vb338bhjpsnrf60qgxny4z5rjrnifahnrv9axd4shay89d894zq")))) (build-system emacs-build-system) + ;; Byte compilation of the autoload file fails. + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'enable-autoloads-compilation)))) (home-page "https://elpa.gnu.org/packages/seq.html") (synopsis "Forward @code{cl-generic} compatibility for Emacs before version 25") =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-emacs-sly-macrostep-Remove-the-enable-autoloads-.patch Content-Transfer-Encoding: quoted-printable From=20070c392b7af00b054ee4fe86548d621fbba8d1bb Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 27 Feb 2020 16:00:58 -0500 Subject: [PATCH 5/7] gnu: emacs-sly-macrostep: Remove the enable-autoloads-compilation phase. * gnu/packages/emacs-xyz.scm (emacs-sly-macrostep)[phases] {enable-autoloads-compilation}: Remove. =2D-- gnu/packages/emacs-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 7235ef611a..9bb636f75e 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7567,7 +7567,8 @@ file.") #:phases ;; The package provides autoloads. (modify-phases %standard-phases =2D (delete 'make-autoloads)))) + (delete 'make-autoloads) + (delete 'enable-autoloads-compilation)))) (synopsis "Expand Common Lisp macros inside source files with SLY") (description "@command{sly-macrostep} is a SLY contrib for expanding CL macros r= ight =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0006-gnu-emacs-sly-quicklisp-Remove-the-enable-autoloads-.patch Content-Transfer-Encoding: quoted-printable From=202e6c80424943ce8a14fe901dfc5db4afeda64006 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 27 Feb 2020 16:03:33 -0500 Subject: [PATCH 6/7] gnu: emacs-sly-quicklisp: Remove the enable-autoloads-compilation phase. * gnu/packages/emacs-xyz.scm (emacs-sly-quicklisp)[phases] {enable-autoloads-compilation}: Remove. =2D-- gnu/packages/emacs-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9bb636f75e..faf3a55ba1 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7476,7 +7476,8 @@ xref, etc...) are still available, but with better in= tegration.") #:phases ;; The package provides autoloads. (modify-phases %standard-phases =2D (delete 'make-autoloads)))) + (delete 'make-autoloads) + (delete 'enable-autoloads-compilation)))) (synopsis "Quicklisp support for SLY") (description "@command{sly-quicklisp} is an external contrib for SLY that provid= es a =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0007-gnu-emacs-sly-named-readtables-Disable-byte-compilat.patch Content-Transfer-Encoding: quoted-printable From=208e6dfcf318d3f88ae131b737483c1b3bd0139f2e Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 27 Feb 2020 16:07:06 -0500 Subject: [PATCH 7/7] gnu: emacs-sly-named-readtables: Disable byte compilat= ion of its autoload file. *gnu/packages/emacs-xyz.scm (emacs-sly-named-readtables)[phases] {enable-autoloads-compilation}: Delete. =2D-- gnu/packages/emacs-xyz.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index faf3a55ba1..ca8392c896 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -7534,7 +7534,10 @@ additional support for working with ASDF projects.") (propagated-inputs `(("emacs-sly" ,emacs-sly))) (arguments =2D '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include))) + '(#:include (cons* "\\.lisp$" "\\.asd$" %default-include) + #:phases (modify-phases %standard-phases + ;; Byte compilation of the autoload file fails. + (delete 'enable-autoloads-compilation)))) (synopsis "Named-readtables support for SLY") (description "@command{sly-named-readtables} is an external contrib for SLY that =2D-=20 2.25.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAl5YOnAACgkQEmDkZILm NWIajg//fN0ZTUka1VeCuP/7jVGLSz+omem4hwvevmbpsAUzVLX3LajW/dNaWyXF bkG1MPC32LJBiBJJ4z4q9MvN1Oaimb5I1+qPV5TqcaMoAtwuPeq4IKdHqnK7zdC/ eRs7NiiEL3Oe+GcfF4UJrnaGKcKwrL7H9jy2gH95eXYMx6uB59jU9hUfn8I/hYna FiydS12HkD2u1kEIVTT8uL5TVy0qo3I23jOdABlZR/mArnXMcYGRKUqdDkMbsqyk 6A7EY4XSVuZyS33ZcqiZf8I54142vhdAaOJZ5k3KV422EDBX29sQ0GVo3jlT+Fiw XDQqDM5PidoNqEAbVhRXwx/c18JzJIaj/HFSustiQdIINuEO5O4+p971iQh2YAV1 MoQfr8IoT85jInUQBZhsAoLT+DjD4vyix8xEkk4Oq52QeDVRoz5zuT3o0C3b/F7W CYlLBY7nE/Jc8L6tQ97MMClgHwTcQD50rWcKMCehWdlgdT6xheeTr/H63Zbe7bfm xYPUDtdIU2Q6USJay4YSGdCF4JKGahPHvueJpU7G3dTXkZVNMM8g/UK64vFD5VMZ ygO7o46Ccl+6a+n3mC3Lj+jM/AjyGiuORVnDHIfl7Holu6O2NcIxleIQ2qbbcOlJ 0B5tKMP9YY4hMCataEJjOwE4ztN2TyFnT0RHr/thlNZetUMJuN8= =d8sa -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 02:03:53 2020 Received: (at 38619) by debbugs.gnu.org; 28 Feb 2020 07:03:53 +0000 Received: from localhost ([127.0.0.1]:60566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7Zgf-0003sU-9K for submit@debbugs.gnu.org; Fri, 28 Feb 2020 02:03:53 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:29329) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7Zgc-0003sC-P2 for 38619@debbugs.gnu.org; Fri, 28 Feb 2020 02:03:51 -0500 X-Originating-IP: 92.169.129.147 Received: from mimimi (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id CA212240003; Fri, 28 Feb 2020 07:03:42 +0000 (UTC) From: Pierre Neidhardt To: Maxim Cournoyer Subject: Re: [bug#38619] Byte compilation of Emacs autoloads In-Reply-To: <87h7zbn1cf.fsf@gmail.com> References: <87lfremcr7.fsf@gmail.com> <87tv3c72v4.fsf@ambrevar.xyz> <87h7zbn1cf.fsf@gmail.com> Date: Fri, 28 Feb 2020 08:03:42 +0100 Message-ID: <878skni46p.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: Hi Maxim, Maxim Cournoyer writes: > Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") > Searching for program: No such file or directory, git 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.193 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] -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.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 38619 Cc: 38619@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: Hi Maxim, Maxim Cournoyer writes: > Eager macro-expansion failure: (file-missing "Searching for program" "No such file or directory" "git") > Searching for program: No such file or directory, git 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.193 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] -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.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Maxim, Maxim Cournoyer writes: > Eager macro-expansion failure: (file-missing "Searching for program" "No = such file or directory" "git") > Searching for program: No such file or directory, git What's up with that? Is this an problem in one of our packages? > ; "emacs-edbi" ;build fails > ; "emacs-edbi-sqlite" ;(depends on emacs-edbi) I might have packaged these some time back. I'll see if I can fix them. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Yu04ACgkQm9z0l6S7 zH/0GAf/awoE1FRf/0frekzGJb7CH+HPNQfLnmzvXwXbXtPA8yuDa6w01UEteIRo 1gpjK9kZ8kfGlthHjqwp6TNmikXg+juZ2syQNcleSyTK41QT8U9rx4zvAI+6eh/v ZHIUkMLYhmDKfQro4T8L/mOOI8ORdiiXffPA/T0AnDxe6zi8lJbvuPXyiIDYDRLl +Is4x52eEy0x88Av4sF1XOjn3ZoaMHMSAwIIPU7Q3SoOMPzM0nazfimgqnv8uy83 mcrlilyUr+mBvd2Nvj3P/72/rz76GiLrS4/tP3qH4o/j+/9xdIXaD/NGuslRJ9X4 hLQhcgS8n3fTsrUgoqDTnt0RrDq2/Q== =XtZ8 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 08:26:31 2020 Received: (at 38619-done) by debbugs.gnu.org; 28 Feb 2020 13:26:31 +0000 Received: from localhost ([127.0.0.1]:60793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7fex-00044K-Dj for submit@debbugs.gnu.org; Fri, 28 Feb 2020 08:26:31 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:39230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7fev-000446-SW for 38619-done@debbugs.gnu.org; Fri, 28 Feb 2020 08:26:30 -0500 Received: by mail-qt1-f196.google.com with SMTP id p34so1968383qtb.6 for <38619-done@debbugs.gnu.org>; Fri, 28 Feb 2020 05:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:in-reply-to:references:mime-version:content-transfer-encoding :subject:to:cc:from:message-id; bh=/Tj1jY/Mv2sMG0nEh2CRBez1oqisVEl0t+4nItv84hE=; b=U6BQFbrSv5yyv56R2aiiFc02txPe902IBaqQmdVbZJMRL3UydlHuoQStuF0PNH5SgX I13+WEu3rHHW7jJQrZH/jEWVMRgrIKzGnQlUvNQG5BZY3yIfc7hfxfmNbM0gEcFh+Kx6 p4uuhmOz++/fVcAzCfiyOObsi+St9RZBhGCg9+65BwaEhuBrFKU7F8Utw/56yc7Dnb87 ttcAsbcv+RJ0ahMSNATeoLZEzDjatYawIUrQLaJZ/DsbDLLj32sziWI5CqK9OTqG6QrQ h9XQfVwFDVvilEQVi8yXzZ8pa03MBX7gLSLyf0vDfHuOm2B+QHOxMiiT4BFvaRdO5wj9 a2JA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:from:message-id; bh=/Tj1jY/Mv2sMG0nEh2CRBez1oqisVEl0t+4nItv84hE=; b=FVd9/kw7Cfyp6V5HcRAMLfw3/0H1QyjnASLBc8DSiMcnhJ+CJ9s/JHwmMIt0lirvYk 8yNr9OWSz84PcYlPjAnn1O4jpRcf5ncpA7Kv+YLYyajPAsNwJn5pPsTZInM45nTUSskY TXtBkRhUrM0eFgH+vUU4aUld3Oo+CS4mBQnI9lLxZQt0c2jK8jN2w3b5sN3Q5feLkcPo cOOocKXrmujJcZh0OKJxnuIgqyuRC6/rvJLxBQBgpdF6esOm/UzlheXL6qEvYPmeef1A lo6FILx1OC/J6DQKKTlUz07K/ibrf6zZeDHsu7t+zy9WYmAnl9sABwV4wKBfOoeFhzBO cFdg== X-Gm-Message-State: APjAAAUez9h6RIyUtP9qOVlhuz/9Z98d9JiLya+iB3hvPAqo45YUAMCe Wie50QdNd/MNZX+RfdIF6IE= X-Google-Smtp-Source: APXvYqyJMNAoauDEDm8NLOdYYaWGIWoo+i9FRYzXqT+1zqMBNtV83WtYBYlWIEZCkLk5+I0FclA/vA== X-Received: by 2002:ac8:4e94:: with SMTP id 20mr4112359qtp.335.1582896384412; Fri, 28 Feb 2020 05:26:24 -0800 (PST) Received: from [100.95.227.56] ([204.48.95.56]) by smtp.gmail.com with ESMTPSA id t55sm5267647qte.24.2020.02.28.05.26.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Feb 2020 05:26:23 -0800 (PST) Date: Fri, 28 Feb 2020 13:25:50 +0000 In-Reply-To: <878skni46p.fsf@ambrevar.xyz> References: <87lfremcr7.fsf@gmail.com> <87tv3c72v4.fsf@ambrevar.xyz> <87h7zbn1cf.fsf@gmail.com> <878skni46p.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bug#38619] Byte compilation of Emacs autoloads To: Pierre Neidhardt From: Maxim Cournoyer Message-ID: <30B4A18F-B3E9-4C73-B4D3-C90BB9475601@gmail.com> X-Spam-Score: 2.0 (++) 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: Hi Pierre! On February 28, 2020 7:03:42 AM UTC, Pierre Neidhardt wrote: >Hi Maxim, > >Maxim Cournoyer writes: > >> Eager macro-expansion failure: (file-missing "Searching for program" >"No such file or direc [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (maxim.cournoyer[at]gmail.com) -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.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.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.160.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.160.196 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 38619-done Cc: 38619-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 Pierre! On February 28, 2020 7:03:42 AM UTC, Pierre Neidhardt wrote: >Hi Maxim, > >Maxim Cournoyer writes: > >> Eager macro-expansion failure: (file-missing "Searching for program" >"No such file or directory" "git") >> Searching for program: No such file or directory, git > >What's up with that? Is this an problem in one of our packages? It looks like evaluating the emacs-tuareg autoload file causes the message= to be emitted=2E I'd look this way=2E >> ; "emacs-edbi" ;build fails >> ; "emacs-edbi-sqlite" ;(depends on emacs-edbi) If I'm not mistaken, Efraim promptly fixed those already, after I reported= it=2E I'm closing this bug, since the changes have been merged to master=2E Enjoy! Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 28 08:38:12 2020 Received: (at 38619-done) by debbugs.gnu.org; 28 Feb 2020 13:38:12 +0000 Received: from localhost ([127.0.0.1]:60800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7fqG-0004Ox-I1 for submit@debbugs.gnu.org; Fri, 28 Feb 2020 08:38:12 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7fqE-0004Oj-Jp for 38619-done@debbugs.gnu.org; Fri, 28 Feb 2020 08:38:11 -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 A3A77C0015; Fri, 28 Feb 2020 13:38:03 +0000 (UTC) From: Pierre Neidhardt To: Maxim Cournoyer Subject: Re: [bug#38619] Byte compilation of Emacs autoloads In-Reply-To: <30B4A18F-B3E9-4C73-B4D3-C90BB9475601@gmail.com> References: <87lfremcr7.fsf@gmail.com> <87tv3c72v4.fsf@ambrevar.xyz> <87h7zbn1cf.fsf@gmail.com> <878skni46p.fsf@ambrevar.xyz> <30B4A18F-B3E9-4C73-B4D3-C90BB9475601@gmail.com> Date: Fri, 28 Feb 2020 14:38:02 +0100 Message-ID: <87sgiu4yth.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: Thanks a lot! -- 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: 38619-done Cc: 38619-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.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: Thanks a lot! -- 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 Thanks a lot! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5ZF7oACgkQm9z0l6S7 zH/k2wf/YsIYaKsZR/mJx6Bc68nFcz8qdtcTyc46Sfzv5PrMIHSdXwsCYW8dRUVo ZxoYcmxUePjo6fyixPbhaVoMHbzv/Samiwiq+UFMg15kA/8aeG7+WFsnMcAEz/1r 6D6gRtyrTKQ/MF9sE10JOvX+7+YPk4UfjjK09CJcTlcluxeCcVh0p7nydGBI2By1 E3O5qP+y3jVgN/5l+W/24CISsVIQmD2yimSzRjwqSJSBXm8Hj2mxMEH5+uMRqucQ mrRGniN2SopE2frwxDpluIg8dMpyk9h9UZ5gQPRWx9zxq9kLkEGQ1xHyHL3cJwjj 8Byi18726tHbw+yFaBLCSfVon9K5Sw== =y4ed -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:09:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 28 Mar 2020 11:24:05 +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