unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add emacs-eprime
@ 2016-07-03 16:57 Roel Janssen
  2016-07-04  7:17 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: Roel Janssen @ 2016-07-03 16:57 UTC (permalink / raw)
  To: guix-devel

Dear Guix,

Here's a fairly trivial patch to add an eprime-mode for Emacs.  The
author hasn't made a release (at least not on Github), so I grabbed
the source by the most recent commit (June 27, 2014), and used a version
number compatible with how it is used in MELPA.

Hopefully this is OK to push.
Thank you for your time.

Kind regards,
Roel Janssen


From 725447eb40aad3be64d9caade294927d1a7877f1 Mon Sep 17 00:00:00 2001
From: Roel Janssen <roel@gnu.org>
Date: Sun, 3 Jul 2016 18:53:33 +0200
Subject: [PATCH] gnu: Add emacs-eprime

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index f95e7b0..5291c2c 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2052,6 +2052,28 @@ Emacs default configuration in uncontroversial ways that nearly everyone can
 agree upon.")
     (license license:gpl3+)))
 
+(define-public emacs-eprime
+  (let ((commit "17a481af26496be91c07139a9bfc05cfe722506f"))
+    (package
+      (name "emacs-eprime")
+      (version (string-append "20140513-" (string-take commit 7)))
+      (source (origin
+                (method url-fetch)
+                (uri (string-append "https://raw.githubusercontent.com"
+                                    "/AndrewHynes/eprime-mode/"
+                                    commit "/eprime-mode.el"))
+                (file-name (string-append "eprime-" version ".el"))
+                (sha256
+                 (base32
+                  "0v68lggkyq7kbcr9zyi573m2g2x251xy3jadlaw8kx02l8krwq8d"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/AndrewHynes/eprime-mode")
+      (synopsis "E-prime checking mode for Emacs")
+      (description "This package provides an E-prime checking mode for Emacs
+that highlights non-conforming text.  The subset of the English language called
+E-Prime forbids the use of the \"to be\" form to strengthen your writing.")
+      (license license:gpl3+))))
+
 (define-public emacs-smex
   (package
     (name "emacs-smex")
-- 
2.9.0

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

* Re: [PATCH] gnu: Add emacs-eprime
  2016-07-03 16:57 [PATCH] gnu: Add emacs-eprime Roel Janssen
@ 2016-07-04  7:17 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2016-07-04  7:17 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

Roel Janssen (2016-07-03 19:57 +0300) wrote:

> Dear Guix,
>
> Here's a fairly trivial patch to add an eprime-mode for Emacs.  The
> author hasn't made a release (at least not on Github), so I grabbed
> the source by the most recent commit (June 27, 2014), and used a version
> number compatible with how it is used in MELPA.

It looks like there is no release anywhere indeed, so I think it's OK.

> Hopefully this is OK to push.
> Thank you for your time.

Applied as 7034791aa25db02e392495c44d68a5de937bdf7a, thanks!

-- 
Alex

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

end of thread, other threads:[~2016-07-04  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-03 16:57 [PATCH] gnu: Add emacs-eprime Roel Janssen
2016-07-04  7:17 ` Alex Kost

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