From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: pasting many times Date: Tue, 24 Oct 2006 06:46:23 -0700 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161697634 887 80.91.229.2 (24 Oct 2006 13:47:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Oct 2006 13:47:14 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 24 15:47:06 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GcMcG-0004uQ-BH for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Oct 2006 15:46:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcMcF-0000LH-Ga for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Oct 2006 09:46:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GcMc1-0000Kj-49 for help-gnu-emacs@gnu.org; Tue, 24 Oct 2006 09:46:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GcMbw-0000JR-61 for help-gnu-emacs@gnu.org; Tue, 24 Oct 2006 09:46:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GcMbv-0000JL-V6 for help-gnu-emacs@gnu.org; Tue, 24 Oct 2006 09:46:31 -0400 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GcMbv-0006Q8-TS for help-gnu-emacs@gnu.org; Tue, 24 Oct 2006 09:46:32 -0400 Original-Received: from rgmsgw01.us.oracle.com (rgmsgw01.us.oracle.com [138.1.186.51]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id k9ODkTXa027185 for ; Tue, 24 Oct 2006 07:46:29 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-82-139.vpn.oracle.com [141.144.82.139]) by rgmsgw01.us.oracle.com (Switch-3.2.4/Switch-3.2.4) with SMTP id k9ODkRIb010442 for ; Tue, 24 Oct 2006 07:46:28 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38239 Archived-At: > I see :) , let me rephrase: My problem isn't much the number of > keystrokes, but an ability to repeat a simple command a certain > number of times, just like C-x RET c RET > . Defining a macro for such a thing just seems to be an > overkill. I have to agree with this. Some years ago, when I was quite green with Emacs and had just learnt how to use C-u together with different commands, I naturally tried to use it together with yank to yank the same text X number of times. To my surprise it did not work as I expected. Of course I know why now, and the reason is that the yank command interprets a numeric prefix command in a different way. Personally I don't think I ever used that functionality in yank, that is, being able to yank an older kill (I don't see how people can keep track of the number of the kill they want, I rather use M-y after doing C-y), although I am sure there are many who love this feature. FWIW, I happen to agree with Mathias. If I want an earlier kill, I use C-y M-y.