From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Column replace Date: Tue, 12 Jun 2007 13:11:03 +0200 Message-ID: <8D862A45-5FD6-4E29-BCDF-5228C1AB99B4@web.de> References: <1181638134.131187.199190@i13g2000prf.googlegroups.com> <45BFC694-17D7-47E9-BD3B-F5FDE5E15952@Web.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181646703 7168 80.91.229.12 (12 Jun 2007 11:11:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 11:11:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Enchanter To: Juanma Barranquero Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 13:11:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hy4Hi-0006EN-S9 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 13:11:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy4Hi-0003y2-7P for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 07:11:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hy4HG-0003hW-T4 for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 07:11:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hy4HF-0003gn-Bz for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 07:11:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy4HF-0003gi-4Z for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 07:11:09 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hy4HE-0006hw-NV for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 07:11:08 -0400 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate02.web.de (Postfix) with ESMTP id 5960E86C88F6; Tue, 12 Jun 2007 13:11:06 +0200 (CEST) Original-Received: from [62.134.234.182] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1Hy4HC-0006si-00; Tue, 12 Jun 2007 13:11:06 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19Mngg1VhyRph30EACkauqPJT2cDO9ghWFHHEuT xyPkLfNXgaJjnoC4OJ4OI9jB4Yz4tPXsG7VgH5P5G74+fsD6QM chyExKNDxsa/EtLm/5HA== X-detected-kernel: Linux 2.4-2.6 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:44918 Archived-At: Am 12.06.2007 um 12:54 schrieb Juanma Barranquero: > But what if the result shoud be > > text ts100 > text ts101 > ... M-x replace-regexp RET ^.*$ RET \&\,(+ 100 \#) RET \# stands for replace-count. The TO expression can contain in GNU Emacs 22 a function, with formats or such. -- Greetings Pete === -Q ==<__/% >> _____________(_)____@_____________________________