From: Jason Earl <jearl@xmission.com>
To: help-gnu-emacs@gnu.org
Subject: Re: indent ragion
Date: Tue, 04 Dec 2007 10:03:54 -0700 [thread overview]
Message-ID: <87tzmybddx.fsf@xmission.com> (raw)
In-Reply-To: 9903d1be-2541-4ba4-a31d-6465a1ceb188@x69g2000hsx.googlegroups.com
cgiocoli@gmail.com writes:
> Suppose you have a text like this
>
> Hi all,
> I have been used emacs for a long time.... but I want to do something
> very special and I think that emacs can do it.
> Considering one paragraph how can I indent all the paragraph
> automatically to fit a box for example?
>
> indent in a rectangle is to make this
>
> Hi all, I have been used emacs for a long time...
> but I want to do something very special and
> I think th at emacs can do it. Considering one
> paragraph how can I indent all the paragraph
> automatically to fit a box for example?
Oh yeah, you can definitely do that. What you
want is to full justify the paragraphs. You can
do that by using the set-justification-full
command (M-x set-justification-full). You also
probably want to take a look at the
set-fill-column command. This allows you to tell
emacs where to break the lines.
This paragraph has the fill-column variable set at
50 (default for me is 70). I set that using C-u
50 M-x set-fill-column. Then I did M-x
set-justification-full and I have fully justified
paragraphs.
As you probably guessed you
can also do things like M-x
set-justification-center.
This paragraph has a
fill-column of 30.
Or you could right justify,
just to be different. There
probably are some uses for
this sort of thing.
When you are all done goofing around you can put things back to normal
fairly easily.
Jason
next prev parent reply other threads:[~2007-12-04 17:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 14:31 indent ragion cgiocoli
2007-12-03 15:49 ` Joel J. Adamson
2007-12-03 23:11 ` Johan Bockgård
2007-12-04 15:43 ` cgiocoli
2007-12-04 15:45 ` cgiocoli
2007-12-04 16:47 ` Drew Adams
2007-12-04 17:03 ` Jason Earl [this message]
2007-12-04 17:06 ` cgiocoli
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=87tzmybddx.fsf@xmission.com \
--to=jearl@xmission.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.