From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Baptiste Note Subject: bug#39536: problem in emacs-gnuplot mode Date: Sun, 09 Feb 2020 22:29:44 +0100 Message-ID: <87lfpbfnzr.fsf@m4x.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46949) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0uhL-00052O-KH for bug-guix@gnu.org; Sun, 09 Feb 2020 17:05:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0uhK-0007FH-Ga for bug-guix@gnu.org; Sun, 09 Feb 2020 17:05:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47367) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0uhK-0007Ev-Cp for bug-guix@gnu.org; Sun, 09 Feb 2020 17:05:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j0uhK-0000G6-8e for bug-guix@gnu.org; Sun, 09 Feb 2020 17:05:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:44310) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0u9L-0005KI-LG for bug-guix@gnu.org; Sun, 09 Feb 2020 16:29:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0u9J-0006BW-J9 for bug-guix@gnu.org; Sun, 09 Feb 2020 16:29:55 -0500 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]:33036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0u9H-00069C-Se for bug-guix@gnu.org; Sun, 09 Feb 2020 16:29:53 -0500 Received: by mail-wr1-x435.google.com with SMTP id u6so5163820wrt.0 for ; Sun, 09 Feb 2020 13:29:51 -0800 (PST) Received: from guixrules ([2a01:e35:2e0b:a6b0:429f:38ff:fe1e:a84f]) by smtp.gmail.com with ESMTPSA id o2sm12133720wmh.46.2020.02.09.13.29.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Feb 2020 13:29:49 -0800 (PST) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: 39536@debbugs.gnu.org --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-emacs-gnuplot-Fix-destination-directory.patch Content-Description: tentative fix >From 5f2db54f0e0e31dfcc9e6271dceb5aa38a799746 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note 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 --=-=-=--