[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 56/77: Doc fix and release v0.9.0
From: |
Leo Liu |
Subject: |
[elpa] 56/77: Doc fix and release v0.9.0 |
Date: |
Sat, 05 Apr 2014 04:08:24 +0000 |
leoliu pushed a commit to branch master
in repository elpa.
commit 6a737af5af8b8b20f87b3099b9cc88c179c37aa1
Author: Leo Liu <address@hidden>
Date: Wed Oct 16 12:00:57 2013 +0800
Doc fix and release v0.9.0
---
README.rst | 27 +++++++++++++++++++++------
easy-kill.el | 13 ++++++++++++-
2 files changed, 33 insertions(+), 7 deletions(-)
diff --git a/README.rst b/README.rst
index 3ab89b8..b9614a0 100644
--- a/README.rst
+++ b/README.rst
@@ -2,11 +2,14 @@
Kill Things Easily in Emacs
=============================
-Commands ``easy-kill`` and ``easy-mark`` let users kill/mark things at
-point easily.
+Provide commands (``easy-kill``, ``easy-mark`` etc.) to let users kill
+or mark things easily.
+
+easy-kill
+~~~~~~~~~
``easy-kill`` is a drop-in replacement for ``kill-ring-save``. It
-tries in order:
+saves something to ``kill-ring`` in this order:
#. current region if active
#. url at point (snarf char properties ``help-echo``, ``shr-url``,
@@ -14,7 +17,8 @@ tries in order:
#. email at point
#. current line
-Keys (customisable) immediately following ``easy-kill``:
+Immediately following ``easy-kill``, the follow keys are temporarily
+active:
#. ``w`` -> word at point
#. ``s`` -> sexp at point
@@ -28,13 +32,23 @@ Keys (customisable) immediately following ``easy-kill``:
#. ``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:
+Any other keys exit the temporary keymap. See ``M-w l`` in action in
+`screenshot <http://i.imgur.com/8TNgPly.png>`_:
.. figure:: http://i.imgur.com/8TNgPly.png
:target: http://i.imgur.com/8TNgPly.png
:alt: ``M-w l``
+easy-mark
+~~~~~~~~~
+
+``easy-mark`` is similar to ``easy-kill`` but marks the region
+immediately.
+
+``easy-mark-sexp`` can be a handy replacement for ``mark-sexp``, which
+allows +,=/- to do list-wise expanding/shrinking and marks the
+whole sexp even when in the middle of one.
+
To Use
~~~~~~
@@ -45,6 +59,7 @@ To Use
(require 'easy-kill)
(global-set-key [remap kill-ring-save] 'easy-kill)
+ (global-set-key [remap mark-sexp] 'easy-mark-sexp)
Extensions
~~~~~~~~~~
diff --git a/easy-kill.el b/easy-kill.el
index 1661bd3..8ae29e3 100644
--- a/easy-kill.el
+++ b/easy-kill.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2013 Leo Liu
;; Author: Leo Liu <address@hidden>
-;; Version: 0.8.0
+;; Version: 0.9.0
;; Package-Requires: ((emacs "24"))
;; Keywords: convenience
;; Created: 2013-08-12
@@ -28,6 +28,17 @@
;;
;; To use: (global-set-key [remap kill-ring-save] 'easy-kill)
+;; `easy-mark' is similar to `easy-kill' but marks the region
+;; immediately.
+;;
+;; `easy-mark-sexp' can be a handy replacement for `mark-sexp' which
+;; allows you to use +,=/- to do list-wise expanding/shrinking.
+;;
+;; To use: (global-set-key [remap mark-sexp] 'easy-mark-sexp)
+
+;; Please send bug reports or feature requests to:
+;; https://github.com/leoliu/easy-kill/issues
+
;;; Code:
(eval-when-compile (require 'cl))
- [elpa] 50/77: Fix last change to easy-kill-backward-up, (continued)
- [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
- [elpa] 63/77: Teach easy-kill-activate-keymap to handle command remapping, Leo Liu, 2014/04/05
- [elpa] 59/77: Doc fix, Leo Liu, 2014/04/05
- [elpa] 64/77: Teach easy-kill to handle rectangle-mark from Emacs trunk, Leo Liu, 2014/04/05
- [elpa] 56/77: Doc fix and release v0.9.0,
Leo Liu <=
- [elpa] 61/77: Optimise easy-kill-thing-forward when n is 0, Leo Liu, 2014/04/05
- [elpa] 62/77: Small tweak to easy-kill-on-nxml-element, Leo Liu, 2014/04/05
- [elpa] 60/77: Make easy-kill-on-buffer-file-name do nothing in easy-mark, Leo Liu, 2014/04/05
- [elpa] 68/77: Fix easy-kill-append to update clipboard, Leo Liu, 2014/04/05
- [elpa] 65/77: Fix #8: Don't strip trailing blank chars, Leo Liu, 2014/04/05
- [elpa] 67/77: New handler for defun-name and bind it to `D', Leo Liu, 2014/04/05
- [elpa] 66/77: Fix #9: Work around fixed bug in thingatpt.el, Leo Liu, 2014/04/05
- [elpa] 71/77: In no case should easy-kill-activate-keymap err, Leo Liu, 2014/04/05
- [elpa] 70/77: Adapt to upstream change, Leo Liu, 2014/04/05
- [elpa] 72/77: Rename easy-kill-backward-down to easy-kill-forward-down, Leo Liu, 2014/04/05