unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#36146] [PATCH 0/4] Add various Emacs packages
@ 2019-06-09 14:07 Alex Griffin
  2019-06-09 14:09 ` [bug#36146] [PATCH 1/4] gnu: Add emacs-elfeed-org Alex Griffin
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Alex Griffin @ 2019-06-09 14:07 UTC (permalink / raw)
  To: 36146

This patch series adds emacs-elfeed-org, emacs-restart-emacs, emacs-mixed-pitch, and emacs-solaire-mode.
-- 
Alex Griffin

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

* [bug#36146] [PATCH 1/4] gnu: Add emacs-elfeed-org.
  2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
@ 2019-06-09 14:09 ` Alex Griffin
  2019-06-09 14:10 ` [bug#36146] [PATCH 2/4] gnu: Add emacs-restart-emacs Alex Griffin
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Alex Griffin @ 2019-06-09 14:09 UTC (permalink / raw)
  To: 36146

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

This patch adds emacs-elfeed-org, an Emacs package that lets you manage your Elfeed subscriptions in Org-mode.
-- 
Alex Griffin

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

From 3c58d376419f16f7362c5325ea5ffb7bfcf7e61f Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:00:05 -0500
Subject: [PATCH 1/4] gnu: Add emacs-elfeed-org.

* gnu/packages/emacs-xyz.scm (emacs-elfeed-org): New variable.
---
 gnu/packages/emacs-xyz.scm | 32 +++++++++++++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7db46e81c5..c1283f1ffd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13,7 +13,7 @@
 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 ;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
-;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2016, 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016, 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
@@ -5209,6 +5209,36 @@ If you want to mark a folder manually as a project just create an empty
 and RSS, with a user interface inspired by notmuch.")
     (license license:gpl3+)))
 
+(define-public emacs-elfeed-org
+  (package
+    (name "emacs-elfeed-org")
+    (version "20181015.1100")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://melpa.org/packages/elfeed-org-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "1bawfxgijlfa4wska2znl69wfdzh53gh9arf180l71fhjlvablaw"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+      `(("emacs-elfeed" ,emacs-elfeed)
+        ("emacs-org" ,emacs-org)
+        ("emacs-dash" ,emacs-dash)
+        ("emacs-s" ,emacs-s)))
+    (home-page "https://github.com/remyhonig/elfeed-org")
+    (synopsis "Configure Elfeed with an Org-mode file")
+    (description
+      "@code{elfeed-org} lets you manage your Elfeed subscriptions
+in Org-mode.  Maintaining tags for all RSS feeds is cumbersome using
+the regular flat list, where there is no hierarchy and tag names are
+duplicated a lot.  Org-mode makes the book keeping of tags and feeds
+much easier.")
+    (license license:gpl3+)))
+
 (define-public emacs-el-x
   (package
     (name "emacs-el-x")
-- 
2.22.0


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

* [bug#36146] [PATCH 2/4] gnu: Add emacs-restart-emacs.
  2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
  2019-06-09 14:09 ` [bug#36146] [PATCH 1/4] gnu: Add emacs-elfeed-org Alex Griffin
@ 2019-06-09 14:10 ` Alex Griffin
  2019-06-09 14:12 ` [bug#36146] [PATCH 3/4] gnu: Add emacs-mixed-pitch Alex Griffin
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: Alex Griffin @ 2019-06-09 14:10 UTC (permalink / raw)
  To: 36146

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

This patch adds emacs-restart-emacs, an Emacs package that provides a command to restart Emacs.
-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-emacs-restart-emacs.patch --]
[-- Type: text/x-patch; name="0002-gnu-Add-emacs-restart-emacs.patch", Size: 1457 bytes --]

From 738315f7907d5415d6229cb6905380e0bc09e5c5 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:00:48 -0500
Subject: [PATCH 2/4] gnu: Add emacs-restart-emacs.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index c1283f1ffd..d1eb877010 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10629,6 +10629,27 @@ macro takes a first argument (whose value must be an alist) and a body.")
 your Emacs.")
       (license license:gpl2+))))
 
+(define-public emacs-restart-emacs
+  (package
+    (name "emacs-restart-emacs")
+    (version "20180601.1031")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://melpa.org/packages/restart-emacs-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "1rpn1881xrgm17hd33ngpzl9wn22f43h5n7d8zf57089hc1lzvrb"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/iqbalansari/restart-emacs")
+    (synopsis "Restart Emacs from within Emacs")
+    (description "This package provides a simple command to restart Emacs from
+within Emacs.")
+    (license license:gpl3+)))
+
 (define-public emacs-sourcemap
   (package
     (name "emacs-sourcemap")
-- 
2.22.0


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

* [bug#36146] [PATCH 3/4] gnu: Add emacs-mixed-pitch.
  2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
  2019-06-09 14:09 ` [bug#36146] [PATCH 1/4] gnu: Add emacs-elfeed-org Alex Griffin
  2019-06-09 14:10 ` [bug#36146] [PATCH 2/4] gnu: Add emacs-restart-emacs Alex Griffin
@ 2019-06-09 14:12 ` Alex Griffin
  2019-06-09 14:13 ` [bug#36146] [PATCH 4/4] gnu: Add emacs-solaire-mode Alex Griffin
  2019-06-10 21:02 ` [bug#36146] [PATCH 0/4] Add various Emacs packages Oleg Pykhalov
  4 siblings, 0 replies; 9+ messages in thread
From: Alex Griffin @ 2019-06-09 14:12 UTC (permalink / raw)
  To: 36146

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

This patch adds emacs-mixed-pitch, an Emacs package that enables mixing variable- and fixed-pitch fonts in the same buffer.
-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0003-gnu-Add-emacs-mixed-pitch.patch --]
[-- Type: text/x-patch; name="0003-gnu-Add-emacs-mixed-pitch.patch", Size: 1680 bytes --]

From 04e4cba42a5233c86ac8ca74f98b2a8b30f664c9 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:01:34 -0500
Subject: [PATCH 3/4] gnu: Add emacs-mixed-pitch.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d1eb877010..eab5fea93d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11607,6 +11607,30 @@ interactive behavior should be different.")
 decreasing the default font size in all GUI Emacs frames.")
       (license license:gpl3+))))
 
+(define-public emacs-mixed-pitch
+  (package
+    (name "emacs-mixed-pitch")
+    (version "1.0.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://stable.melpa.org/packages/mixed-pitch-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "1fw8y8pqvp9z5ipa7a2hvqhjil63mflv04hih7a8k2rrrmhz6qiy"))))
+    (build-system emacs-build-system)
+    (home-page "https://gitlab.com/jabranham/mixed-pitch")
+    (synopsis "Mix variable- and fixed-pitch fonts in the same Emacs buffer")
+    (description
+      "@code{mixed-pitch-mode} is a minor mode that enables mixing
+variable-pitch and fixed-pitch fonts in the same buffer.  The list
+@code{mixed-pitch-fixed-pitch-faces} defines the faces that are kept
+fixed-pitch,everything else becomes variable-pitch.")
+    (license license:gpl3+)))
+
 (define-public emacs-visual-regexp
   (package
     (name "emacs-visual-regexp")
-- 
2.22.0


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

* [bug#36146] [PATCH 4/4] gnu: Add emacs-solaire-mode.
  2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
                   ` (2 preceding siblings ...)
  2019-06-09 14:12 ` [bug#36146] [PATCH 3/4] gnu: Add emacs-mixed-pitch Alex Griffin
@ 2019-06-09 14:13 ` Alex Griffin
  2019-06-10 21:02 ` [bug#36146] [PATCH 0/4] Add various Emacs packages Oleg Pykhalov
  4 siblings, 0 replies; 9+ messages in thread
From: Alex Griffin @ 2019-06-09 14:13 UTC (permalink / raw)
  To: 36146

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

This patch adds emacs-solaire-mode, an Emacs package that gives a different background color to file-visiting buffers.
-- 
Alex Griffin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0004-gnu-Add-emacs-solaire-mode.patch --]
[-- Type: text/x-patch; name="0004-gnu-Add-emacs-solaire-mode.patch", Size: 1754 bytes --]

From ffafc130c431a6bb7fb229048a112a6d5b8ae9bd Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:02:04 -0500
Subject: [PATCH 4/4] gnu: Add emacs-solaire-mode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index eab5fea93d..c470972737 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4093,6 +4093,30 @@ of sixteen colors suitable for a wide range of applications.  Base16 is not a
 single theme but a set of guidelines with numerous implementations.")
     (license license:expat)))
 
+(define-public emacs-solaire-mode
+  (package
+    (name "emacs-solaire-mode")
+    (version "1.0.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append
+               "https://stable.melpa.org/packages/solaire-mode-"
+               version
+               ".el"))
+        (sha256
+          (base32
+            "0v64z243n4zxrv644bjmj3dnk621411hl15ghmy4i2c4ql4cp8fa"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/hlissner/emacs-solaire-mode")
+    (synopsis "Change background of file-visiting buffers in Emacs")
+    (description
+      "@code{solaire-mode} is inspired by editors which visually distinguish
+code-editing windows from sidebars, popups, terminals, ecetera.  It changes the
+background of file-visiting buffers (and certain aspects of the UI) to make
+them easier to distinguish from other, less important buffers.")
+    (license license:expat)))
+
 (define-public emacs-prescient
   (package
     (name "emacs-prescient")
-- 
2.22.0


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

* [bug#36146] [PATCH 0/4] Add various Emacs packages
  2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
                   ` (3 preceding siblings ...)
  2019-06-09 14:13 ` [bug#36146] [PATCH 4/4] gnu: Add emacs-solaire-mode Alex Griffin
@ 2019-06-10 21:02 ` Oleg Pykhalov
  2019-06-10 23:58   ` Alex Griffin
  4 siblings, 1 reply; 9+ messages in thread
From: Oleg Pykhalov @ 2019-06-10 21:02 UTC (permalink / raw)
  To: Alex Griffin; +Cc: 36146

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

Hello Alex,

Thank you for this patch series.

"Alex Griffin" <a@ajgrf.com> writes:

> This patch series adds emacs-elfeed-org, emacs-restart-emacs,
> emacs-mixed-pitch, and emacs-solaire-mode.

melpa.org URLs are not stable: files get modified in place.  For that
reason, we usually refer directly to upstream VCS repositories.  Could
you modify the patch accordingly?

Also running tests for ‘emacs-elfeed-org’ would be a great improvement.

‘emacs-mixed-pitch’ probably has a typo in synopsis - “Mix variable-”.

Oleg.

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

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

* [bug#36146] [PATCH 0/4] Add various Emacs packages
  2019-06-10 21:02 ` [bug#36146] [PATCH 0/4] Add various Emacs packages Oleg Pykhalov
@ 2019-06-10 23:58   ` Alex Griffin
  2019-06-11  0:31     ` Alex Griffin
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Griffin @ 2019-06-10 23:58 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 36146

On Mon, Jun 10, 2019, at 9:03 PM, Oleg Pykhalov wrote:
> melpa.org URLs are not stable: files get modified in place.  For that
> reason, we usually refer directly to upstream VCS repositories.  Could
> you modify the patch accordingly?

I didn't know that, I'll get right on it.

> Also running tests for ‘emacs-elfeed-org’ would be a great improvement.

Elfeed-org uses Cask for testing, just like a great many other Emacs packages. As far as I can tell, though, it hasn't been packaged for Guix yet.

> ‘emacs-mixed-pitch’ probably has a typo in synopsis - “Mix variable-”.

No typo. A phrase like "variable- and mixed-pitch" is correct and commonly understood to be short for "variable-pitch and mixed-pitch".

-- 
Alex Griffin

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

* [bug#36146] [PATCH 0/4] Add various Emacs packages
  2019-06-10 23:58   ` Alex Griffin
@ 2019-06-11  0:31     ` Alex Griffin
  2019-06-13 20:43       ` bug#36146: " Oleg Pykhalov
  0 siblings, 1 reply; 9+ messages in thread
From: Alex Griffin @ 2019-06-11  0:31 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 36146

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

I've attached an updated patch series that uses git references instead of melpa urls.
-- 
Alex Griffin

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

From 3233ea6dcde4f7ac3d6f4125f14d2ea59e43ec0b Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:00:05 -0500
Subject: [PATCH 1/4] gnu: Add emacs-elfeed-org.

* gnu/packages/emacs-xyz.scm (emacs-elfeed-org): New variable.
---
 gnu/packages/emacs-xyz.scm | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7db46e81c5..35613050ea 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13,7 +13,7 @@
 ;;; Copyright © 2016 Matthew Jordan <matthewjordandevops@yandex.com>
 ;;; Copyright © 2016, 2017 Roel Janssen <roel@gnu.org>
 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
-;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
+;;; Copyright © 2016, 2019 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016, 2017, 2018, 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2016, 2017, 2018, 2019 Arun Isaac <arunisaac@systemreboot.net>
@@ -5209,6 +5209,37 @@ If you want to mark a folder manually as a project just create an empty
 and RSS, with a user interface inspired by notmuch.")
     (license license:gpl3+)))
 
+(define-public emacs-elfeed-org
+  (let ((commit "77b6bbf222487809813de260447d31c4c59902c9")
+        (revision "1"))
+    (package
+      (name "emacs-elfeed-org")
+      (version (git-version "20190508" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/remyhonig/elfeed-org.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0a2ibka82xq1dhy2z7rd2y9zhcj8rna8357881yz49wf55ccgm53"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-elfeed" ,emacs-elfeed)
+         ("emacs-org" ,emacs-org)
+         ("emacs-dash" ,emacs-dash)
+         ("emacs-s" ,emacs-s)))
+      (home-page "https://github.com/remyhonig/elfeed-org")
+      (synopsis "Configure Elfeed with an Org-mode file")
+      (description
+       "@code{elfeed-org} lets you manage your Elfeed subscriptions
+in Org-mode.  Maintaining tags for all RSS feeds is cumbersome using
+the regular flat list, where there is no hierarchy and tag names are
+duplicated a lot.  Org-mode makes the book keeping of tags and feeds
+much easier.")
+      (license license:gpl3+))))
+
 (define-public emacs-el-x
   (package
     (name "emacs-el-x")
-- 
2.22.0


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

From 2407a18a663c4d148a1bd7967545fffad00b8149 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:00:48 -0500
Subject: [PATCH 2/4] gnu: Add emacs-restart-emacs.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 35613050ea..92b98cbd19 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10630,6 +10630,28 @@ macro takes a first argument (whose value must be an alist) and a body.")
 your Emacs.")
       (license license:gpl2+))))
 
+(define-public emacs-restart-emacs
+  (let ((commit "9aa90d3df9e08bc420e1c9845ee3ff568e911bd9")
+        (revision "1"))
+    (package
+      (name "emacs-restart-emacs")
+      (version (git-version "20180601" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/iqbalansari/restart-emacs.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "02x1a85k7r95z8091zgjiaj9nf0zvx1jy4xvl3hr12qbnrx1wfav"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/iqbalansari/restart-emacs")
+      (synopsis "Restart Emacs from within Emacs")
+      (description "This package provides a simple command to restart Emacs from
+within Emacs.")
+      (license license:gpl3+))))
+
 (define-public emacs-sourcemap
   (package
     (name "emacs-sourcemap")
-- 
2.22.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0003-gnu-Add-emacs-mixed-pitch.patch --]
[-- Type: text/x-patch; name="0003-gnu-Add-emacs-mixed-pitch.patch", Size: 1695 bytes --]

From 42731790cb678cd74ac2b95fbca80cd2196b179e Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:01:34 -0500
Subject: [PATCH 3/4] gnu: Add emacs-mixed-pitch.

* gnu/packages/emacs-xyz.scm (emacs-mixed-pitch): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 92b98cbd19..03ccd61f1c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11609,6 +11609,29 @@ interactive behavior should be different.")
 decreasing the default font size in all GUI Emacs frames.")
       (license license:gpl3+))))
 
+(define-public emacs-mixed-pitch
+  (package
+    (name "emacs-mixed-pitch")
+    (version "1.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/jabranham/mixed-pitch.git")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1458sy5b6bis1i0k23jdqk6hfqg0ghk637r3ajql2g19ym48rf58"))))
+    (build-system emacs-build-system)
+    (home-page "https://gitlab.com/jabranham/mixed-pitch")
+    (synopsis "Mix variable- and fixed-pitch fonts in the same Emacs buffer")
+    (description
+     "@code{mixed-pitch-mode} is a minor mode that enables mixing
+variable-pitch and fixed-pitch fonts in the same buffer.  The list
+@code{mixed-pitch-fixed-pitch-faces} defines the faces that are kept
+fixed-pitch,everything else becomes variable-pitch.")
+    (license license:gpl3+)))
+
 (define-public emacs-visual-regexp
   (package
     (name "emacs-visual-regexp")
-- 
2.22.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0004-gnu-Add-emacs-solaire-mode.patch --]
[-- Type: text/x-patch; name="0004-gnu-Add-emacs-solaire-mode.patch", Size: 1794 bytes --]

From d5264382911e7b77a76211e57c705d21505042a4 Mon Sep 17 00:00:00 2001
From: Alex Griffin <a@ajgrf.com>
Date: Sun, 9 Jun 2019 09:02:04 -0500
Subject: [PATCH 4/4] gnu: Add emacs-solaire-mode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 03ccd61f1c..d18db93361 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4093,6 +4093,29 @@ of sixteen colors suitable for a wide range of applications.  Base16 is not a
 single theme but a set of guidelines with numerous implementations.")
     (license license:expat)))
 
+(define-public emacs-solaire-mode
+  (package
+    (name "emacs-solaire-mode")
+    (version "1.0.9")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/hlissner/emacs-solaire-mode.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "011m4r7s6i9lgjymh7jgq5jwwrpz4vmpvp3c8d4ix96v5hi04kzg"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/hlissner/emacs-solaire-mode")
+    (synopsis "Change background of file-visiting buffers in Emacs")
+    (description
+     "@code{solaire-mode} is inspired by editors which visually distinguish
+code-editing windows from sidebars, popups, terminals, ecetera.  It changes the
+background of file-visiting buffers (and certain aspects of the UI) to make
+them easier to distinguish from other, less important buffers.")
+    (license license:expat)))
+
 (define-public emacs-prescient
   (package
     (name "emacs-prescient")
-- 
2.22.0


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

* bug#36146: [PATCH 0/4] Add various Emacs packages
  2019-06-11  0:31     ` Alex Griffin
@ 2019-06-13 20:43       ` Oleg Pykhalov
  0 siblings, 0 replies; 9+ messages in thread
From: Oleg Pykhalov @ 2019-06-13 20:43 UTC (permalink / raw)
  To: Alex Griffin; +Cc: 36146-done

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

"Alex Griffin" <a@ajgrf.com> writes:

> I've attached an updated patch series that uses git references instead
> of melpa urls.

Thank you.

>> Also running tests for ‘emacs-elfeed-org’ would be a great improvement.
> 
> Elfeed-org uses Cask for testing, just like a great many other Emacs
> packages. As far as I can tell, though, it hasn't been packaged for
> Guix yet.

Cask is used only for installation of different Emacs versions. I added
a required ‘xtest’ package and found in ‘Makefile’ that tests suite
could be run by calling ‘ert-runner’ with “-L org-mode/lisp” arguments.

Also changed version to 0.1 because no upstream doesn't have a release.

Pushed all patches to master.

Oleg.

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

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

end of thread, other threads:[~2019-06-13 20:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-09 14:07 [bug#36146] [PATCH 0/4] Add various Emacs packages Alex Griffin
2019-06-09 14:09 ` [bug#36146] [PATCH 1/4] gnu: Add emacs-elfeed-org Alex Griffin
2019-06-09 14:10 ` [bug#36146] [PATCH 2/4] gnu: Add emacs-restart-emacs Alex Griffin
2019-06-09 14:12 ` [bug#36146] [PATCH 3/4] gnu: Add emacs-mixed-pitch Alex Griffin
2019-06-09 14:13 ` [bug#36146] [PATCH 4/4] gnu: Add emacs-solaire-mode Alex Griffin
2019-06-10 21:02 ` [bug#36146] [PATCH 0/4] Add various Emacs packages Oleg Pykhalov
2019-06-10 23:58   ` Alex Griffin
2019-06-11  0:31     ` Alex Griffin
2019-06-13 20:43       ` bug#36146: " Oleg Pykhalov

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