From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help Subject: Re: Repeat count for yanking Date: Thu, 21 Jul 2011 23:39:58 +0200 Message-ID: <871uxjb9e9.fsf@dod.no> References: <87vcvhou8s.fsf@micropit.couberia.bzh> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1311284417 12073 80.91.229.12 (21 Jul 2011 21:40:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 21 Jul 2011 21:40:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 21 23:40:14 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qk0ya-0004VO-DD for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 23:40:12 +0200 Original-Received: from localhost ([::1]:49661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk0yZ-0000tg-Tk for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Jul 2011 17:40:11 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk0yU-0000rv-QK for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 17:40:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qk0yS-0000aA-KN for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 17:40:06 -0400 Original-Received: from rainey.bang.priv.no ([212.110.185.190]:54436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qk0yS-0000a0-Ab for help-gnu-emacs@gnu.org; Thu, 21 Jul 2011 17:40:04 -0400 In-Reply-To: <87vcvhou8s.fsf@micropit.couberia.bzh> ("Peter =?iso-8859-1?Q?M=FCnster=22's?= message of "Tue, 05 Jul 2011 13:13:39 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.1 (gnu/linux) X-SA-Exim-Connect-IP: 93.179.7.229 X-SA-Exim-Rcpt-To: too long (recipient list exceeded maximum allowed size of 8 bytes) X-SA-Exim-Mail-From: sb@dod.no X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:51:10 +0000) X-SA-Exim-Scanned: Yes (on rainey.bang.priv.no) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 212.110.185.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81712 Archived-At: >>>>> pmlists@free.fr (Peter M=FCnster): > You can put the yank into a keyboard macro and use the prefix argument > to call the macro 100 times. That would be `C-x ( C-y C-x )' to define the macro (and as a side effect do a single yank), and then `C-u 99 C-x e' to execute the macro 99 times (to get the remaining 99 yanks). It's less effort than you might think, since creating a keyboard macro for a repetitive task, is something you do frequently once you've discovered it (at least I did).