From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: copy and paste multiple times Date: Wed, 25 Jan 2012 18:28:55 +0100 Message-ID: <4F203BD7.9070603@easy-emacs.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327512590 13198 80.91.229.12 (25 Jan 2012 17:29:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 17:29:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 25 18:29:46 2012 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 1Rq6fK-0004Y4-0w for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 18:29:46 +0100 Original-Received: from localhost ([::1]:59902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6fJ-0007bR-AB for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jan 2012 12:29:45 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6ev-0006xF-T3 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6en-0002N0-P4 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:21 -0500 Original-Received: from moutng.kundenserver.de ([212.227.17.8]:59909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6en-0002MW-Ee for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:13 -0500 Original-Received: from [192.168.178.27] (brln-4db9e8a7.pool.mediaWays.net [77.185.232.167]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LpDlp-1SVCZY3A6H-00f7Gk; Wed, 25 Jan 2012 18:29:06 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 In-Reply-To: X-Provags-ID: V02:K0:+/ymwIT3Z80+j8ez4q471M0Bo6psPU75Ho4oqPrmTPo sNHSKr/OW+znbRzc1T3UHL6/ymclpC3dAmMxqj0w9TAWJSdtmF 7wLRMSa91UyuEka5Vsz/M4KhmdUS93hrke/qHajjP6KLOQ2quo sf0FSchLsL3Xi2yJ8Fao16KK5BeRQA2hFRmNRVWH9G/uJT/a/0 f4O/vLzZapmOnQMce25DWVsxygjhoAWBujJ/g0+EzphtXZ2DVM 94uZ14LsxRq4z5SRUa0iKnf/c+/eEI/idPVhlOObZyOdmbQ1on AEKusS77kgVnWyDB81yQ6ZGz62kwKgSmVpiEk8xRKghmDeMylx YLPBCNAc1Q+BpO02418y/gBqj2p4MzXLyp2k2WMnp X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.8 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:83555 Archived-At: Am 25.01.2012 18:20, schrieb Rajanikanth Jammalamadaka: > This has been discussed below: > http://stackoverflow.com/questions/71985/emacs-equivalent-of-vims-yy10p > > Is there no built-in (short :-)) command in emacs to copy and paste a > region multiple times? > > Thanks, > Raj > AFAIK not. But is was discussed at this list and several proposals made. Here is mine: (defun yank-repeat (arg) "With numerical ARG, repeat last yank ARG times. " (interactive "p*") (dotimes (i arg) (insert (car kill-ring)))) Andreas -- http://launchpad.net/python-mode http://launchpad.net/s-x-emacs-werkstatt/