emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#26802: closed (Single source file emacs packages g


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#26802: closed (Single source file emacs packages get a ".el.el" extension)
Date: Mon, 22 May 2017 23:12:02 +0000

Your message dated Tue, 23 May 2017 04:40:44 +0530
with message-id <address@hidden>
and subject line Re: bug#26802: [PATCH 4/4] build: emacs: Fix 
`store-file->elisp-source-file'.
has caused the debbugs.gnu.org bug report #26802,
regarding Single source file emacs packages get a ".el.el" extension
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
26802: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=26802
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Single source file emacs packages get a ".el.el" extension Date: Sat, 06 May 2017 18:21:56 +0530
Single source file emacs packages (such as emacs-goto-chg,
emacs-transpose-frame, emacs-key-chord, etc.) get installed with a
double extension (".el.el"). This patch fixes that.

>From 4796890f507a126edb6020573547d37815b3241e Mon Sep 17 00:00:00 2001
From: Arun Isaac <address@hidden>
Date: Sat, 6 May 2017 18:16:36 +0530
Subject: [PATCH] build: emacs: Don't append an extra ".el" to source file
 name.

* guix/build/emacs-build-system.scm (store-file->elisp-source-file): The
  source file name already has a ".el" suffix. Don't append an extra ".el".
---
 guix/build/emacs-build-system.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/emacs-build-system.scm 
b/guix/build/emacs-build-system.scm
index 44e8b0d31..3669b7d59 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2015 Federico Beffa <address@hidden>
 ;;; Copyright © 2016 David Thompson <address@hidden>
 ;;; Copyright © 2016 Alex Kost <address@hidden>
+;;; Copyright © 2017 Arun Isaac <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -50,7 +51,7 @@ name that has been stripped of the hash and version number."
   (let-values (((name version)
                 (package-name->name+version
                  (strip-store-file-name file))))
-    (string-append name ".el")))
+    name))
 
 (define* (unpack #:key source #:allow-other-keys)
   "Unpack SOURCE into the build directory.  SOURCE may be a compressed
-- 
2.12.2


--- End Message ---
--- Begin Message --- Subject: Re: bug#26802: [PATCH 4/4] build: emacs: Fix `store-file->elisp-source-file'. Date: Tue, 23 May 2017 04:40:44 +0530
> Pro tip: (string-drop-right …) can be replaced by:
>
>   (basename file ".el")

Thanks! Made this modification...

Pushed patches 1, 2 and 4.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]