[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 47/77: Doc fix and small tweaks
From: |
Leo Liu |
Subject: |
[elpa] 47/77: Doc fix and small tweaks |
Date: |
Sat, 05 Apr 2014 04:08:21 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 8bcdde864233b6c3060cccfc9c8cc7d36af99826
Author: Leo Liu <address@hidden>
Date: Mon Oct 14 10:11:39 2013 +0800
Doc fix and small tweaks
---
README.rst | 1 +
easy-kill.el | 11 ++++++-----
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/README.rst b/README.rst
index 0c8b565..4306c63 100644
--- a/README.rst
+++ b/README.rst
@@ -26,6 +26,7 @@ Keys (customisable) immediately following ``easy-kill``:
#. ``C-w`` -> kill selection
#. ``+``, ``-`` and ``0..9`` -> expand/shrink selection
#. ``SPC`` -> turn selection into an active region
+#. ``C-g`` -> abort
The following `screenshot <http://i.imgur.com/8TNgPly.png>`_ shows
``M-w l`` in action:
diff --git a/easy-kill.el b/easy-kill.el
index 54fbf15..778c95a 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -51,11 +51,11 @@ CHAR is used immediately following `easy-kill' to select
THING."
:type '(repeat symbol)
:group 'killing)
-(defface easy-kill-selection '((t (:inherit 'secondary-selection)))
+(defface easy-kill-selection '((default (:inherit 'secondary-selection)))
"Faced used to highlight kill candidate."
:group 'killing)
-(defface easy-kill-origin '((t (:inverse-video t :inherit 'error)))
+(defface easy-kill-origin '((default (:inverse-video t :inherit 'error)))
"Faced used to highlight the origin."
:group 'killing)
@@ -316,10 +316,11 @@ Temporally activate additional key bindings as follows:
letters => select or expand selection according to `easy-kill-alist';
0..9 => expand selection by that number;
- +,=/- => expand or shrink selection
- @ => append selection to previous kill
+ +,=/- => expand or shrink selection;
+ @ => append selection to previous kill;
C-w => kill selection;
- SPC => turn selection into an active region
+ SPC => turn selection into an active region;
+ C-g => abort;
others => save selection and exit."
(interactive "p")
(if (use-region-p)
- [elpa] 37/77: Make easy-kill-backward-up work better when in strings, (continued)
- [elpa] 37/77: Make easy-kill-backward-up work better when in strings, Leo Liu, 2014/04/05
- [elpa] 38/77: Fix #3: Add command easy-mark for marking, Leo Liu, 2014/04/05
- [elpa] 39/77: Fix doc and buglets in last change, Leo Liu, 2014/04/05
- [elpa] 40/77: Some improvements based on comments in #3, Leo Liu, 2014/04/05
- [elpa] 42/77: Must reference the actual object in easy-kill-candidate, Leo Liu, 2014/04/05
- [elpa] 43/77: Add new command easy-mark-sexp, Leo Liu, 2014/04/05
- [elpa] 41/77: Tell easy-kill-append to deactivate-mark, Leo Liu, 2014/04/05
- [elpa] 44/77: Fix #7: Add new command easy-kill-abort for key C-g, Leo Liu, 2014/04/05
- [elpa] 45/77: Better origin indicator by easy-kill-indicate-origin, Leo Liu, 2014/04/05
- [elpa] 46/77: Teach easy-kill-abort to deactivate mark immediately, Leo Liu, 2014/04/05
- [elpa] 47/77: Doc fix and small tweaks,
Leo Liu <=
- [elpa] 49/77: Work with `sexp' and `list' in nxml mode, Leo Liu, 2014/04/05
- [elpa] 52/77: Use filter-buffer-substring, Leo Liu, 2014/04/05
- [elpa] 51/77: Fix quoting error in face definitions, Leo Liu, 2014/04/05
- [elpa] 50/77: Fix last change to easy-kill-backward-up, Leo Liu, 2014/04/05
- [elpa] 55/77: Fix easy-kill-backward-down to handle prefix chars, Leo Liu, 2014/04/05
- [elpa] 48/77: Make command easy-kill-append work for easy-mark, Leo Liu, 2014/04/05
- [elpa] 57/77: Fix to always display the string candidate, Leo Liu, 2014/04/05
- [elpa] 58/77: Emacs 24.x compatibility, Leo Liu, 2014/04/05
- [elpa] 53/77: Destroy after-string before goto-char in easy-kill-abort, Leo Liu, 2014/04/05
- [elpa] 54/77: Better control of message emission in an easy-kill session, Leo Liu, 2014/04/05