all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* indent ragion
@ 2007-12-03 14:31 cgiocoli
  2007-12-03 15:49 ` Joel J. Adamson
  2007-12-03 23:11 ` Johan Bockgård
  0 siblings, 2 replies; 8+ messages in thread
From: cgiocoli @ 2007-12-03 14:31 UTC (permalink / raw
  To: help-gnu-emacs

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?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  2007-12-03 14:31 indent ragion cgiocoli
@ 2007-12-03 15:49 ` Joel J. Adamson
  2007-12-03 23:11 ` Johan Bockgård
  1 sibling, 0 replies; 8+ messages in thread
From: Joel J. Adamson @ 2007-12-03 15:49 UTC (permalink / raw
  To: help-gnu-emacs

cgiocoli@gmail.com writes:

> 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?

Rectangle editing, perhaps?  Chapter 16 of the Emacs manual.

Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Johan Bockgård @ 2007-12-03 23:11 UTC (permalink / raw
  To: help-gnu-emacs

cgiocoli@gmail.com writes:

> 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?

Can you give an example?

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  2007-12-03 23:11 ` Johan Bockgård
@ 2007-12-04 15:43   ` cgiocoli
  2007-12-04 15:45     ` cgiocoli
  2007-12-04 17:03     ` Jason Earl
  0 siblings, 2 replies; 8+ messages in thread
From: cgiocoli @ 2007-12-04 15:43 UTC (permalink / raw
  To: help-gnu-emacs

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?


Thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  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
  1 sibling, 1 reply; 8+ messages in thread
From: cgiocoli @ 2007-12-04 15:45 UTC (permalink / raw
  To: help-gnu-emacs

The idea is justify all the text... as in ms-word for example.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* RE: indent ragion
  2007-12-04 15:45     ` cgiocoli
@ 2007-12-04 16:47       ` Drew Adams
  0 siblings, 0 replies; 8+ messages in thread
From: Drew Adams @ 2007-12-04 16:47 UTC (permalink / raw
  To: cgiocoli, help-gnu-emacs

> The idea is justify all the text... as in ms-word for example.

`C-u M-q'

See the Emacs manual, node Fill Commands.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  2007-12-04 15:43   ` cgiocoli
  2007-12-04 15:45     ` cgiocoli
@ 2007-12-04 17:03     ` Jason Earl
  2007-12-04 17:06       ` cgiocoli
  1 sibling, 1 reply; 8+ messages in thread
From: Jason Earl @ 2007-12-04 17:03 UTC (permalink / raw
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: indent ragion
  2007-12-04 17:03     ` Jason Earl
@ 2007-12-04 17:06       ` cgiocoli
  0 siblings, 0 replies; 8+ messages in thread
From: cgiocoli @ 2007-12-04 17:06 UTC (permalink / raw
  To: help-gnu-emacs

Thanks for all....

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-12-04 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2007-12-04 17:06       ` cgiocoli

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.