From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?q?Fran=E7ois_Fleuret?= Newsgroups: gmane.emacs.help Subject: Re: Yanking multiple times Date: 29 May 2003 01:55:22 +0200 Organization: I.N.R.I.A Rocquencourt 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 1054167586 32724 80.91.224.249 (29 May 2003 00:19:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 May 2003 00:19:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Thu May 29 02:19:45 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 19LB8z-0008Vf-00 for ; Thu, 29 May 2003 02:19:45 +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 19LB0S-0007Jv-KH for gnu-help-gnu-emacs@m.gmane.org; Wed, 28 May 2003 20:10:56 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!freenix!jussieu.fr!crihan.fr!univ-rennes1.fr!irisa.fr!news-rocq.inria.fr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: wasabi.inria.fr Original-X-Trace: news-rocq.inria.fr 1054166122 24162 128.93.23.201 (28 May 2003 23:55:22 GMT) Original-X-Complaints-To: usenet@inria.fr Original-NNTP-Posting-Date: Wed, 28 May 2003 23:55:22 +0000 (UTC) X-Attribution: FF X-Url: http://www-rocq.inria.fr/~fleuret User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-Xref: shelby.stanford.edu gnu.emacs.help:113816 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:10310 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10310 Good evening, 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 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). Regards, -- François Fleuret