GNU bug report logs - #39536
problem in emacs-gnuplot mode

Previous Next

Package: guix;

Reported by: Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>

Date: Sun, 9 Feb 2020 22:05:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39536 in the body.
You can then email your comments to 39536 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#39536; Package guix. (Sun, 09 Feb 2020 22:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 09 Feb 2020 22:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>
To: bug-guix <at> gnu.org
Subject: problem in emacs-gnuplot mode
Date: Sun, 09 Feb 2020 22:29:44 +0100
[Message part 1 (text/plain, inline)]
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

[0001-emacs-gnuplot-Fix-destination-directory.patch (text/x-patch, inline)]
From 5f2db54f0e0e31dfcc9e6271dceb5aa38a799746 Mon Sep 17 00:00:00 2001
From: Jean-Baptiste Note <jean-baptiste.note <at> 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


Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Sat, 22 Feb 2020 11:19:01 GMT) Full text and rfc822 format available.

Notification sent to Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>:
bug acknowledged by developer. (Sat, 22 Feb 2020 11:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 39536-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jean-Baptiste Note <jean-baptiste.note <at> m4x.org>
Cc: 39536-done <at> debbugs.gnu.org
Subject: Re: bug#39536: problem in emacs-gnuplot mode
Date: Sat, 22 Feb 2020 12:18:47 +0100
Hi Jean-Baptiste,

Jean-Baptiste Note <jean-baptiste.note <at> m4x.org> skribis:

>>From 5f2db54f0e0e31dfcc9e6271dceb5aa38a799746 Mon Sep 17 00:00:00 2001
> From: Jean-Baptiste Note <jean-baptiste.note <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Mar 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.