From: deprecated <whenney@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Column replace
Date: Tue, 12 Jun 2007 17:37:03 -0000 [thread overview]
Message-ID: <1181669823.283617.131480@n15g2000prd.googlegroups.com> (raw)
In-Reply-To: <1181638134.131187.199190@i13g2000prf.googlegroups.com>
Just in case anyone was worried that emacs has only two solutions to
this problem, there is a third way ..... :)
On Jun 12, 3:48 am, Enchanter <ensoul.magaz...@gmail.com> 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
>
Turn on CUA mode (M-x cua-mode)
Move to the end of the first line and type C-return (cua-set-rectangle-
mark).
Now move to the end of the last line and type M-n (cua-sequence-
rectangle). You will be prompted for a starting value, an increment
and a format string.
[Only tested in emacs 22]
Cheers
Will
next prev parent reply other threads:[~2007-06-12 17:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-12 8:48 Column replace Enchanter
2007-06-12 9:55 ` Juanma Barranquero
2007-06-12 10:39 ` Peter Dyballa
2007-06-12 10:54 ` Juanma Barranquero
2007-06-12 11:11 ` Peter Dyballa
2007-06-12 11:16 ` Juanma Barranquero
[not found] ` <mailman.1999.1181646983.32220.help-gnu-emacs@gnu.org>
2007-06-12 12:49 ` weber
2007-06-12 13:43 ` Juanma Barranquero
[not found] ` <mailman.2008.1181655831.32220.help-gnu-emacs@gnu.org>
2007-06-12 14:14 ` weber
2007-06-12 14:59 ` Juanma Barranquero
[not found] ` <mailman.2022.1181660385.32220.help-gnu-emacs@gnu.org>
2007-06-12 16:11 ` weber
2007-06-12 17:00 ` weber
2007-06-12 18:02 ` Juanma Barranquero
2007-06-12 17:37 ` deprecated [this message]
2007-06-13 21:01 ` Peter Lee
2007-06-12 21:38 ` Colin S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181669823.283617.131480@n15g2000prd.googlegroups.com \
--to=whenney@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.