[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 7b07cce 18/23: Readme improvements
From: |
Artur Malabarba |
Subject: |
[elpa] master 7b07cce 18/23: Readme improvements |
Date: |
Wed, 30 Sep 2015 12:16:03 +0000 |
branch: master
commit 7b07cce69ecd8d129b365cff3a1232c4e03f2391
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
Readme improvements
---
README.org | 34 ++++++++-------------
rich-minority.el | 84 ++++++++++++++++++++++++++++++++---------------------
2 files changed, 64 insertions(+), 54 deletions(-)
diff --git a/README.org b/README.org
index 4e8054b..dc020e1 100644
--- a/README.org
+++ b/README.org
@@ -11,21 +11,21 @@ in the mode-line.
To activate the enrichment of your minor-modes list, call =M-x
rich-minority-mode=, or add this to your init file:
#+begin_src emacs-lisp
-(rich-minority-mode)
+(rich-minority-mode 1)
#+end_src
By default, this has a couple of small effects (provided as examples)
it is up to you to customize it to your liking with the following
three variables:
-- rm-blacklist :: List of minor mode names that will be hidden
+- ~rm-blacklist~ :: List of minor mode names that will be hidden
from the minor-modes list. Use this to hide *only* a few modes that
- are always active and don't really contribute information.
-- rm-whitelist :: List of minor mode names that are allowed on
+ are always active and don’t really contribute information.
+- ~rm-whitelist~ :: List of minor mode names that are allowed on
the minor-modes list. Use this to hide *all but* a few modes.
-- rm-text-properties :: List text properties to apply to each
+- ~rm-text-properties~ :: List text properties to apply to each
minor-mode lighter. For instance, by default we highlight =Ovwrt=
- with a red face, so you always know if you're in =overwrite-mode=.
+ with a red face, so you always know if you’re in =overwrite-mode=.
** Comparison to Diminish
Diminish is an established player in the mode-line world, who also
@@ -35,24 +35,16 @@ handles the minor-modes list. What can rich-minority /offer
in contrast/?
1. It accepts *regexps*, instead of having to specify each minor-mode
individually;
2. It also offers a *whitelist* behaviour, in addition to the blacklist;
3. It supports *highlighting* specific minor-modes with completely arbitrary
text properties.
-- rich-minority takes a cleaner, functional approach. It doesn't hack
+- rich-minority takes a cleaner, functional approach. It doesn’t hack
into the =minor-mode-alist= variable.
What is rich-minority /missing/?
-1. It doesn't have a quick and simple replacement functionality yet.
- Though, technically, you can set the =display= text property of a
- minor-mode to whatever string you want and that will function as a
- replacement.
-2. Its source comments lack [[http://www.eskimo.com/~seldon/diminish.el][Will
Mengarini's poetry]]. :-)
-** Installation
-
-This package is available fom Melpa, you may install it by calling
-=M-x package-install=.
+1. It doesn’t have a quick and simple replacement functionality yet.
+ Although you can set the =display= property of a minor-mode to
+ whatever string you want and that will function as a replacement.
+2. Its source comments lack [[http://www.eskimo.com/~seldon/diminish.el][Will
Mengarini’s poetry]]. :-)
-Alternatively, you can download it manually, place it in your
-=load-path= and require it with
+** Installation
-#+begin_src emacs-lisp
-(require 'rich-minority)
-#+end_src
+This package is available fom Melpa, you may install it by calling =M-x
package-install=.
diff --git a/rich-minority.el b/rich-minority.el
index 1a3ae64..981bf6b 100644
--- a/rich-minority.el
+++ b/rich-minority.el
@@ -12,53 +12,71 @@
;;; Commentary:
;;
-;; rich-minority-mode
-;; ══════════════════
-;;
;; Emacs package for hiding and/or highlighting the list of minor-modes
;; in the mode-line.
-;;
+;;
+;;
;; Usage
;; ─────
-;;
+;;
;; To activate the enrichment of your minor-modes list, call `M-x
;; rich-minority-mode', or add this to your init file:
-;;
-;; ╭────
+;;
+;; ┌────
;; │ (rich-minority-mode 1)
-;; ╰────
-;;
+;; └────
+;;
;; By default, this has a couple of small effects (provided as examples)
;; it is up to you to customize it to your liking with the following
;; three variables:
-;;
-;; rm-excluded-modes: List of minor mode names that will be hidden from the
-;; minor-modes list. Use this to hide *only* a few modes
-;; that are always active and don't really contribute
-;; information.
-;; rm-included-modes: List of minor mode names that are allowed on the
-;; minor-modes list. Use this to hide *all but* a few
-;; modes.
-;; rm-text-properties: List text properties to apply to each minor-mode
-;; lighter. For instance, by default we highlight
-;; `Ovwrt' with a red face, so you always know if
-;; you're in `overwrite-mode'.
-;;
-;;
+;;
+;; `rm-blacklist': List of minor mode names that will be hidden from the
+;; minor-modes list. Use this to hide *only* a few modes
+;; that are always active and don’t really contribute
+;; information.
+;; `rm-whitelist': List of minor mode names that are allowed on the
+;; minor-modes list. Use this to hide *all but* a few
+;; modes.
+;; `rm-text-properties': List text properties to apply to each minor-mode
+;; lighter. For instance, by default we highlight
+;; `Ovwrt' with a red face, so you always know if
+;; you’re in `overwrite-mode'.
+;;
+;;
+;; Comparison to Diminish
+;; ──────────────────────
+;;
+;; Diminish is an established player in the mode-line world, who also
+;; handles the minor-modes list. What can rich-minority /offer in
+;; contrast/?
+;;
+;; • rich-minority is more versatile:
+;; 1. It accepts *regexps*, instead of having to specify each
+;; minor-mode individually;
+;; 2. It also offers a *whitelist* behaviour, in addition to the
+;; blacklist;
+;; 3. It supports *highlighting* specific minor-modes with completely
+;; arbitrary text properties.
+;; • rich-minority takes a cleaner, functional approach. It doesn’t hack
+;; into the `minor-mode-alist' variable.
+;;
+;; What is rich-minority /missing/?
+;;
+;; 1. It doesn’t have a quick and simple replacement functionality yet.
+;; Although you can set the `display' property of a minor-mode to
+;; whatever string you want and that will function as a replacement.
+;; 2. Its source comments lack [Will Mengarini’s poetry]. :-)
+;;
+;;
+;; [Will Mengarini’s poetry] http://www.eskimo.com/~seldon/diminish.el
+;;
+;;
;; Installation
;; ────────────
-;;
+;;
;; This package is available fom Melpa, you may install it by calling
;; `M-x package-install'.
-;;
-;; Alternatively, you can download it manually, place it in your
-;; `load-path' and require it with
-;;
-;; ╭────
-;; │ (require 'rich-minority)
-;; ╰────
-;;; Change Log:
-;; 0.2 - 2014/12/25 - Fix keymap bug.
+
;;; Code:
(require 'cl-lib)
- [elpa] master updated (a727eab -> 38cb49d), Artur Malabarba, 2015/10/08
- [elpa] master 983d5fa 02/23: File created and working, Artur Malabarba, 2015/10/08
- [elpa] master 10f8aaf 19/23: Stop using obsolete variables. Fix #8, Artur Malabarba, 2015/10/08
- [elpa] master 7b07cce 18/23: Readme improvements,
Artur Malabarba <=
- [elpa] master cc00f17 16/23: Fix keymap bug. Fix Bruce-Connor/smart-mode-line#105, Artur Malabarba, 2015/10/08
- [elpa] master 87c40ea 06/23: In-file doc, Artur Malabarba, 2015/10/08
- [elpa] master 2c8e195 05/23: Implemented the actual minor mode, Artur Malabarba, 2015/10/08
- [elpa] master 4614c55 14/23: Define rich-minority-version, Artur Malabarba, 2015/10/08
- [elpa] master 3b2ead3 12/23: Add comparison to Diminish., Artur Malabarba, 2015/10/08
- [elpa] master bde4f6f 20/23: Fix a bytecomp warning, Artur Malabarba, 2015/10/08
- [elpa] master d2c5a18 03/23: Better documentation and simplified logic, Artur Malabarba, 2015/10/08
- [elpa] master ac66dbd 10/23: Fix bug with rm-included-modes not working., Artur Malabarba, 2015/10/08
- [elpa] master e02f1f2 08/23: Add cl-lib dependency, Artur Malabarba, 2015/10/08
- [elpa] master 49083a0 09/23: No error if using sml., Artur Malabarba, 2015/10/08