all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: pasting many times
Date: Mon, 23 Oct 2006 23:15:20 +0200	[thread overview]
Message-ID: <87ejsyu42f.fsf@hans.local.net> (raw)
In-Reply-To: <20061023205214.GE30343@radix50.net> (Baurzhan Ismagulov's message of "Mon\, 23 Oct 2006 22\:52\:14 +0200")

Baurzhan Ismagulov <ibr@radix50.net> writes:

> Hello Dieter,

Hi Baurzhan, 8-)

>
> 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 <charset> RET <command>. Defining a macro
> for such a thing just seems to be an overkill.

C-x z (repeat) and then just zzzzzz (assuming Emacs 22.0.50).

>
>
>> 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 ;) .
>

Yes, totally right!  Sorry, I'm a touch typist and forgot that some
guys are able to leave the home position of the keypad ;-).

>
>> > 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?
>

No it isn't, M-5 9 C-y means that the command returns the 59th
previous entry of the kill-ring list.

(length kill-ring)60
M-100 C-y seems to circle through the kill-ring.

>
>> 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.
>

Why on earth do you need to paste the same paragraph 59 fold?

>
>> Do you intend to modify the 59 fold copied text afterwards?
>
> Yes, why?

maybe there is a better solution for the complete problem, maybe we
could change something with C-M-% automagically?

Maybe it makes more sense to copy and edit the paragraphs more
incrementally?

>
>

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

  reply	other threads:[~2006-10-23 21:15 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.157.1161613927.27805.help-gnu-emacs@gnu.org>
2006-10-23 15:31 ` pasting many times Holger Sparr
2006-10-23 16:14   ` Baurzhan Ismagulov
2006-10-23 19:55     ` Dieter Wilhelm
2006-10-23 20:52       ` Baurzhan Ismagulov
2006-10-23 21:15         ` Dieter Wilhelm [this message]
2006-10-24 19:36           ` Baurzhan Ismagulov
     [not found]       ` <mailman.179.1161636720.27805.help-gnu-emacs@gnu.org>
2006-10-24  8:54         ` Mathias Dahl
2006-10-24 13:46           ` Drew Adams
2006-10-24 20:13             ` Dieter Wilhelm
2006-10-24 20:22               ` Drew Adams
2006-10-24 21:22                 ` Dieter Wilhelm
     [not found]               ` <mailman.210.1161721351.27805.help-gnu-emacs@gnu.org>
2006-10-25 18:09                 ` rgb
2006-10-26 17:02                   ` Shanks N
     [not found]                   ` <mailman.281.1161883844.27805.help-gnu-emacs@gnu.org>
2006-10-26 17:49                     ` David Kastrup
2006-10-27 17:39                       ` Dieter Wilhelm
2006-10-27 19:09                       ` Sam Peterson
     [not found]     ` <mailman.171.1161633348.27805.help-gnu-emacs@gnu.org>
2006-10-24  6:03       ` Holger Sparr
     [not found] <mailman.227.1161762333.27805.help-gnu-emacs@gnu.org>
2006-10-25  8:20 ` spamfilteraccount
2006-10-25  9:13   ` Sam Peterson
2006-10-25 15:22   ` Drew Adams
2006-10-25 12:18 ` Florian Kaufmann
2006-10-25 12:49   ` Holger Sparr
2006-10-25 14:21     ` Florian Kaufmann
2006-10-25 15:18       ` Holger Sparr
2006-10-25 18:54         ` Colin S. Miller
2006-10-26  7:49           ` Holger Sparr
2006-10-26 18:24             ` Colin S. Miller
2006-10-27  7:42               ` Holger Sparr
2006-10-28  5:17                 ` don provan
2006-10-28 10:13                   ` Colin S. Miller
2006-10-25  7:45 Bourgneuf Francois
2006-10-25 19:57 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2006-10-23 14:32 Baurzhan Ismagulov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ejsyu42f.fsf@hans.local.net \
    --to=dieter@duenenhof-wilhelm.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.