[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: easy-kill: drop-in replacement for kill-ring-save

From: Dmitry Gutov
Subject: Re: easy-kill: drop-in replacement for kill-ring-save
Date: Tue, 08 Oct 2013 04:37:14 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi Leo,

Leo Liu <address@hidden> writes:
> Package easy-kill.el provides a more powerful command `easy-kill' for
> key M-w.

I've played around with it a bit, and it feels quite comfortable.

There is certain amount of overlap with Magnar Sveen's expand-region,
but easy-kill provides finer controls.

On the other hand, extending it with new "things" will be more
difficult, since each one of them will require a dedicated key and some
headspace estate to remember it. And there's no mechanism to "expand"
the region from smaller to bigger things. Maybe I don't really need
that, though.

The one problem I encountered has to do with the next command expecting
an active region: mc/mark-all-like-this-dwim, from the multiple-cursors
package, uses the active region, if it's present.

With expand-region, the region becomes active as a result, and
mc/mark-all-like-this-dwim marks all occurences of the text in the
region. Not so with easy-kill: the text gets copied to the kill ring,
but the region is inactive, so mc/mark-all-like-this-dwim just uses the
symbol at point.

reply via email to

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