From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Step0ut Newsgroups: gmane.emacs.help Subject: emacs insert icrement numbers Date: Thu, 17 Aug 2006 03:41:06 -0700 (PDT) Message-ID: <5848953.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1155819553 16877 80.91.229.2 (17 Aug 2006 12:59:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 17 Aug 2006 12:59:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 17 14:59:08 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 1GDhRl-0002zw-2U for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Aug 2006 14:58:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDhRj-0005bD-Uq for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Aug 2006 08:58:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GDfJG-0002cF-3G for help-gnu-emacs@gnu.org; Thu, 17 Aug 2006 06:41:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GDfJE-0002aL-Bk for Help-gnu-emacs@gnu.org; Thu, 17 Aug 2006 06:41:09 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GDfJE-0002aA-69 for Help-gnu-emacs@gnu.org; Thu, 17 Aug 2006 06:41:08 -0400 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GDfPg-0004dT-RW for Help-gnu-emacs@gnu.org; Thu, 17 Aug 2006 06:47:49 -0400 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GDfJC-0000ME-6P for Help-gnu-emacs@gnu.org; Thu, 17 Aug 2006 03:41:06 -0700 Original-To: Help-gnu-emacs@gnu.org X-Mailman-Approved-At: Thu, 17 Aug 2006 08:57:49 -0400 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:36724 Archived-At: 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.