Patchwork gnu: Add emacs-emms-mode-line-cycle.

login
register
mail settings
Submitter Ricardo Wurmus
Date Nov. 17, 2016, 1:03 p.m.
Message ID <20161117130321.23891-1-rekado@elephly.net>
Download mbox | patch
Permalink /patch/17543/
State New
Headers show

Comments

Ricardo Wurmus - Nov. 17, 2016, 1:03 p.m.
* gnu/packages/emacs.scm (emacs-emms-mode-line-cycle): New variable.
---
 gnu/packages/emacs.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Ludovic Courtès - Nov. 21, 2016, 8:46 a.m.
Ricardo Wurmus <rekado@elephly.net> skribis:

> * gnu/packages/emacs.scm (emacs-emms-mode-line-cycle): New variable.

LGTM!

(Looks pretty cool!)

Ludo’.
Ricardo Wurmus - Nov. 21, 2016, 11:03 a.m.
Ludovic Courtès <ludo@gnu.org> writes:

> Ricardo Wurmus <rekado@elephly.net> skribis:
>
>> * gnu/packages/emacs.scm (emacs-emms-mode-line-cycle): New variable.
>
> LGTM!
>
> (Looks pretty cool!)

Thanks.  Pushed as 2316078a4e64da0d6eee309e54f4b61c5b6cf30c.

Patch

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index a065959..13b3bf5 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1031,6 +1031,29 @@  light user interface.")
 and seeking.")
     (license license:gpl3+)))
 
+(define-public emacs-emms-mode-line-cycle
+  (package
+    (name "emacs-emms-mode-line-cycle")
+    (version "0.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/momomo5717/emms-mode-line-cycle"
+                           "/archive/" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ifszi930pnaxk1x8pcydmvnp06868gc7nfx14q17zbajbx735k6"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emms" ,emms)))
+    (home-page "https://github.com/momomo5717/emms-mode-line-cycle")
+    (synopsis "Display the EMMS mode line as a ticker")
+    (description
+     "This is a minor mode for updating the EMMS mode-line string cyclically
+within a specified width.  It is useful for displaying long track titles.")
+    (license license:gpl3+)))
+
 
 ;;;
 ;;; Miscellaneous.