From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.help Subject: Review easy-kill.el Date: Wed, 02 Apr 2014 12:54:58 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1396531293 403 80.91.229.3 (3 Apr 2014 13:21:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 13:21:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 15:21:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVgc8-0002W3-4q for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 14:19:24 +0200 Original-Received: from localhost ([::1]:43756 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVgc7-0002Dt-Mz for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 08:19:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVgbr-0002Cr-FN for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 08:19:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVgbl-0007Sz-Hd for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 08:19:07 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:44371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVgbl-0007Sn-Af for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 08:19:01 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WVfhp-0002hs-Tv for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 13:21:14 +0200 Original-Received: from 222.130.177.137 ([222.130.177.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2014 13:21:13 +0200 Original-Received: from sdl.web by 222.130.177.137 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Apr 2014 13:21:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 222.130.177.137 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5) Cancel-Lock: sha1:tULPBI+pa3YBWPHwhQo13VqXrPs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96931 Archived-At: Hi there, Easy-Kill will be placed in GNU ELPA soon, so I'd like to take this opportunity to collect the community's help on improving it. The package lives at https://github.com/leoliu/easy-kill Features: 1. support both killing and marking 2. line-wise, list-wise and defun-wise expansion and shrinking 3. extension through thingatpt.el or user-defined functions 4. support list-wise expansion for smie-based modes, lispy modes, js2 and nxml modes (more modes will be added) Usage example (use killing for example, marking command is similar): Assume: (global-set-key [remap kill-ring-save] 'easy-kill) M-w e => kill current line repeat `e' to expand the kill line-wise `+' and `-' to expand/shrink the kill line-wise M-w s => kill current sexp repeat `s' to expand the kill to include the next sexp `+' and `-' to expand/shrink the kill list-wise M-w d => kill current defun repeat `d' to expand the kill to include next defun `+' and `-' to expand/shrink the kill defun-wise Any comments on the package? Thanks for your time. Leo