From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baurzhan Ismagulov Newsgroups: gmane.emacs.help Subject: Re: pasting many times Date: Mon, 23 Oct 2006 22:52:14 +0200 Message-ID: <20061023205214.GE30343@radix50.net> References: <20061023161409.GH12474@radix50.net> <87mz7mu7s9.fsf@hans.local.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1161636763 29799 80.91.229.2 (23 Oct 2006 20:52:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Oct 2006 20:52:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 23 22:52:40 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 1Gc6mU-00042U-Eb for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 22:52:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc6mT-0003DS-Sf for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Oct 2006 16:52:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gc6m4-00038E-Ip for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:51:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gc6m0-000319-DX for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:51:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gc6lz-00030z-Vt for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:51:52 -0400 Original-Received: from [151.189.21.43] (helo=mail-in-03.arcor-online.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gc6lz-0004bg-Le for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 16:51:52 -0400 Original-Received: from mail-in-03-z2.arcor-online.net (mail-in-03-z2.arcor-online.net [151.189.8.15]) by mail-in-03.arcor-online.net (Postfix) with ESMTP id 2625334270E for ; Mon, 23 Oct 2006 22:51:49 +0200 (CEST) Original-Received: from mail-in-11.arcor-online.net (mail-in-11.arcor-online.net [151.189.21.51]) by mail-in-03-z2.arcor-online.net (Postfix) with ESMTP id 172AC2890E8 for ; Mon, 23 Oct 2006 22:51:49 +0200 (CEST) Original-Received: from alatau.radix50.net (dslb-088-064-023-108.pools.arcor-ip.net [88.64.23.108]) by mail-in-11.arcor-online.net (Postfix) with ESMTP id C7288113BC for ; Mon, 23 Oct 2006 22:51:48 +0200 (CEST) Original-Received: from alatau.radix50.net (localhost [127.0.0.1]) by alatau.radix50.net (8.13.8/8.13.8/Debian-2) with ESMTP id k9NKqFoE006596 for ; Mon, 23 Oct 2006 22:52:15 +0200 Original-Received: (from ibr@localhost) by alatau.radix50.net (8.13.8/8.13.8/Submit) id k9NKqEla006595 for help-gnu-emacs@gnu.org; Mon, 23 Oct 2006 22:52:14 +0200 Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87mz7mu7s9.fsf@hans.local.net> User-Agent: Mutt/1.5.13 (2006-08-11) 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:38221 Archived-At: Hello Dieter, On Mon, Oct 23, 2006 at 09:55:02PM +0200, Dieter Wilhelm wrote: > I think it's not fair to the other editors to claim that you only need > 3 keystrokes in vi, you often have to change the modes in your > session, that represents only in the best case. 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. > We would need some modifier keys as well and this would result in at > least 7 keystrokes unfortunately. Not if I bind it to F12, and Viper seems to deserve that ;) . > > there was a combination like M-5 M-9 ?-? C-y. > > I can't imagine this. Ah, perhaps that was MultiEdit. BTW, is the argument of C-y ignored? > But I've another idea assuming you wan't to have 59 additional lines > with some text! > > Instead of copying the text (to the kill ring) mark it with C-x . as a > fill prefix, place the cursor to a line beginning at your choosing and > type M-5 9 C-o. Here we are with 5 keystrokes. Thanks, this works for one line. However, I needed several lines. > Do you intend to modify the 59 fold copied text afterwards? Yes, why? With kind regards, Baurzhan.