On 2014-01-19 12:05 +0800, Darren Hoo wrote:
> some suggestions:

Thanks.

> 1. when unbound keys being pressed, doing a quit(maybe shown on the
> echo area) instead of doing a self-insert? For example, when M-w a is
> pressed, just quit easy-kill and not insert 'a'.

You can get close to what you want by:

(define-key easy-kill-base-map [remap self-insert-command] 'easy-kill-exit)

(put 'easy-kill-exit 'easy-kill-exit t)
(defun easy-kill-exit ()
  (interactive)
  'ignore))

One common use pattern is M-w and then move around to place the copied
text, which should silently exit easy-kill. Most keys should not be
intercept by easy-kill.

> 2. About extend/shrink, can <up> <down> <left> <right> be bounded too,
> these are more intuitive to me than +/-.

You could add these keys to easy-kill-base-map.

Leo

_______________________________________________
gnu-emacs-sources mailing list
gnu-emacs-sources@gnu.org
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to