unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: storm@cua.dk (Kim F. Storm)
Cc: emacs-devel@gnu.org
Subject: Re: Another keybinding nit for afterwards
Date: Wed, 01 Nov 2006 14:16:39 +0100	[thread overview]
Message-ID: <m3velzfgso.fsf@kfs-l.imdomain.dk> (raw)
In-Reply-To: <85d58dpjbd.fsf@lola.goethe.zz> (David Kastrup's message of "Fri\, 27 Oct 2006 22\:58\:30 +0200")

David Kastrup <dak@gnu.org> 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 <storm@cua.dk> http://www.cua.dk

  parent reply	other threads:[~2006-11-01 13:16 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-27 20:58 Another keybinding nit for afterwards David Kastrup
2006-10-28 10:43 ` Dieter Wilhelm
2006-10-28 18:13 ` Richard Stallman
2006-10-28 18:39   ` Drew Adams
2006-10-29 18:49     ` Richard Stallman
2006-10-28 22:32   ` David Kastrup
2006-10-29 11:53   ` Dieter Wilhelm
2006-10-30 13:33     ` Richard Stallman
2006-10-30 21:36       ` Dieter Wilhelm
2006-11-01  2:13         ` Richard Stallman
2006-11-01  6:13           ` Dieter Wilhelm
2006-11-02 21:46             ` Richard Stallman
2006-10-30 14:04   ` Kim F. Storm
2006-10-30 15:22     ` David Kastrup
2006-10-30 23:27       ` Kim F. Storm
2006-10-31  0:18       ` Richard Stallman
2006-10-31  8:42         ` David Kastrup
2006-11-01  2:14           ` Richard Stallman
2006-10-29 18:43 ` Neil Roberts
2006-10-29 21:02 ` Juri Linkov
2006-10-30 19:16   ` Richard Stallman
2006-11-01 13:16 ` Kim F. Storm [this message]
2006-11-01 14:45   ` Slawomir Nowaczyk
2006-11-01 15:04     ` David Kastrup
2006-12-05 22:37   ` Kim F. Storm
2006-12-05 23:33     ` David Kastrup
2006-12-06  0:27       ` Miles Bader
2006-12-06  9:52         ` Kim F. Storm
2006-12-06 18:44           ` Richard Stallman
2006-12-06 14:24         ` Richard Stallman
2006-12-06  9:35       ` Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3velzfgso.fsf@kfs-l.imdomain.dk \
    --to=storm@cua.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).