unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44938] [PATCH] gnu: Add emacs-polymode-markdown.
@ 2020-11-29  0:38 Joseph LaFreniere
  2020-11-29 20:26 ` bug#44938: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph LaFreniere @ 2020-11-29  0:38 UTC (permalink / raw)
  To: 44938

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

Patch file is attached.

--
Joseph LaFreniere

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-polymode-markdown.patch --]
[-- Type: text/x-patch, Size: 1782 bytes --]

From b069e92328596de2ab2cbc02bb657a7166997d9e Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sat, 28 Nov 2020 18:36:45 -0600
Subject: [PATCH] gnu: Add emacs-polymode-markdown.

* gnu/packages/emacs-xyz.scm (emacs-polymode-markdown): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 91b1230489..4806f42199 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13512,6 +13512,32 @@ literate programming tools for exporting, weaving and tangling.")
      "Edit YAML files for Ansible containing embedded Jinja2 templating.")
     (license license:gpl3+)))
 
+(define-public emacs-polymode-markdown
+  (package
+    (name "emacs-polymode-markdown")
+    (version "0.2.2")
+    (home-page "https://github.com/polymode/poly-markdown")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url home-page)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1q4qq0ql08hxkdrd2aal03560k612my7bvnfpfij3g432hn0p7v6"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-polymode" ,emacs-polymode)
+       ("emacs-markdown-mode" ,emacs-markdown-mode)))
+    (properties '((upstream-name . "poly-markdown")))
+    (synopsis "Polymode for @code{markdown-mode}")
+    (description
+     "Edit source code blocks embedded in markdown files using the major mode
+corresponding to each block.")
+    (license license:gpl3+)))
+
 (define-public emacs-powershell
   ;; Tagged branch 0.1 is outdated (2015).
   (let ((revision "0")
-- 
2.29.2


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

* bug#44938: [PATCH] gnu: Add emacs-polymode-markdown.
  2020-11-29  0:38 [bug#44938] [PATCH] gnu: Add emacs-polymode-markdown Joseph LaFreniere
@ 2020-11-29 20:26 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-11-29 20:26 UTC (permalink / raw)
  To: Joseph LaFreniere; +Cc: 44938-done

Hello,

Joseph LaFreniere <joseph@lafreniere.xyz> writes:

> Subject: [PATCH] gnu: Add emacs-polymode-markdown.

Applied with minor tweaks. Thank you!

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2020-11-29 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-29  0:38 [bug#44938] [PATCH] gnu: Add emacs-polymode-markdown Joseph LaFreniere
2020-11-29 20:26 ` bug#44938: " Nicolas Goaziou

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