From: David Kastrup <dak@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs insert empty string
Date: Thu, 24 Mar 2011 12:24:00 +0100 [thread overview]
Message-ID: <87vcz8rcbz.fsf@fencepost.gnu.org> (raw)
In-Reply-To: mailman.3.1300965524.24982.help-gnu-emacs@gnu.org
Peter Dyballa <Peter_Dyballa@Web.DE> writes:
> Am 24.03.2011 um 11:25 schrieb Kenneth Brun Nielsen:
>
>> Now I "regret" outcommenting the commands 600-800. Again I select the
>> lines/columns of interest and use the 'CTRL-x rt' command and remove
>> the "*" column (i.e. replace the first column with an empty string)
>
>
> The documentation, in my interpretation and understanding, does not
> tell it would work. Because the rectangle functions *insert* and don't
> *overwrite* (maybe they would do when you activate
> overwrite-mode).
Huh?
C-x r t runs the command string-rectangle, which is an interactive
autoloaded Lisp function in `rect.el'.
It is bound to C-x r t.
(string-rectangle START END STRING)
Replace rectangle contents with STRING on each line.
The length of STRING need not be the same as the rectangle width.
Called from a program, takes three args; START, END and STRING.
What about "replace rectangle contents" do you not understand?
--
David Kastrup
next prev parent reply other threads:[~2011-03-24 11:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 1:46 Emacs insert empty string Kenneth Brun Nielsen
2011-03-24 4:47 ` PJ Weisberg
2011-03-24 9:49 ` Peter Dyballa
2011-03-24 10:38 ` Deniz Dogan
[not found] ` <mailman.11.1300960156.32450.help-gnu-emacs@gnu.org>
2011-03-24 10:25 ` Kenneth Brun Nielsen
2011-03-24 10:50 ` Deniz Dogan
[not found] ` <mailman.0.1300963850.24982.help-gnu-emacs@gnu.org>
2011-03-24 10:59 ` Kenneth Brun Nielsen
2011-03-24 11:09 ` Peter Dyballa
[not found] ` <mailman.2.1300964974.24982.help-gnu-emacs@gnu.org>
2011-03-24 11:11 ` Kenneth Brun Nielsen
2011-03-24 11:12 ` David Kastrup
2011-03-24 11:18 ` Peter Dyballa
[not found] ` <mailman.3.1300965524.24982.help-gnu-emacs@gnu.org>
2011-03-24 11:24 ` David Kastrup [this message]
2011-03-24 13:21 ` Peter Dyballa
2011-03-24 13:44 ` David Kastrup
2011-03-24 15:18 ` Peter Dyballa
2011-03-24 11:53 ` Tassilo Horn
[not found] ` <mailman.6.1300967618.24982.help-gnu-emacs@gnu.org>
2011-03-24 12:02 ` Kenneth Brun Nielsen
2011-03-24 21:27 ` Ilya Zakharevich
[not found] ` <mailman.1.1300942046.7157.help-gnu-emacs@gnu.org>
2011-03-24 10:11 ` Kenneth Brun Nielsen
2011-03-24 10:42 ` Deniz Dogan
[not found] ` <mailman.20.1300963398.32450.help-gnu-emacs@gnu.org>
2011-03-24 10:56 ` Kenneth Brun Nielsen
2011-03-24 11:50 ` Le Wang
2011-03-24 10:55 ` Kenneth Brun Nielsen
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=87vcz8rcbz.fsf@fencepost.gnu.org \
--to=dak@gnu.org \
--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.