guix-patches
[Top][All Lists]
Advanced

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

[bug#28010] [PATCH] gnu: Add emacs-engine-mode.


From: Oleg Pykhalov
Subject: [bug#28010] [PATCH] gnu: Add emacs-engine-mode.
Date: Thu, 10 Aug 2017 17:08:37 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Arun Isaac <address@hidden> writes:

>>> I think we shouldn't install documentation. A markdown README, IMHO, is
>>> not much of a documentation. No other package does this. WDYT?

By the way while I tried to find a way to convert Markdown to texinfo or
info I found “/gnu/store/…-markdown-1.0.1/share/doc/README”.

Also gives many of README
--8<---------------cut here---------------start------------->8---
find /gnu/store -name README
--8<---------------cut here---------------end--------------->8---

>> Personally, I usually read README, even if it's not presented in
>> package, but on home-page, because it helps me to configure quickly.
>
> Yes, I do read the README too, but only from the project's website.
>
>> So, maybe we could have them or convert them in “info” or something?
>
> That would be nice! But, how do we do that? My guess is that we'll have
> to contact upstream, and ask them to create "an info file". Is there
> some other way?

I don't think it will be possible to contact every maintainer (for other
packages).  And I didn't find a tool to convert, too.  As I understand
it preferably needs to be written in Guile or C.  There are famous
things like Pandoc which will pull all Haskell or whatever language.
Obvios over powered for Emacs packages.

So, if you don't think it's proper for Guix, then here is a patch
without README.

>From 30262df6eb0abfd6f16e408b71c0cb7ecac29356 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <address@hidden>
Date: Tue, 8 Aug 2017 13:00:18 +0300
Subject: [PATCH] gnu: Add emacs-engine-mode.

* gnu/packages/emacs.scm (emacs-engine-mode): New variable.
---
 gnu/packages/emacs.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 3821d18d4..228b64103 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -5272,3 +5272,23 @@ user easy handle git-format patch without exit Emacs.
 commit message for the current line.  This uses the git-blame tool
 internally.")
     (license license:gpl3+)))
+
+(define-public emacs-engine-mode
+  (package
+    (name "emacs-engine-mode")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/hrs/engine-mode/archive/";
+                                  "v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1vm4p7pcp1vnwwxvps1bhm7i7hkabqqxl898knxf2hqvxys76684"))))
+    (build-system emacs-build-system)
+    (synopsis "Minor mode for defining and querying search engines")
+    (description "@code{engine-mode} is a global minor mode for Emacs.  It
+enables you to easily define search engines, bind them to keybindings, and
+query them from the comfort of your editor.")
+    (home-page "https://github.com/hrs/engine-mode";)
+    (license license:gpl3+)))
-- 
2.14.0

Thanks!

reply via email to

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