emacs-devel
[Top][All Lists]
Advanced

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

Another keybinding nit for afterwards


From: David Kastrup
Subject: Another keybinding nit for afterwards
Date: Fri, 27 Oct 2006 22:58:30 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Hi,

C-y takes a prefix argument where one can indicate what in the
kill-stack to yank.

This is likely rarely used since people will not often remember the
right number.  Instead M-y will normally be used for rotating the
kills around.  M-y refuses to work when the last command has not been
a kill.

I propose changing this in the following manner after the release:

C-y only yanks the top of the kill stack, nothing else.  A prefix
argument will just get used as a multiplicator, like with
self-insert-command.

M-y becomes the command to access the kill stack.  It is _not_
required to follow C-y.  If you don't use it immediately after a yank
command, it will just produce (rather than replace) the top of the
kill stack.

That way, the key sequence for rotating through the stack does not
need to switch between C-y and M-y, and C-y can take a multiplier as a
prefix argument.

I think that is both a more convenient as well as more logical
interface.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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