unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#28581] emacs-jinja2-mode
@ 2017-09-24 16:09 ng0
  2017-09-28 15:55 ` Alex Kost
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-09-24 16:09 UTC (permalink / raw)
  To: 28581


[-- Attachment #1.1: Type: text/plain, Size: 372 bytes --]

Upstream seems to be on hiatus for a long time, but
at its core the mode still does what it should do.
I'm attempting to merge the open pull requests with
the version of it I have created and publish it as
a variant.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://krosos.org/dist/keys/
https://www.infotropique.org https://www.krosos.org

[-- Attachment #1.2: 0001-gnu-Add-emacs-jinja2-mode.patch --]
[-- Type: text/plain, Size: 1600 bytes --]

From 531540f0a46447849db8e993332d763ff0a4ba07 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Sun, 24 Sep 2017 16:06:23 +0000
Subject: [PATCH] gnu: Add emacs-jinja2-mode.

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 6cc4cfffb..1cf6810e7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -2523,6 +2523,27 @@ insertion mode.  When enabled all keys are implicitly prefixed with
 @samp{C-} (among other helpful shortcuts).")
       (license license:gpl3+))))
 
+(define-public emacs-jinja2-mode
+    (package
+      (name "emacs-jinja2-mode")
+      (version "0.2")
+      (source
+       (origin
+         (method url-fetch)
+         (uri (string-append "https://github.com/paradoxxxzero/jinja2-mode/"
+                             "archive/v" version ".tar.gz"))
+         (file-name (string-append name "-" version ".tar.gz"))
+         (sha256
+          (base32
+           "0cgxjab1kla2zc2fj7bzib6i7snp08zshandmp9kqcm85l262xpn"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/paradoxxxzero/jinja2-mode")
+      (synopsis "Major mode for jinja2")
+      (description
+       "Emacs major mode for jinja2 with: syntax highlighting,
+sgml/html integration, and indentation (working with sgml).")
+      (license license:gpl3+)))
+
 (define-public emacs-rfcview
   (package
     (name "emacs-rfcview")
-- 
2.14.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* [bug#28581] emacs-jinja2-mode
  2017-09-24 16:09 [bug#28581] emacs-jinja2-mode ng0
@ 2017-09-28 15:55 ` Alex Kost
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Kost @ 2017-09-28 15:55 UTC (permalink / raw)
  To: ng0; +Cc: 28581

> From 531540f0a46447849db8e993332d763ff0a4ba07 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Sun, 24 Sep 2017 16:06:23 +0000
> Subject: [PATCH] gnu: Add emacs-jinja2-mode.

> * gnu/packages/emacs.scm (emacs-jinja2-mode): New variable.

Applied, thanks!

-- 
Alex

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

end of thread, other threads:[~2017-09-28 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-24 16:09 [bug#28581] emacs-jinja2-mode ng0
2017-09-28 15:55 ` 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).