From 9619a95ed8bbc400af6536e9619cf9c65a5833eb Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Thu, 25 May 2017 00:55:22 +0200 Subject: gnu: Add emacs-rainbow-mode. * gnu/packages/emacs.scm (emacs-rainbow-mode): New variable. --- gnu/packages/emacs.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index a59a4ca698..8c3950d31d 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -3248,6 +3248,25 @@ identifiers based on their names. Each identifier gets a color based on a hash of its name.") (license license:bsd-2))) +(define-public emacs-rainbow-mode + (package + (name "emacs-rainbow-mode") + (version "0.12") + (source (origin + (method url-fetch) + (uri (string-append + "http://elpa.gnu.org/packages/rainbow-mode-" version ".el")) + (sha256 + (base32 + "10a7qs7fvw4qi4vxj9n56j26gjk61bl79dgz4md1d26slb2j1c04")))) + (build-system emacs-build-system) + (home-page "http://elpa.gnu.org/packages/rainbow-mode.html") + (synopsis "Colorize color names in buffers") + (description + "This minor mode sets background color to strings that match color +names, e.g. #0000ff is displayed in white with a blue background.") + (license license:gpl3+))) + (define-public emacs-visual-fill-column (package (name "emacs-visual-fill-column") -- cgit v1.2.3 From c10d887dd98f2c8893b3acda10db650c81898134 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 25 May 2017 09:46:51 +0200 Subject: gnu: emacs-exwm: Update to 0.14. * gnu/packages/emacs.scm (emacs-exwm): Update to 0.14. Signed-off-by: Arun Isaac --- gnu/packages/emacs.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 8c3950d31d..4160ead598 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4544,7 +4544,7 @@ It should enable you to implement low-level X11 applications.") (define-public emacs-exwm (package (name "emacs-exwm") - (version "0.13") + (version "0.14") (synopsis "Emacs X window manager") (source (origin (method url-fetch) @@ -4552,7 +4552,7 @@ It should enable you to implement low-level X11 applications.") version ".tar")) (sha256 (base32 - "0n1wzy6chh024r0yaywjbf7mdsrxs6hrfycv5v0ps0drf6q3zldc")))) + "14hjjpbasm84p54fxy73fg7g1fdwqkvisdw8dwwgzkflmd647mkx")))) (build-system emacs-build-system) (propagated-inputs `(("emacs-xelb" ,emacs-xelb))) @@ -4586,12 +4586,9 @@ It should enable you to implement low-level X11 applications.") TryExec=~@*~a~@ Type=Application~%" ,name ,synopsis exwm-executable))) ;; Add a shell wrapper to bin - ;; Set DISPLAY variable to work around - ;; https://github.com/ch11ng/exwm/issues/213 (with-output-to-file exwm-executable (lambda _ (format #t "#!~a ~@ - export DISPLAY=:0 ~@ ~a +SI:localuser:$USER ~@ exec ~a --exit-with-session ~a \"$@\" --eval '~s' ~%" (string-append (assoc-ref inputs "bash") "/bin/sh") -- cgit v1.2.3 From 87c95cb242bded7eb5e43b7bb60ecb77c1a0314c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 25 May 2017 23:23:30 +0530 Subject: gnu: emacs-exwm: Fix 'line too long' lint warning. * gnu/packages/emacs.scm (emacs-exwm): Split line to fix 'line too long' lint warning. --- gnu/packages/emacs.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 4160ead598..dfbb1cedc0 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -4602,7 +4602,8 @@ It should enable you to implement low-level X11 applications.") (require 'exwm) (require 'exwm-config) (exwm-config-default) - (message "exwm configuration not found. Falling back to default configuration...")))))) + (message (concat "exwm configuration not found. " + "Falling back to default configuration..."))))))) (chmod exwm-executable #o555) #t)))))) (home-page "https://github.com/ch11ng/exwm") -- cgit v1.2.3 From 7a0efa77a47a81f8611a753d5a56f4d890ebe9de Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Fri, 26 May 2017 12:29:04 +0200 Subject: gnu: Add emacs-disable-mouse. * gnu/packages/emacs.scm (emacs-disable-mouse): New variable. --- gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages/emacs.scm') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index dfbb1cedc0..a85177d814 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -25,6 +25,7 @@ ;;; Copyright © 2017 Kei Kebreau ;;; Copyright © 2017 George Clemmer ;;; Copyright © 2017 Feng Shu +;;; Copyright © 2017 Jan Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -4853,3 +4854,26 @@ Emacs.") using ERT. It assumes a certain test structure setup and can therefore make running tests easier.") (license license:gpl3+)))) + +(define-public emacs-disable-mouse + (package + (name "emacs-disable-mouse") + (version "0.2") + (source + (origin + (method url-fetch) + (uri (string-append + "https://github.com/purcell/disable-mouse/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0haqpq23r1wx04lsqrrg3p5visg9hx5i36dg55ab003wfsrlrzbc")))) + (build-system emacs-build-system) + (home-page "https://github.com/purcell/disable-mouse") + (synopsis "Disable mouse commands globally") + (description + "Provides @code{disable-mouse-mode} and @code{global-disable-mouse-mode}, +pair of minor modes which suppress all mouse events by intercepting them and +running a customisable handler command (@code{ignore} by default). ") + (license license:gpl3+))) -- cgit v1.2.3