Path: utzoo!utgpu!attcan!uunet!mcvax!dkuug!freja!seindal From: seindal@freja.dk (Rene' Seindal) Newsgroups: comp.emacs Subject: Re: Inserting 100 zeroes Message-ID: <4023@freja.dk> Date: 1 Sep 88 00:56:36 GMT References: <3999@freja.dk> Organization: DIKU, U of Copenhagen, DK Lines: 25 seindal@freja.dk (Rene' Seindal) writes: >How do I insert one hundred zeroes in a buffer? For any non-digit character I >just do "C-u 1 0 0 ", but of course, this does not work for digits. How >can it be done, less of typing 100 zeroes manually. I have received almost a million letters about this, all saying the same. It appears that there are four ways to do this in GNU emacs. They are: 1. Type 100 zeroes. 2. Type ESC 1 0 0 C-q 0 6 0 3. Type ESC ESC (insert-char ?0 100) 4. Type C-x ( 0 ESC 99 C-x ) None of the solutions are very pleasing. Good thing for us the need seldom arises :-) Anyway, now there has been put so much effort in it: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 Rene' Seindal, CS Dept., U. of Copenhagen, Denmark. (seindal@diku.dk)