From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: Column replace Date: Tue, 12 Jun 2007 11:55:06 +0200 Message-ID: References: <1181638134.131187.199190@i13g2000prf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1181642126 20698 80.91.229.12 (12 Jun 2007 09:55:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 09:55:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Enchanter Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 11:55:25 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 1Hy35w-0000WX-SX for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 11:55:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy35w-0004kY-8y for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 05:55:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hy35g-0004kT-Rt for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 05:55:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hy35f-0004iT-Kq for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 05:55:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hy35f-0004i3-HR for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 05:55:07 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.229]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hy35f-0005Vk-6K for help-gnu-emacs@gnu.org; Tue, 12 Jun 2007 05:55:07 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so1723149wxd for ; Tue, 12 Jun 2007 02:55:06 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=qO+Se9oZe0TpFObh/OabVOo7Pg5b1Xy/IFD4J0gXOznn9sQX5oQ6IWKR+O1u2NA0b+LrOPjIuPWjUofbCcUEq2bqZG0EBENm/M1sQTuHekbZ74zYwB5e6rhlpoJr/O+uDfLEh25v/X758JTnPcXojhf1Rrq6+Lf9/MKO3kt2muo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=s4dub29s/MyZnV8p4BnmMX+VInYUMrDlSIT0RSaWSA3Vf/B+o2a3SsoeBzMjbAHbnXpBnoJ+Pr979klSZ6sVfMZvPZpNYOvWbZ49P8M6ofMpaRTH0ppYXOVmHb9Zs38Xsu04sZrYCvuWn6rKHM7GijHNKFfeGEBPWLV37xLdGPM= Original-Received: by 10.90.71.3 with SMTP id t3mr6200996aga.1181642106237; Tue, 12 Jun 2007 02:55:06 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Tue, 12 Jun 2007 02:55:06 -0700 (PDT) In-Reply-To: <1181638134.131187.199190@i13g2000prf.googlegroups.com> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:44913 Archived-At: On 6/12/07, Enchanter wrote: > How to replace this? > > From: > > text ts > text ts > text ts > text ts > text ts > text ts > text ts > > to: > text ts0 > text ts1 > text ts2 > text ts3 > text ts4 > text ts5 > text ts6 Put the cursor after the first line, i.e.: text ts[] and type F3 F3 down F4 Ctrl-5 F4 Afterwards, I'd recommend reading the docs for kmacro. Juanma