home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!jsc
- From: jsc@saxon.Eng.Sun.COM (John Cooper)
- Newsgroups: gnu.emacs.help
- Subject: Re: Is there a function for auto-filling a region?
- Date: 11 Jan 93 11:30:40
- Organization: SunSoft, Inc., Mountain View, CA
- Lines: 34
- Distribution: na
- Message-ID: <JSC.93Jan11113040@saxon.Eng.Sun.COM>
- References: <daniel.726739292@fuchsia>
- NNTP-Posting-Host: saxon
- In-reply-to: daniel@fuchsia.uchicago.edu's message of Mon, 11 Jan 1993 08:01:32 GMT
-
- >> Daniel Fu writes:
-
- Daniel> Sometimes when editing I'd like the words to be placed adjacently as
- Daniel> if they were Latex-ed.
- Daniel> e.g:
-
- Daniel> Is
- Daniel> there
- Daniel> a function that does that? Or perhaps someone wrote something to do that?
-
- Daniel> would be:
-
- Daniel> Is there a function that does that? Or perhaps someone wrote
- Daniel> something to do that?
-
-
- Try M-g (fill-region)
-
- fill-region:
- Fill each of the paragraphs in the region.
- Prefix arg (non-nil third arg, if called from program)
- means justify as well.
-
-
- Also, try M-x fill-individual-paragraphs :
-
- fill-individual-paragraphs:
- Fill each paragraph in region according to its individual fill prefix.
- Calling from a program, pass range to fill as first two arguments.
- Optional third and fourth arguments JUSTIFY-FLAG and MAIL-FLAG:
- JUSTIFY-FLAG to justify paragraphs (prefix arg),
- MAIL-FLAG for a mail message, i. e. don't fill header lines.
- --
- --- John
-