emacs-devel
[Top][All Lists]
Advanced

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

Re: Another keybinding nit for afterwards


From: Kim F. Storm
Subject: Re: Another keybinding nit for afterwards
Date: Wed, 01 Nov 2006 14:16:39 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux)

David Kastrup <address@hidden> writes:

> 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.


I often find that after using C-y M-y ..., the next time I use C-y, I
usually want to insert the previous head of the kill-ring (as yanked
by the first C-y).  To facilitate this, I want a M-y following the C-y
to only temporarily rotate the kill ring.

To permanently rotate the kill-ring, I would like to use M-y M-y ... (i.e.
start with M-y rather than C-y).

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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