* bug#39536: problem in emacs-gnuplot mode
@ 2020-02-09 21:29 Jean-Baptiste Note
2020-02-22 11:18 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Jean-Baptiste Note @ 2020-02-09 21:29 UTC (permalink / raw)
To: 39536
[-- Attachment #1: Type: text/plain, Size: 1238 bytes --]
Dear list,
Currently the emacs-gnuplot installs its el files and associated
autoload file within the
${GUIX_PROFILE}/share/emacs/site-lisp/guix.d/gnuplot-0.7.0/ directory.
This makes it impossible to actually use gnuplot-mode unless you fiddle
with the EMACSLOADPATH to include the above directory.
I quite like the idea of installing the packages within
guix.d/${PACKAGE}; however this pattern does not seem to be actually
successfully used. I've looked at magit-forge, for instance, which seems
to (mistakenly) put .elc files within guix.d/forge-0.1.0-2.63cbf81/ --
but I doubt these are actually being used.
The guix.d/${PACKAGE} pattern also seems used on emacs-magit *input*
while compiling for accessing, for instance, input emacs-dash packages
(as far as I can tell these flags-settings are completely useless, by
the way, because the emacs-dash an other packages do not drop their
files in those directories).
I don't know scheme at all so I may be missing something. Please provide
guidance as to how to handle this; in the meantime i'm contributing the
following tentative patch which fixes my first problem with emacs-gnuplot.
I also stand ready to improve emacs-magit compilation flags if required.
Kind regards,
JB
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: tentative fix --]
[-- Type: text/x-patch, Size: 972 bytes --]
From 5f2db54f0e0e31dfcc9e6271dceb5aa38a799746 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
Date: Sun, 9 Feb 2020 21:02:33 +0100
Subject: [PATCH] [emacs-gnuplot] Fix destination directory
---
gnu/packages/emacs-xyz.scm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index faf2d7a1f1..9629ef9d98 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9760,8 +9760,7 @@ and supports the use of a mouse.")
(build-system gnu-build-system)
(native-inputs `(("emacs" ,emacs-minimal)))
(arguments
- (let ((elisp-dir (string-append "/share/emacs/site-lisp/guix.d"
- "/gnuplot-" version)))
+ (let ((elisp-dir "/share/emacs/site-lisp"))
`(#:modules ((guix build gnu-build-system)
(guix build utils)
(guix build emacs-utils))
--
2.25.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#39536: problem in emacs-gnuplot mode
2020-02-09 21:29 bug#39536: problem in emacs-gnuplot mode Jean-Baptiste Note
@ 2020-02-22 11:18 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-02-22 11:18 UTC (permalink / raw)
To: Jean-Baptiste Note; +Cc: 39536-done
Hi Jean-Baptiste,
Jean-Baptiste Note <jean-baptiste.note@m4x.org> skribis:
>From 5f2db54f0e0e31dfcc9e6271dceb5aa38a799746 Mon Sep 17 00:00:00 2001
> From: Jean-Baptiste Note <jean-baptiste.note@m4x.org>
> Date: Sun, 9 Feb 2020 21:02:33 +0100
> Subject: [PATCH] [emacs-gnuplot] Fix destination directory
>
> ---
> gnu/packages/emacs-xyz.scm | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
Good catch! I added a commit log that follows our conventions and
applied the patch.
For the record, ‘guix.d’ support was removed in
65a7dd2950ca13a8b942b2836260a2192351b271.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-22 11:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09 21:29 bug#39536: problem in emacs-gnuplot mode Jean-Baptiste Note
2020-02-22 11:18 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.