summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJoseph LaFreniere <joseph@lafreniere.xyz>2019-06-23 02:53:22 -0500
committerLudovic Courtès <ludo@gnu.org>2019-07-03 12:03:07 +0200
commitf20d86523915584d7ed65b4ad969d96cb22a244e (patch)
treee759e4ef4ec91d1cffe3011efe0d305adaf8ace0 /gnu/packages
parent1362e529071e27d0247e07b736440cc38c96a1a4 (diff)
downloadpatches-f20d86523915584d7ed65b4ad969d96cb22a244e.tar
patches-f20d86523915584d7ed65b4ad969d96cb22a244e.tar.gz
gnu: Add emacs-minions.
* gnu/packages/emacs-xyz.scm (emacs-minions): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d337700914..b6051c0ac1 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -433,6 +433,38 @@ these arguments. The prototypical use is for the command to call an external
process, passing on the arguments as command line arguments.")
(license license:gpl3+)))
+(define-public emacs-minions
+ (package
+ (name "emacs-minions")
+ (version "0.3.1")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/tarsius/minions.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0q2y37zfxlbfvgdn70ikg3abp8vljna4ir9nyqlz1awmz5i1c43s"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)))
+ (home-page "https://github.com/tarsius/minions")
+ (synopsis "Minor-mode menu for the mode line")
+ (description
+ "This package implements a menu that lists enabled minor-modes, as well
+as commonly but not currently enabled minor-modes. It can be used to toggle
+local and global minor-modes, to access mode-specific menus, and to get help
+about modes.
+
+This menu is intended as a replacement for the incomplete yet wide list of
+enabled minor-modes that is displayed in the mode line by default. To use the
+menu like this, enable Minions mode.
+
+Alternatively the menu can be bound globally, for example:
+@code{(global-set-key [S-down-mouse-3] 'minions-minor-modes-menu)}.")
+ (license license:gpl3+)))
+
(define-public emacs-treepy
(package
(name "emacs-treepy")