unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] emacs-build-system: Fix a file name of info directory.
@ 2015-09-03 14:02 Alex Kost
  2015-09-03 14:09 ` Thompson, David
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Kost @ 2015-09-03 14:02 UTC (permalink / raw)
  To: guix-devel; +Cc: Federico Beffa

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

Currently emacs-build-system moves info files to "share/info/<package>"
directories (as can be seen with ‘emacs-flycheck’ package, for example).
So "info" command (in console or emacs) can't find such manuals.  I
think it should be changed.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-emacs-build-system-Fix-a-file-name-of-info-directory.patch --]
[-- Type: text/x-diff, Size: 1138 bytes --]

From 72a10f97a6ffd8a70fcea079a0be6a365a45b1b9 Mon Sep 17 00:00:00 2001
From: Alex Kost <alezost@gmail.com>
Date: Thu, 3 Sep 2015 10:35:19 +0300
Subject: [PATCH] emacs-build-system: Fix a file name of info directory.

* guix/build/emacs-build-system.scm (move-doc): Adjust to use
  "/share/info" instead of its sub-directory.
---
 guix/build/emacs-build-system.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/build/emacs-build-system.scm b/guix/build/emacs-build-system.scm
index f18db0a..c01b24f 100644
--- a/guix/build/emacs-build-system.scm
+++ b/guix/build/emacs-build-system.scm
@@ -83,8 +83,7 @@ store in '.el' files."
   (let* ((out (assoc-ref outputs "out"))
          (elpa-name-ver (store-directory->elpa-name-version out))
          (el-dir (string-append out %install-suffix "/" elpa-name-ver))
-         (name-ver (store-directory->name-version out))
-         (info-dir (string-append out "/share/info/" name-ver))
+         (info-dir (string-append out "/share/info"))
          (info-files (find-files el-dir "\\.info$")))
     (unless (null? info-files)
       (mkdir-p info-dir)
-- 
2.5.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] emacs-build-system: Fix a file name of info directory.
  2015-09-03 14:02 [PATCH] emacs-build-system: Fix a file name of info directory Alex Kost
@ 2015-09-03 14:09 ` Thompson, David
  2015-09-04 20:02   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Thompson, David @ 2015-09-03 14:09 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel, Federico Beffa

On Thu, Sep 3, 2015 at 10:02 AM, Alex Kost <alezost@gmail.com> wrote:
> Currently emacs-build-system moves info files to "share/info/<package>"
> directories (as can be seen with ‘emacs-flycheck’ package, for example).
> So "info" command (in console or emacs) can't find such manuals.  I
> think it should be changed.

LGTM.

- Dave

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] emacs-build-system: Fix a file name of info directory.
  2015-09-03 14:09 ` Thompson, David
@ 2015-09-04 20:02   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-09-04 20:02 UTC (permalink / raw)
  To: Thompson, David; +Cc: guix-devel, Alex Kost, Federico Beffa

"Thompson, David" <dthompson2@worcester.edu> skribis:

> On Thu, Sep 3, 2015 at 10:02 AM, Alex Kost <alezost@gmail.com> wrote:
>> Currently emacs-build-system moves info files to "share/info/<package>"
>> directories (as can be seen with ‘emacs-flycheck’ package, for example).
>> So "info" command (in console or emacs) can't find such manuals.  I
>> think it should be changed.
>
> LGTM.

+1

Ludo'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-04 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-03 14:02 [PATCH] emacs-build-system: Fix a file name of info directory Alex Kost
2015-09-03 14:09 ` Thompson, David
2015-09-04 20:02   ` Ludovic Courtès

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).