From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Another keybinding nit for afterwards Date: Wed, 01 Nov 2006 14:16:39 +0100 Message-ID: References: <85d58dpjbd.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1162387276 6399 80.91.229.2 (1 Nov 2006 13:21:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Nov 2006 13:21:16 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 01 14:21:07 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GfG0i-0002Wy-6O for ged-emacs-devel@m.gmane.org; Wed, 01 Nov 2006 14:20:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfG0h-0006Q1-JZ for ged-emacs-devel@m.gmane.org; Wed, 01 Nov 2006 08:20:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GfFyH-0004Qx-Hd for emacs-devel@gnu.org; Wed, 01 Nov 2006 08:17:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GfFyC-0004NT-G3 for emacs-devel@gnu.org; Wed, 01 Nov 2006 08:17:33 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GfFyC-0004NB-2L for emacs-devel@gnu.org; Wed, 01 Nov 2006 08:17:28 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GfFy5-0004Jq-8R; Wed, 01 Nov 2006 08:17:21 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx19.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id 3B7008A0065; Wed, 1 Nov 2006 14:17:12 +0100 (CET) Original-To: David Kastrup In-Reply-To: <85d58dpjbd.fsf@lola.goethe.zz> (David Kastrup's message of "Fri\, 27 Oct 2006 22\:58\:30 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61542 Archived-At: David Kastrup 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 http://www.cua.dk