all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan <wehmann@fnal.gov>
To: help-gnu-emacs@gnu.org
Subject: Re: Indent region
Date: Mon, 24 Aug 2009 08:16:48 -0700 (PDT)	[thread overview]
Message-ID: <d542c3d6-df01-47a2-9593-9a7e9398c244@r38g2000yqn.googlegroups.com> (raw)
In-Reply-To: 87tyzx1cti.fsf@gmail.com

On Aug 24, 9:55 am, Rodolfo Medina <rodolfo.med...@gmail.com> wrote:
> `C-u 10 C-x TAB' or `C-M-\' indent a region `line by line', whereas I want the
> whole region to be indented, like:
>
>     The old lady pulled her spectacles down and looked over them about the
>     room; then she put them up and looked out under them. She seldom or never
>     looked through them for so small a thing as a boy; they were her state
>     pair, the pride of her heart, and were built for "style," not service --
>     she could have seen through a pair of stove-lids just as well. She looked
>     perplexed for a moment, and then said, not fiercely, but still loud enough
>     for the furniture to hear:
>
> .  In Emacs manual I couldn't find an answer to the problem.
>
> Thanks for any help
> Rodolfo

C-x r t runs `string-rectangle'

`string-rectangle' is an interactive compiled Lisp function
  -- loaded from "rect"
(string-rectangle START END STRING)

Documentation:
Insert STRING on each line of the region-rectangle, shifting text
right.
The left edge of the rectangle specifies the column for insertion.

If `pending-delete-mode' is active the string replace the region.
Otherwise this command does not delete or overwrite any existing text.

When called from a program, the rectangle's corners are START and END.


  parent reply	other threads:[~2009-08-24 15:16 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-24 14:55 Indent region Rodolfo Medina
2009-08-24 15:02 ` Peter Brett
2009-08-24 15:16 ` Alan [this message]
2009-08-24 16:40 ` B. T. Raven
2009-08-24 18:22   ` Rodolfo Medina
2009-08-24 20:35     ` Lennart Borgman
2009-08-24 21:15     ` B. T. Raven
2009-08-24 22:28       ` Rodolfo Medina
2009-08-25  2:04         ` B. T. Raven
     [not found]     ` <mailman.5270.1251146161.2239.help-gnu-emacs@gnu.org>
2009-08-24 22:13       ` Rodolfo Medina
2009-08-24 21:51         ` Lennart Borgman
     [not found]         ` <mailman.5272.1251150746.2239.help-gnu-emacs@gnu.org>
2009-08-24 23:19           ` Rodolfo Medina
2009-08-26  9:42             ` Indent region in LaTeX mode Rodolfo Medina
2009-08-26 11:24               ` Peter Dyballa
     [not found]               ` <mailman.5415.1251285889.2239.help-gnu-emacs@gnu.org>
2009-08-26 13:23                 ` Rodolfo Medina
2009-08-26 12:54                   ` Peter Dyballa
     [not found]                   ` <mailman.5423.1251291261.2239.help-gnu-emacs@gnu.org>
2009-08-26 14:17                     ` Rodolfo Medina
2009-08-26 14:23                       ` Peter Dyballa
2009-08-26 17:52                       ` B. T. Raven
2009-08-27  9:00                       ` Peter Dyballa
     [not found]                       ` <mailman.5507.1251363817.2239.help-gnu-emacs@gnu.org>
2009-08-27 11:58                         ` Rodolfo Medina
2009-08-26 17:10               ` Ralf Angeli

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=d542c3d6-df01-47a2-9593-9a7e9398c244@r38g2000yqn.googlegroups.com \
    --to=wehmann@fnal.gov \
    --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.