emacs-elpa-diffs
[Top][All Lists]
Advanced

[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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]