home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / help / 5321 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!exodus!jsc
  2. From: jsc@saxon.Eng.Sun.COM (John Cooper)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: Is there a function for auto-filling a region?
  5. Date: 11 Jan 93 11:30:40
  6. Organization: SunSoft, Inc., Mountain View, CA
  7. Lines: 34
  8. Distribution: na
  9. Message-ID: <JSC.93Jan11113040@saxon.Eng.Sun.COM>
  10. References: <daniel.726739292@fuchsia>
  11. NNTP-Posting-Host: saxon
  12. In-reply-to: daniel@fuchsia.uchicago.edu's message of Mon, 11 Jan 1993 08:01:32 GMT
  13.  
  14. >> Daniel Fu writes:
  15.  
  16.  Daniel> Sometimes when editing I'd like the words to be placed adjacently as
  17.  Daniel> if they were Latex-ed.
  18.  Daniel> e.g:
  19.  
  20.  Daniel> Is
  21.  Daniel> there
  22.  Daniel> a function that does that?  Or perhaps someone wrote something to do that?
  23.  
  24.  Daniel> would be:
  25.  
  26.  Daniel> Is there a function that does that?  Or perhaps someone wrote
  27.  Daniel> something to do that?
  28.  
  29.  
  30. Try M-g (fill-region)
  31.  
  32. fill-region:
  33. Fill each of the paragraphs in the region.
  34. Prefix arg (non-nil third arg, if called from program)
  35. means justify as well.
  36.  
  37.  
  38. Also, try M-x fill-individual-paragraphs :
  39.  
  40. fill-individual-paragraphs:
  41. Fill each paragraph in region according to its individual fill prefix.
  42. Calling from a program, pass range to fill as first two arguments.
  43. Optional third and fourth arguments JUSTIFY-FLAG and MAIL-FLAG:
  44. JUSTIFY-FLAG to justify paragraphs (prefix arg),
  45. MAIL-FLAG for a mail message, i. e. don't fill header lines.
  46. --
  47.     --- John
  48.