From: Alex Kost <alezost@gmail.com>
To: Adonay Felipe Nogueira <adfeno@openmailbox.org>
Cc: 27686@debbugs.gnu.org
Subject: bug#27686: emacs-ess: Not installed in "${output}/share/emacs/site-lisp/guix.d"
Date: Tue, 18 Jul 2017 16:52:36 +0300 [thread overview]
Message-ID: <87h8y9ua1n.fsf@gmail.com> (raw)
In-Reply-To: <87k23c34vj.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Thu, 13 Jul 2017 09:20:32 -0300")
[-- Attachment #1: Type: text/plain, Size: 1067 bytes --]
Adonay Felipe Nogueira (2017-07-13 09:20 -0300) wrote:
> It seems that Emacs ESS mode isn't installed in the same location as
> other packages are.
>
> Also note that emacs-ess doesn't use the Emacs build system. I don't
> know if this is indeed the issue (and if we can force it to use such
> build system), but I think this is an important note to make.
It's not a problem: we just need to install *.el files in
".../share/emacs/site-lisp/guix.d/ess" instead of
".../share/emacs/site-lisp/ess" as it is done by default. The attached
patch should fix it.
A side note: this is one of the reasons why I don't like "guix.d"
sub-directory. I think it is a useless extra level in the file
hierarchy. If we used:
.../share/emacs/site-lisp/<package>
instead of the current choice:
.../share/emacs/site-lisp/guix.d/<package>
there would be no need to adjust 'emacs-ess', 'magit' and probably some
other packages to install *.el in "guix.d". But this is for another
discussion :-), sorry:
http://lists.gnu.org/archive/html/guix-devel/2016-05/msg00241.html
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-emacs-ess-Install-elisp-files-in-guix.d.patch --]
[-- Type: text/x-patch, Size: 1252 bytes --]
From 2b36a9a5de44d162b39b351c49ec2f35c8cab880 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Tue, 18 Jul 2017 16:44:22 +0300
Subject: [PATCH] gnu: emacs-ess: Install elisp files in "guix.d".
Fixes <http://bugs.gnu.org/27686>.
Reported by Adonay Felipe Nogueira <adfeno@openmailbox.org>
* gnu/packages/emacs.scm (emacs-ess)[arguments]: Add LISPDIR to make
flags to install *.el files into "guix.d" sub-directory.
---
gnu/packages/emacs.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 75122af8b..a4cf5afcb 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -3105,7 +3105,9 @@ E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; There is no test suite.
- #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:make-flags (list (string-append "PREFIX=" %output)
+ (string-append "LISPDIR=" %output
+ "/share/emacs/site-lisp/guix.d/ess"))
#:phases
(modify-phases %standard-phases
(delete 'configure)
--
2.13.2
next prev parent reply other threads:[~2017-07-18 13:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 12:20 bug#27686: emacs-ess: Not installed in "${output}/share/emacs/site-lisp/guix.d" Adonay Felipe Nogueira
2017-07-18 13:52 ` Alex Kost [this message]
2017-07-29 20:34 ` Alex Kost
2017-08-15 14:38 ` Adonay Felipe Nogueira
2017-08-15 16:08 ` Maxim Cournoyer
2017-08-19 18:32 ` Alex Kost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8y9ua1n.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=27686@debbugs.gnu.org \
--cc=adfeno@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).