all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#31012] [PATCH] gnu: Add emacs-emmet-mode.
@ 2018-03-31 22:02 Mathieu Lirzin
  2018-03-31 22:13 ` Mathieu Lirzin
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Lirzin @ 2018-03-31 22:02 UTC (permalink / raw)
  To: 31012; +Cc: Mathieu Lirzin

* gnu/packages/emacs.scm (emacs-emmet-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 ce9b1a66a..c9e7739f2 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
 ;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
+;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7436,3 +7437,23 @@ directories of plain text notes, inspired by Notational Velocity.")
 matches\" in the mode line in various search modes.  This is an Emacs port of
 Anzu.zim.")
     (license license:gpl3+)))
+
+(define-public emacs-emmet-mode
+  (package
+    (name "emacs-emmet-mode")
+    (version "1.0.8")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append "https://github.com/smihica/emmet-mode"
+				  "/archive/v" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+	      (sha256
+	       (base32
+		"0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/smihica/emmet-mode")
+    (synopsis "Unofficial Emmet's support for emacs")
+    (description
+     "Unfold CSS-selector-like expressions to markup.  It is Intended to be
+used with sgml-like languages; xml, html, xhtml, xsl, etc.")
+    (license license:gpl3+)))
-- 
2.16.3

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

* [bug#31012] [PATCH] gnu: Add emacs-emmet-mode.
  2018-03-31 22:02 [bug#31012] [PATCH] gnu: Add emacs-emmet-mode Mathieu Lirzin
@ 2018-03-31 22:13 ` Mathieu Lirzin
  2018-04-04 12:00   ` bug#31012: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Lirzin @ 2018-03-31 22:13 UTC (permalink / raw)
  To: 31012

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

Mathieu Lirzin <mthl@gnu.org> writes:

> * gnu/packages/emacs.scm (emacs-emmet-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 ce9b1a66a..c9e7739f2 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
[...]
> +	      (method url-fetch)
> +	      (uri (string-append "https://github.com/smihica/emmet-mode"
> +				  "/archive/v" version ".tar.gz"))
                                            ^^
                                            no 'v' here.

Here is the updated patch.


[-- Attachment #2: 0001-gnu-Add-emacs-emmet-mode.patch --]
[-- Type: text/x-patch, Size: 1843 bytes --]

From b757fed3e7a03e0c95d793bffd36a116a5ad6a3a Mon Sep 17 00:00:00 2001
From: Mathieu Lirzin <mthl@gnu.org>
Date: Sun, 1 Apr 2018 00:00:29 +0200
Subject: [PATCH] gnu: Add emacs-emmet-mode.

* gnu/packages/emacs.scm (emacs-emmet-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 ce9b1a66a..b77aed34e 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2017 Mike Gerwitz <mtg@gnu.org>
 ;;; Copyright © 2017, 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2018 Sohom Bhattacharjee <soham.bhattacharjee15@gmail.com>
+;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7436,3 +7437,23 @@ directories of plain text notes, inspired by Notational Velocity.")
 matches\" in the mode line in various search modes.  This is an Emacs port of
 Anzu.zim.")
     (license license:gpl3+)))
+
+(define-public emacs-emmet-mode
+  (package
+    (name "emacs-emmet-mode")
+    (version "1.0.8")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append "https://github.com/smihica/emmet-mode"
+				  "/archive/" version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+	      (sha256
+	       (base32
+		"0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/smihica/emmet-mode")
+    (synopsis "Unofficial Emmet's support for emacs")
+    (description
+     "Unfold CSS-selector-like expressions to markup.  It is Intended to be
+used with sgml-like languages; xml, html, xhtml, xsl, etc.")
+    (license license:gpl3+)))
-- 
2.16.3


[-- Attachment #3: Type: text/plain, Size: 85 bytes --]


Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

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

* bug#31012: [PATCH] gnu: Add emacs-emmet-mode.
  2018-03-31 22:13 ` Mathieu Lirzin
@ 2018-04-04 12:00   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2018-04-04 12:00 UTC (permalink / raw)
  To: Mathieu Lirzin; +Cc: 31012-done

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

Applied with the minor changes below, thanks!

Ludo'.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 782 bytes --]

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 85c596e3b..394939761 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -7452,8 +7452,8 @@ Anzu.zim.")
 		"0g3p22yabfcp98cfv9dgl9il2m2pd53isq2q11vb3s7qyn31f7zj"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/smihica/emmet-mode")
-    (synopsis "Unofficial Emmet's support for emacs")
+    (synopsis "Unofficial Emmet's support for Emacs")
     (description
-     "Unfold CSS-selector-like expressions to markup.  It is Intended to be
-used with sgml-like languages; xml, html, xhtml, xsl, etc.")
+     "Unfold CSS-selector-like expressions to markup.  It is intended to be
+used with SGML-like languages: XML, HTML, XHTML, XSL, etc.")
     (license license:gpl3+)))

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

end of thread, other threads:[~2018-04-04 12:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-31 22:02 [bug#31012] [PATCH] gnu: Add emacs-emmet-mode Mathieu Lirzin
2018-03-31 22:13 ` Mathieu Lirzin
2018-04-04 12:00   ` bug#31012: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.