help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs insert icrement numbers


From: wenbinye
Subject: Re: emacs insert icrement numbers
Date: 17 Aug 2006 06:23:04 -0700
User-agent: G2/0.2

There is a elisp: gse-number-rect which can do this:
C-u M-x gse-number-rect
Step0ut wrote:
> Hi everyone,
>
> I am using emacs as an editor for c++ and latex.
> I am using the command Ctrl-xrt to insert rectangles (usually numbers) quite
> often.
> My question is:
> Is it possible to insert numbers that increament in each line?
> e.g.  0
>        1
>        2
>        ...
>        99
>
> Alternatively I was also thinking if it is possible to replace an existing
> string (M-x replace-regexp) with an icrement number. It will do the job as
> well.
>
> --
> View this message in context: 
> http://www.nabble.com/emacs-insert-icrement-numbers-tf2120701.html#a5848953
> Sent from the Emacs - Help forum at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]