From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Balaji Venkataraman Newsgroups: gmane.emacs.help Subject: Re: Yanking multiple times Date: Thu, 29 May 2003 01:36:36 GMT Organization: AT&T Broadband Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <8an0h6vehl.fsf@sm.intel.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1054172339 31097 80.91.224.249 (29 May 2003 01:38:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 01:38:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 03:38:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19LCNd-00085O-00 for ; Thu, 29 May 2003 03:38:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19LCOv-0002vb-6X for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 21:40:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi_feed4!attbi.com!sccrnsc03.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:8G6gQLVQgs3lqUEw4SMt3YPClEU= Original-Lines: 25 Original-NNTP-Posting-Host: 12.246.4.34 Original-X-Complaints-To: abuse@attbi.com Original-X-Trace: sccrnsc03 1054172196 12.246.4.34 (Thu, 29 May 2003 01:36:36 GMT) Original-NNTP-Posting-Date: Thu, 29 May 2003 01:36:36 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:113818 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:10312 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10312 On 29 May 2003 01:55:22 +0200, François Fleuret wrote: > Balaji Venkataraman wrote on 29 May 2003 00:27:34 MET: > >> How does one yank the same line multiple times? e.g. - do a C-a, C-k and >> then paste the same line 20 times (of course I don't want to hit C-y 20 >> times). I understand that a numeric argument to C-y, goes back into the >> kill-ring by that much, rather than repeat the command. > > C-u 2 0 C-y The line below is from info "C-h C-f kill-ring-save" Any other sort of argument, including `C-u' and digits, specifies an earlier kill to yank (*note Earlier Kills::). > should do it. More generally, many keys can be "repeted" several times > by using the "universal argument". This is especially usefull for > macros (C-x e). I'm aware of this. Thanks anyway! -- Remember 2 + 2 = 5, for large values of 2