Subject: bug#44938: closed (Re: [bug#44938] [PATCH] gnu: Add emacs-polymode-markdown.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 29 Nov 2020 20:27:02 +0000

Your bug report

#44938: [PATCH] gnu: Add emacs-polymode-markdown.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
44938: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44938
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#44938] [PATCH] gnu: Add emacs-polymode-markdown.
From: Nicolas Goaziou <[email-masked]>
To: Joseph LaFreniere <[email-masked]>
Cc: [email-masked]
Date: Sun, 29 Nov 2020 21:26:42 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Joseph LaFreniere <[email-masked]> writes:

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

Applied with minor tweaks. Thank you!

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-polymode-markdown.
From: Joseph LaFreniere <[email-masked]>
To: [email-masked]
Date: Sat, 28 Nov 2020 18:38:23 -0600
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch file is attached.

--
Joseph LaFreniere
>From b069e92328596de2ab2cbc02bb657a7166997d9e Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <[email-masked]>
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