Subject: [bug#37736] [PATCH] gnu: Add emacs-dimmer.

From: Stephen Webber <[email-masked]>
Date: Sun, 13 Oct 2019 10:38:52 -0500

* gnu/packages/emacs-xyz.scm (emacs-dimmer): 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 a55282a0a9..50f797a50c 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2019 Amin Bandali <[email-masked]>
 ;;; Copyright © 2019 Jelle Licht <[email-masked]>
 ;;; Copyright © 2019 Björn Höfling <[email-masked]>
+;;; Copyright © 2019 Stephen Webber <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -18945,3 +18946,28 @@ Emacs that integrate with major modes like Org-mode.")
      "Elixir-Mode Provides font-locking, indentation and navigation support
  for the Elixir programming language.")
     (license license:gpl3+)))
+
+(define-public emacs-dimmer
+  (let ((commit "12fc52a6570ec25020281735f5a0ca780a9105af"))
+    (package
+      (name "emacs-dimmer")
+      (version "0.3.0")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/gonewest818/dimmer.el.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1jv9rrv15nb5hpwcaqlpjj932gyisrkwbv11czkg3v0bn7qn6yif"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/gonewest818/dimmer.el")
+      (synopsis "Visually highlights the selected buffer in Emacs")
+      (description "Dimmer provides a minor mode that indicates which buffer is
+currently active by dimming the faces in the other buffers.  It
+does this nondestructively, and computes the dimmed faces
+dynamically such that your overall color scheme is shown in a muted
+form without requiring you to define what is a \"dim\" version of
+every face.")
+      (license license:gpl3+))))
-- 
2.23.0