all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32176] Add emacs-adoc-mode
@ 2018-07-16 17:34 Jack Hill
  2018-07-17 21:59 ` bug#32176: " Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Jack Hill @ 2018-07-16 17:34 UTC (permalink / raw)
  To: 32176

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

Ahoy Guix,

Attached are to patches for adding adoc-mode for Emacs to Guix. adoc-mode 
needs markup-faces which is added in the first patch, and adoc-mode is 
added in the second. Both package definitions were created with the help 
of `guix import elpa`.

Best,
Jack

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff; name=0001-gnu-Add-emacs-markup-faces.patch, Size: 1813 bytes --]

From c4e326a3551a98e13c4ed3160e9c24b8a5afe607 Mon Sep 17 00:00:00 2001
From: Jack Hill <jackhill@jackhill.us>
Date: Mon, 16 Jul 2018 13:22:28 -0400
Subject: [PATCH 1/2] gnu: Add emacs-markup-faces

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 64064ec51..ea0bd953f 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11463,3 +11463,30 @@ can do different things depending on the context.  In this package, it means
 that, if the cursor is in a currently hidden folded construction, we want to
 show it; if it's not, we want to hide whatever fold the cursor is in.")
       (license license:gpl2+))))
+
+(define-public emacs-markup-faces
+  (package
+    (name "emacs-markup-faces")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/markup-faces-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "124dxbaa25fwxnpwsygpz7pw6da6dnnw7y2lic3jf8rgz7lw4v32"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/sensorflo/markup-faces")
+    (synopsis
+     "Collection of Emacs faces for markup language modes")
+    (description
+     "Like font-lock-faces, but tailored for markup languages instead programming
+languages.  The sub group markup-faces-text is also intended for 'text viewing
+modes' such as info or (wo)man.  This gives a common look and feel, or let's
+say theme, across different markup language modes and 'text viewing modes'
+respectively.")
+    (license license:gpl3+)))
+
-- 
2.11.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: Type: text/x-diff; name=0002-gnu-Add-emacs-adoc-mode.patch, Size: 1488 bytes --]

From c980b2a822622bd69274549a4e82af4d56417fea Mon Sep 17 00:00:00 2001
From: Jack Hill <jackhill@jackhill.us>
Date: Mon, 16 Jul 2018 13:24:05 -0400
Subject: [PATCH 2/2] gnu: Add emacs-adoc-mode

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

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index ea0bd953f..be193b97b 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -11490,3 +11490,27 @@ say theme, across different markup language modes and 'text viewing modes'
 respectively.")
     (license license:gpl3+)))
 
+(define-public emacs-adoc-mode
+  (package
+    (name "emacs-adoc-mode")
+    (version "0.6.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://stable.melpa.org/packages/adoc-mode-"
+             version
+             ".el"))
+       (sha256
+        (base32
+         "1c6hrgxxsnl2c19rgjykpm7r4xg9lp6bmk5z6bi7g8pqlrgwffcy"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-markup-faces" ,emacs-markup-faces)))
+    (home-page "https://github.com/sensorflo/adoc-mode/wiki")
+    (synopsis
+     "AsciiDoc mode for Emacs")
+    (description
+     "Emacs major mode for editing AsciiDoc files.  It focuses on highlighting
+the document to improve readability.")
+    (license license:gpl2+)))
-- 
2.11.0


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

* bug#32176: Add emacs-adoc-mode
  2018-07-16 17:34 [bug#32176] Add emacs-adoc-mode Jack Hill
@ 2018-07-17 21:59 ` Leo Famulari
  2018-07-18  2:43   ` [bug#32176] " Jack Hill
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-07-17 21:59 UTC (permalink / raw)
  To: Jack Hill; +Cc: 32176-done

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

On Mon, Jul 16, 2018 at 01:34:01PM -0400, Jack Hill wrote:
> Attached are to patches for adding adoc-mode for Emacs to Guix. adoc-mode
> needs markup-faces which is added in the first patch, and adoc-mode is added
> in the second. Both package definitions were created with the help of `guix
> import elpa`.

Thanks! Pushed as 36a71ce04d357a594f4b9c17712e9a2330a6fbab

> From c4e326a3551a98e13c4ed3160e9c24b8a5afe607 Mon Sep 17 00:00:00 2001
> From: Jack Hill <jackhill@jackhill.us>
> Date: Mon, 16 Jul 2018 13:22:28 -0400
> Subject: [PATCH 1/2] gnu: Add emacs-markup-faces
> 
> * gnu/packages/emacs.scm (emacs-markup-faces): New variable.

I added a copyright line for you to the emacs module.

> +    (description
> +     "Like font-lock-faces, but tailored for markup languages instead programming
> +languages.  The sub group markup-faces-text is also intended for 'text viewing
> +modes' such as info or (wo)man.  This gives a common look and feel, or let's
> +say theme, across different markup language modes and 'text viewing modes'
> +respectively.")

> +    (description
> +     "Emacs major mode for editing AsciiDoc files.  It focuses on highlighting
> +the document to improve readability.")

I also made sure the descriptions were composed of complete sentences,
as requested in the manual section Synopses and Descriptions:

https://www.gnu.org/software/guix/manual/en/html_node/Synopses-and-Descriptions.html

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

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

* [bug#32176] Add emacs-adoc-mode
  2018-07-17 21:59 ` bug#32176: " Leo Famulari
@ 2018-07-18  2:43   ` Jack Hill
  0 siblings, 0 replies; 3+ messages in thread
From: Jack Hill @ 2018-07-18  2:43 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 32176-done

On Tue, 17 Jul 2018, Leo Famulari wrote:

> I added a copyright line for you to the emacs module.

Awesome, thank you.

> I also made sure the descriptions were composed of complete sentences,
> as requested in the manual section Synopses and Descriptions:
>
> https://www.gnu.org/software/guix/manual/en/html_node/Synopses-and-Descriptions.html

Oops, sorry. Thanks for the fix. I'll be more careful of that in the 
future.

Best,
Jack

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

end of thread, other threads:[~2018-07-18  2:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-16 17:34 [bug#32176] Add emacs-adoc-mode Jack Hill
2018-07-17 21:59 ` bug#32176: " Leo Famulari
2018-07-18  2:43   ` [bug#32176] " Jack Hill

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.