[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: word wrapping in a long document ?!?
From: |
Leo |
Subject: |
Re: word wrapping in a long document ?!? |
Date: |
Sun, 02 May 2010 19:10:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On 2010-05-02 18:36 +0100, William Case wrote:
> Hi;
>
> A question born out of frustration. I have searched the info manual
> etc. Probably, mis-reading or mis-seeing.
>
> I have a long text document that I have opened in emacs. It is almost
> completely filled with fringe indicators showing no word wrapping. I
> have word-wrapping mode toggled on. I can make sentences wrap for a
> paragraph by entering return at the end of each paragraph.
>
> Is there a command that will travel through the entire document and add
> wrapping (remove fringe indicators) wherever needed.
,----[ C-h f fill-region RET ]
| fill-region is an interactive compiled Lisp function in `fill.el'.
|
| It is bound to <menu-bar> <edit> <fill>.
|
| (fill-region FROM TO &optional JUSTIFY NOSQUEEZE TO-EOP)
|
| Fill each of the paragraphs in the region.
| A prefix arg means justify as well.
| Ordinarily the variable `fill-column' controls the width.
|
| Noninteractively, the third argument JUSTIFY specifies which
| kind of justification to do: `full', `left', `right', `center',
| or `none' (equivalent to nil). A value of t means handle each
| paragraph as specified by its text properties.
|
| The fourth arg NOSQUEEZE non-nil means to leave whitespace other
| than line breaks untouched, and fifth arg TO-EOP non-nil means
| to keep filling to the end of the paragraph (or next hard newline,
| if variable `use-hard-newlines' is on).
|
| Return the fill-prefix used for filling the last paragraph.
|
| If `sentence-end-double-space' is non-nil, then period followed by one
| space does not end a sentence, so don't break a line there.
|
| [back]
`----
Leo