unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Leo <sdl.web@gmail.com>
To: William Case <billlinux@rogers.com>
Cc: Emacs Help List <help-gnu-emacs@gnu.org>
Subject: Re: word wrapping in a long document ?!?
Date: Sun, 02 May 2010 19:10:12 +0100	[thread overview]
Message-ID: <xbaid3xe5g57.fsf@cam.ac.uk> (raw)
In-Reply-To: <1272821780.1913.41.camel@CASE> (William Case's message of "Sun,  02 May 2010 13:36:20 -0400")

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




  reply	other threads:[~2010-05-02 18:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-02 17:36 word wrapping in a long document ?!? William Case
2010-05-02 18:10 ` Leo [this message]
2010-05-02 20:26   ` William Case
2010-05-02 23:56     ` Ross A. Laird

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xbaid3xe5g57.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=billlinux@rogers.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).