unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: fernseed@fernseed.me
To: 65611@debbugs.gnu.org
Cc: Kierin Bell <fernseed@fernseed.me>,
	Andrew Tropin <andrew@trop.in>,
	Katherine Cox-Buday <cox.katherine.e+guix@gmail.com>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: [bug#65611] [PATCH v2] gnu: emacs-dired-preview: Add Info manual.
Date: Wed, 30 Aug 2023 14:25:17 -0400	[thread overview]
Message-ID: <10a2e3471c8d0cf809acd5f08f5907a2f88511c6.1693419917.git.fernseed@fernseed.me> (raw)
In-Reply-To: <50f1acd93d9056d728e7fc881a9b8aebe5ca5245.1693331832.git.fernseed@fernseed.me>

From: Kierin Bell <fernseed@fernseed.me>

* gnu/packages/emacs-xyz.scm (emacs-dired-preview): Add Info manual.
---
Didn't see this pushed yet either.  Updated as per Liliana's suggestion.

 gnu/packages/emacs-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3eaf215134..62fc008bb2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27347,6 +27347,18 @@ (define-public emacs-dired-preview
                (base32
                 "0d485812k1rv0qrw4xvzv4z3qf370apsajnf4q3pjk3q0r1fpm8b"))))
     (build-system emacs-build-system)
+    (native-inputs (list texinfo))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'makeinfo
+            (lambda _
+              (emacs-batch-edit-file "README.org"
+                "(progn (require 'ox-texinfo) (org-texinfo-export-to-info))")
+              (install-file "dired-preview.info"
+                            (string-append #$output
+                                           "/share/info")))))))
     (home-page "https://protesilaos.com/emacs/dired-preview")
     (synopsis "Automatically preview file at point in Dired")
     (description

base-commit: 9f4b6bcb5c548f9206b89270b13da54abdff31b1
-- 
2.41.0





      parent reply	other threads:[~2023-08-30 18:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-29 17:57 [bug#65611] [PATCH] gnu: emacs-dired-preview: Add Info manual fernseed
2023-08-30 11:49 ` bug#65611: " Andrew Tropin
2023-08-30 16:48   ` [bug#65611] " Liliana Marie Prikler
2023-08-30 18:25 ` fernseed [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10a2e3471c8d0cf809acd5f08f5907a2f88511c6.1693419917.git.fernseed@fernseed.me \
    --to=fernseed@fernseed.me \
    --cc=65611@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=cox.katherine.e+guix@gmail.com \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).