From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51476) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8wbO-0006pg-Ug for guix-patches@gnu.org; Mon, 02 Mar 2020 20:44:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8wbM-0003IR-5e for guix-patches@gnu.org; Mon, 02 Mar 2020 20:44:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60789) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8wbJ-0003Hv-R3 for guix-patches@gnu.org; Mon, 02 Mar 2020 20:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j8wbJ-0002EX-P6 for guix-patches@gnu.org; Mon, 02 Mar 2020 20:44:01 -0500 Subject: [bug#39877] [PATCH] Cleanup remaining guix.d/ Emacs packages, update doc Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:51413) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j8waY-0006hk-L6 for guix-patches@gnu.org; Mon, 02 Mar 2020 20:43:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j8waW-00035H-2O for guix-patches@gnu.org; Mon, 02 Mar 2020 20:43:14 -0500 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:34500) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j8waV-000355-NV for guix-patches@gnu.org; Mon, 02 Mar 2020 20:43:12 -0500 Received: by mail-qk1-x72d.google.com with SMTP id 11so1924278qkd.1 for ; Mon, 02 Mar 2020 17:43:11 -0800 (PST) Received: from apteryx (dsl-10-148-69.b2b2c.ca. [72.10.148.69]) by smtp.gmail.com with ESMTPSA id f5sm1509265qtq.72.2020.03.02.17.43.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Mar 2020 17:43:09 -0800 (PST) From: Maxim Cournoyer Date: Mon, 02 Mar 2020 20:43:04 -0500 Message-ID: <87h7z6kyc7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39877@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Hello, The attached patches correct the last Emacs packages that were still using the previous guix.d/ installation prefix, as well as the documentation. Thank you! Maxim --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-emacs-magit-Remove-obsolete-make-flags.patch Content-Transfer-Encoding: quoted-printable From=203a9677dd027fac4403c318a722d9dbe383722e26 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 28 Feb 2020 23:42:59 -0500 Subject: [PATCH 1/8] gnu: emacs-magit: Remove obsolete make flags. * gnu/packages/emacs-xyz.scm (emacs-magit): Remove make flags that were jad= is required to reference external Elisp libraries. These are now made availab= le through EMACSLOADPATH. =2D-- gnu/packages/emacs-xyz.scm | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a9b36dd882..2ddf3c0645 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -291,7 +291,7 @@ on stdout instead of using a socket as the Emacsclient = does.") (let ((commit "c761d28d49e5238037512b898db0ec9b40d85770")) (package (name "emacs-magit") =2D (version (git-version "2.90.1" "2" commit)) + (version (git-version "2.90.1" "3" commit)) (source (origin (method git-fetch) (uri (git-reference @@ -331,24 +331,10 @@ on stdout instead of using a socket as the Emacsclien= t does.") (guix build emacs-utils)) #:test-target "test" #:tests? #f ; tests are not included in the rel= ease =2D #:make-flags (list (string-append "PREFIX=3D" %output) ;; Don't put .el files in a sub-directory. =2D (string-append "lispdir=3D" %output "/share/emacs/site-li= sp") =2D (string-append "DASH_DIR=3D" =2D (assoc-ref %build-inputs "dash") =2D "/share/emacs/site-lisp/guix.d/dash-" =2D ,(package-version emacs-dash)) =2D (string-append "WITH_EDITOR_DIR=3D" =2D (assoc-ref %build-inputs "with-editor") =2D "/share/emacs/site-lisp/guix.d/with-editor= -" =2D ,(package-version emacs-with-editor)) =2D (string-append "TRANSIENT_DIR=3D" =2D (assoc-ref %build-inputs "transient") =2D "/share/emacs/site-lisp/guix.d/transient-" =2D ,(package-version emacs-transient))) =2D + (string-append "lispdir=3D" %output "/share/emacs/site-lisp= ")) #:phases (modify-phases %standard-phases (add-after 'unpack 'patch =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-emacs-magit-svn-Use-the-emacs-build-system.patch Content-Transfer-Encoding: quoted-printable From=201c03eca0b46a91cfe2944772cad9bb0c046de442 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 29 Feb 2020 09:34:40 -0500 Subject: [PATCH 2/8] gnu: emacs-magit-svn: Use the emacs-build-system. * gnu/packages/emacs-xyz.scm (emacs-magit-svn)[build-system]: Use the emacs-build-system. [arguments]: Remove. =2D-- gnu/packages/emacs-xyz.scm | 41 ++------------------------------------ 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2ddf3c0645..781259ee7e 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -396,7 +396,7 @@ operations.") (let ((commit "9e33ceee32f665db59909e1c00a667ccdd04178f")) (package (name "emacs-magit-svn") =2D (version (git-version "2.2.1" "1" commit)) + (version (git-version "2.2.1" "2" commit)) (source (origin (method git-fetch) (uri (git-reference @@ -406,48 +406,11 @@ operations.") (sha256 (base32 "1mlqz8dh6jy5rv72lgkxv253dgh73fmbaidskicypapvbl3lr6xy"))= )) =2D (build-system trivial-build-system) =2D (native-inputs `(("emacs" ,emacs-minimal))) + (build-system emacs-build-system) (propagated-inputs `(("dash" ,emacs-dash) ("with-editor" ,emacs-with-editor) ("magit" ,emacs-magit) ("transient" ,emacs-transient))) =2D (arguments =2D `(#:modules ((guix build utils) =2D (guix build emacs-utils)) =2D =2D #:builder =2D (begin =2D (use-modules (guix build utils) =2D (guix build emacs-utils)) =2D =2D (let ((emacs (string-append (assoc-ref %build-inputs "emac= s") =2D "/bin/emacs")) =2D (magit (string-append (assoc-ref %build-inputs "magi= t") =2D "/share/emacs/site-lisp")) =2D (transient (string-append (assoc-ref %build-inputs "tra= nsient") =2D "/share/emacs/site-lisp/guix.= d/transient-" =2D ,(package-version emacs-trans= ient))) =2D (dash (string-append (assoc-ref %build-inputs "dash= ") =2D "/share/emacs/site-lisp/guix.d= /dash-" =2D ,(package-version emacs-dash))) =2D (with-editor (string-append (assoc-ref %build-inputs "w= ith-editor") =2D "/share/emacs/site-lisp/gui= x.d/with-editor-" =2D ,(package-version emacs-wit= h-editor))) =2D (source (assoc-ref %build-inputs "source")) =2D (lisp-dir (string-append %output "/share/emacs/site-lis= p"))) =2D =2D (install-file (string-append source "/magit-svn.el") =2D lisp-dir) =2D =2D (with-directory-excursion lisp-dir =2D (parameterize ((%emacs emacs)) =2D (emacs-generate-autoloads ,name lisp-dir) =2D (setenv "EMACSLOADPATH" =2D (string-append ":" magit ":" transient =2D ":" dash ":" with-editor)) =2D (emacs-batch-eval '(byte-compile-file "magit-svn.el")))) =2D #t)))) (home-page "https://github.com/magit/magit-svn") (synopsis "Git-SVN extension to Magit") (description =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-emacs-guix-Remove-unnecessary-configure-flags.patch Content-Transfer-Encoding: quoted-printable From=20afd77eb4dbefa9ef5988de1e63c04def2404cd8c Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 29 Feb 2020 09:48:55 -0500 Subject: [PATCH 3/8] gnu: emacs-guix: Remove unnecessary configure flags. * gnu/packages/emacs-xyz.scm (emacs-guix)[arguments]: Remove. =2D-- gnu/packages/emacs-xyz.scm | 41 -------------------------------------- 1 file changed, 41 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 781259ee7e..dd54bbeaca 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2094,47 +2094,6 @@ type, for example: packages, buffers, files, etc.") (base32 "0yz64c0z4ygi2k4af18k4r1ncgys18jb8icywkp2g5pgmpn5l7ps")))) (build-system gnu-build-system) =2D (arguments =2D `(#:configure-flags =2D (let ((guix (assoc-ref %build-inputs "guix")) =2D (gcrypt (assoc-ref %build-inputs "guile-gcrypt")) =2D (geiser (assoc-ref %build-inputs "geiser")) =2D (dash (assoc-ref %build-inputs "dash")) =2D (bui (assoc-ref %build-inputs "bui")) =2D (magit-popup (assoc-ref %build-inputs "magit-popup")) =2D (edit-indirect (assoc-ref %build-inputs "edit-indirect")) =2D (site-lisp "/share/emacs/site-lisp") =2D (site-scm "/share/guile/site") =2D (site-go "/lib/guile") =2D (guile-dir (lambda (dir) =2D (car (find-files dir =2D (lambda (file stat) =2D (string-prefix? =2D "2." (basename file))) =2D #:directories? #t))))) =2D (list (string-append "--with-guix-site-dir=3D" =2D (guile-dir (string-append guix site-scm))) =2D (string-append "--with-guix-site-ccache-dir=3D" =2D (guile-dir (string-append guix site-go)) =2D "/site-ccache") =2D (string-append "--with-guile-gcrypt-site-dir=3D" =2D (guile-dir (string-append gcrypt site-scm)= )) =2D (string-append "--with-guile-gcrypt-site-ccache-dir=3D" =2D (guile-dir (string-append gcrypt site-go)) =2D "/site-ccache") =2D (string-append "--with-geiser-lispdir=3D" geiser site-lis= p) =2D (string-append "--with-dash-lispdir=3D" =2D dash site-lisp "/guix.d/dash-" =2D ,(package-version emacs-dash)) =2D (string-append "--with-bui-lispdir=3D" =2D bui site-lisp "/guix.d/bui-" =2D ,(package-version emacs-bui)) =2D (string-append "--with-editindirect-lispdir=3D" =2D edit-indirect site-lisp "/guix.d/edit-indi= rect-" =2D ,(package-version emacs-edit-indirect)) =2D (string-append "--with-popup-lispdir=3D" =2D magit-popup site-lisp "/guix.d/magit-popup= -" =2D ,(package-version emacs-magit-popup)))))) (native-inputs `(("pkg-config" ,pkg-config) ("emacs" ,emacs-minimal))) =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-emacs-forge-Use-the-emacs-build-system.patch Content-Transfer-Encoding: quoted-printable From=2077e78f7ea47f130bbcc135bad5001fae90ad5103 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 29 Feb 2020 12:38:33 -0500 Subject: [PATCH 4/8] gnu: emacs-forge: Use the emacs-build-system. This streamlines the package definition nicely and bring benefits, such as having the Elisp files scanned for potential /bin/ programs and patched, compressing the info manual, being able to compile the autoload file, and installing the byte compiled files to the correct location (under site-lisp= /). * gnu/packages/emacs-xyz.scm (emacs-forge)[build-system]: Switch from the gnu-build-system to the emacs-build-system. [arguments]: Remove the #:modules and #:imported-modules arguments. Delete all the custom phases except the 'chdir-lisp one, and add a new 'build-info-manual phase. =2D-- gnu/packages/emacs-xyz.scm | 53 +++++++++----------------------------- 1 file changed, 12 insertions(+), 41 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dd54bbeaca..cc72c4861d 100644 =2D-- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -18267,7 +18267,7 @@ a suffix) we prefer to call it just a \"transient\"= .") (let ((commit "63cbf81f166fc71861d8e3d246df8e5ccedcb9bb")) (package (name "emacs-forge") =2D (version (git-version "0.1.0" "2" commit)) + (version (git-version "0.1.0" "3" commit)) (source (origin (method git-fetch) @@ -18278,7 +18278,7 @@ a suffix) we prefer to call it just a \"transient\"= .") (sha256 (base32 "1yf2xjx3459py6rji740jm8bmh2pv66ghnbjxsvjd4jf9kcdav83")))) =2D (build-system gnu-build-system) + (build-system emacs-build-system) (native-inputs `(("texinfo" ,texinfo) ("emacs" ,emacs-minimal))) @@ -18293,51 +18293,22 @@ a suffix) we prefer to call it just a \"transient= \".") ("emacs-transient" ,emacs-transient))) (arguments `(#:tests? #f ;no tests =2D #:modules ((srfi srfi-26) =2D (guix build gnu-build-system) =2D ((guix build emacs-build-system) #:prefix emacs:) =2D (guix build utils) =2D (guix build emacs-utils)) =2D #:imported-modules (,@%gnu-build-system-modules =2D (guix build emacs-build-system) =2D (guix build emacs-utils)) #:phases (modify-phases %standard-phases =2D (delete 'configure) =2D (delete 'install) =2D (add-after 'unpack 'delete-doc-targets + (add-after 'unpack 'build-info-manual (lambda _ =2D (substitute* "./Makefile" =2D (("lisp docs") "lisp")))) =2D (add-after 'delete-doc-targets 'chdir-lisp + (invoke "make" "info") + ;; Move the info file to lisp so that it gets installed by = the + ;; emacs-build-system. + (rename-file "docs/forge.info" "lisp/forge.info"))) + (add-after 'build-info-manual 'chdir-lisp (lambda _ =2D (chdir "lisp"))) =2D (add-after 'chdir-lisp 'emacs-install =2D (assoc-ref emacs:%standard-phases 'install)) =2D (add-after 'emacs-install 'emacs-make-autoloads =2D (assoc-ref emacs:%standard-phases 'make-autoloads)) =2D (add-after 'build 'install-elc =2D (lambda* (#:key outputs #:allow-other-keys) =2D (let* ((out (assoc-ref outputs "out")) =2D (el-dir (string-append =2D out "/share/emacs/site-lisp/guix.d/forge-" =2D ,version))) =2D (for-each (cut install-file <> el-dir) =2D (find-files "." "\\.elc")) =2D #t))) =2D (add-after 'install-elc 'install-doc =2D (lambda* (#:key outputs #:allow-other-keys) =2D (let* ((out (assoc-ref outputs "out")) =2D (info (string-append out "/share/info"))) =2D (with-directory-excursion "../docs" =2D (invoke "makeinfo" "forge.texi") =2D (install-file "forge.info" info) =2D #t))))))) + (chdir "lisp") + #t))))) (home-page "https://github.com/magit/forge/") (synopsis "Access Git forges from Magit") =2D (description =2D "Work with Git forges, such as Github and Gitlab, from the comfor= t of =2DMagit and the rest of Emacs.") + (description "Work with Git forges, such as Github and Gitlab, from = the +comfort of Magit and the rest of Emacs.") (license license:gpl3+)))) =20 (define-public emacs-matcha =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-ghc-hindent-Remove-guix.d-from-the-Elisp-install.patch Content-Transfer-Encoding: quoted-printable From=20e1422326a0d8b97f52b9b068bcb573710999dad4 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Mar 2020 21:52:37 -0500 Subject: [PATCH 5/8] gnu: ghc-hindent: Remove guix.d from the Elisp installation directory. * gnu/packages/haskell-xyz.scm (ghc-hindent)[phases]{emacs-install}: Update the installation prefix directory. =2D-- gnu/packages/haskell-xyz.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index e368082c03..dd02c11ae6 100644 =2D-- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -5285,8 +5285,7 @@ descriptions.") (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (elisp-file "elisp/hindent.el") =2D (dest (string-append out "/share/emacs/site-lisp" =2D "/guix.d/hindent-" ,version)) + (dest (string-append out "/share/emacs/site-lisp")) (emacs (string-append (assoc-ref inputs "emacs") "/bin/emacs"))) (make-file-writable elisp-file) =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0006-gnu-cedille-Remove-guix.d-from-the-Elisp-installatio.patch Content-Transfer-Encoding: quoted-printable From=203c7c0dc194f1070990bc4da8549cf51186ab82df Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Mar 2020 22:11:47 -0500 Subject: [PATCH 6/8] gnu: cedille: Remove guix.d from the Elisp installation directory. * gnu/packages/cedille.scm (cedille)[phases]{patch-cedille-path-el}: Update the Elisp installation prefix used. {copy-cedille-mode}: Likewise. =2D-- gnu/packages/cedille.scm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/gnu/packages/cedille.scm b/gnu/packages/cedille.scm index d3a6850f9f..d9cf66c501 100644 =2D-- a/gnu/packages/cedille.scm +++ b/gnu/packages/cedille.scm @@ -56,17 +56,12 @@ (let ((out (assoc-ref outputs "out"))) (substitute* "cedille-mode.el" (("/usr/share/emacs/site-lisp/cedille-mode") =2D (string-append =2D out "/share/emacs/site-lisp/guix.d/cedille-" =2D ,version))) + (string-append out "/share/emacs/site-lisp"))) #t))) (add-after 'unpack 'copy-cedille-mode (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) =2D (lisp =2D (string-append =2D out "/share/emacs/site-lisp/guix.d/cedille-" =2D ,version "/"))) + (lisp (string-append out "/share/emacs/site-lisp"))) (mkdir-p (string-append lisp "cedille-mode")) (copy-recursively "cedille-mode" =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0007-gnu-emacs-mew-Remove-guix.d-from-the-Elisp-installat.patch Content-Transfer-Encoding: quoted-printable From=20154d0470a659ed32f3c008d7c1fcb0d55f13c6ca Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Mar 2020 22:34:41 -0500 Subject: [PATCH 7/8] gnu: emacs-mew: Remove guix.d from the Elisp installat= ion directory. * gnu/packages/mail.scm (emacs-mew)[arguments]: Update the Elisp installati= on prefix. =2D-- gnu/packages/mail.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index a2e8503ccd..9211ab34d6 100644 =2D-- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -673,7 +673,7 @@ repository and Maildir/IMAP as LOCAL repository.") ("ruby" ,ruby))) ; to set GEM_PATH so ruby-sqlite3 is found at runt= ime (build-system gnu-build-system) (arguments =2D (let ((elisp-dir "/share/emacs/site-lisp/guix.d/mew") + (let ((elisp-dir "/share/emacs/site-lisp") (icon-dir "/share/mew")) `(#:modules ((guix build gnu-build-system) (guix build utils) =2D-=20 2.25.0 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0008-doc-Update-to-reflect-the-current-installation-prefi.patch Content-Transfer-Encoding: quoted-printable From=20ca4a4d0effeca9046523b568ed79dd115e982fa9 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 1 Mar 2020 23:04:00 -0500 Subject: [PATCH 8/8] doc: Update to reflect the current installation prefix= of Emacs packages. * doc/guix.texi (Application Setup)[Emacs Packages]: No longer mention the guix.d Elisp installation prefix. Do not treat the user profile specially,= as it is not special anymore. (Build Systems): Document the correct Elisp installation prefix. =2D-- doc/guix.texi | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index a66bb3d646..4371fbe0e1 100644 =2D-- a/doc/guix.texi +++ b/doc/guix.texi @@ -1737,22 +1737,18 @@ information. @subsection Emacs Packages =20 @cindex @code{emacs} =2DWhen you install Emacs packages with Guix, the elisp files may be placed =2Deither in @file{$HOME/.guix-profile/share/emacs/site-lisp/} or in =2Dsub-directories of =2D@file{$HOME/.guix-profile/share/emacs/site-lisp/guix.d/}. The latter =2Ddirectory exists because potentially there may exist thousands of Emacs =2Dpackages and storing all their files in a single directory may not be =2Dreliable (because of name conflicts). So we think using a separate =2Ddirectory for each package is a good idea. It is very similar to how =2Dthe Emacs package system organizes the file structure (@pxref{Package =2DFiles,,, emacs, The GNU Emacs Manual}). =2D =2DBy default, Emacs (installed with Guix) ``knows'' where these packages =2Dare placed, so you do not need to perform any configuration. If, for =2Dsome reason, you want to avoid auto-loading Emacs packages installed =2Dwith Guix, you can do so by running Emacs with @code{--no-site-file} =2Doption (@pxref{Init File,,, emacs, The GNU Emacs Manual}). +When you install Emacs packages with Guix, the Elisp files are placed +under the @file{share/emacs/site-lisp/} directory of the profile in +which they are installed. The Elisp libraries are made available to +Emacs through the @code{EMACSLOADPATH} environment variable, which is +set when installing Emacs itself. + +Additionally, autoload definitions are automatically evaluated at the +initialization of Emacs, by the Guix-specific +@code{guix-emacs-autoload-packages} procedure. If, for some reason, you +want to avoid auto-loading the Emacs packages installed with Guix, you +can do so by running Emacs with the @code{--no-site-file} option +(@pxref{Init File,,, emacs, The GNU Emacs Manual}). =20 @subsection The GCC toolchain =20 @@ -6680,9 +6676,8 @@ of Emacs itself (@pxref{Packages,,, emacs, The GNU Em= acs Manual}). It first creates the @code{@code{package}-autoloads.el} file, then it byte compiles all Emacs Lisp files. Differently from the Emacs packaging system, the Info documentation files are moved to the standard =2Ddocumentation directory and the @file{dir} file is deleted. Each =2Dpackage is installed in its own directory under =2D@file{share/emacs/site-lisp/guix.d}. +documentation directory and the @file{dir} file is deleted. The Elisp +package files are installed directly under @file{share/emacs/site-lisp}. @end defvr =20 @defvr {Scheme Variable} font-build-system =2D-=20 2.25.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEJ9WGpPiQCFQyn/CfEmDkZILmNWIFAl5dtigACgkQEmDkZILm NWKBhg/+ItyW9IAYJVOFN3OeI1cP7DsGMSLRijd9oHBJmKcEwjQ6LWT7+vTVbZMH 0YI25QbSjwDnVBhYdUQZv/jmH/2D4zN/hje+YCNfvHTmdK8sJcpwMkZ4gwfpVVAk YJBb2NJPifLL2Q0/uFqew1VIaazGnxgvsKAMpPWRDjnRDbz3nTv/ySGGLSg78qoJ y1OcMhEhhU/3ECcUnt7tx+OKmC55g/aUFGtNMdRrWHr5mzs2M8UolZunW/ScEmaY griGuJVUadJKhKaiAkqgw+Ic8HT1y9m4QUhWoYUANUbeHDvjWoME77+xqIF/bAKZ gqNtjxHJxeS3sVSXsgcvjiGURMwAmTzJhNis0X/3oYrl1ZS3bdPFhLGmQzmjJHn3 n3bGAWa6/bobTX045QVrow37WS18All8kW9EBUG7ImtLd8al/PvAMTl14sHNggcw DZutWjsVPIcaPecIU3mDKyzu2WtO9gxy+EslbKQaep2NJaKT8KXtojdZF1W4aMbd excrMsXIML25YaNrtkz4IPqQ5mQxSCSOM5kaKBcUVCBrs+MYTmOwJaZasLE/3SEH 8adFcZ0JZEzG0spk7rBJRo0fUJW8mIQtuG+wxiGH7y8eJABlx9NqcyIdTMeVqbcX yUTjQ/n0ebMv/kRk6QAzyqGVIUZOzGK6GgbrwzsMNXqA5uYJQrk= =cxhl -----END PGP SIGNATURE----- --==-=-=--