[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Another keybinding nit for afterwards
From: |
Dieter Wilhelm |
Subject: |
Re: Another keybinding nit for afterwards |
Date: |
Sat, 28 Oct 2006 12:43:57 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
>
> 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.
Thank you David for taking this subject from gnu-emacs-help to
emacs-devel. (gmane.emacs.help:38196)
> 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.
I suggest that M-y should inserts the second entry of the kill-ring by
default, this would be in the line of the previous usage (without--of
course--the need to type C-y beforehand), the first entry in the
kill-ring could be accessed by the argument 0 (C style counting).
Otherwise C-y and M-y would have an unnecessary overlap, in my
opinion.
> 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.
Moreover, it's an extension of the functionality!
--
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany