home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / emacs / help / 5223 < prev    next >
Encoding:
Text File  |  1993-01-03  |  1.3 KB  |  37 lines

  1. Xref: sparky gnu.emacs.help:5223 comp.emacs:3897
  2. Newsgroups: gnu.emacs.help,comp.emacs
  3. Path: sparky!uunet!news.claremont.edu!ucivax!megatek!hollen
  4. From: hollen@megatek.UUCP (Dion Hollenbeck)
  5. Subject: Re: fill with preceding tab?
  6. In-Reply-To: sosc1069@highway.yorku.ca's message of Thu, 31 Dec 1992 02: 41:09 GMT
  7. Message-ID: <HOLLEN.93Jan3084431@peg.megatek.UUCP>
  8. Sender: hollen@megatek.com (Dion Hollenbeck)
  9. Organization: Megatek Corporation, San Diego, California
  10. References: <SOSC1069.92Dec30214109@highway.yorku.ca>
  11. Date: Sun, 3 Jan 1993 16:44:31 GMT
  12. Lines: 23
  13.  
  14. >>>>> On Thu, 31 Dec 1992 02:41:09 GMT, sosc1069@highway.yorku.ca (Ming He) said:
  15.  
  16. Ming> How can I fill a paragraph and leave a tab before each line?
  17.  
  18. First Way:
  19.  
  20.     Insert a TAB into the text.  Execute M-x "set-fill-prefix" and
  21.     it will look at everyting that is on the line before the point
  22.     and make that the fill-prefix (in this case a TAB).  That is
  23.     how I got this paragraph to fill with a TAB.
  24.  
  25. Second Way:
  26.     Insert the following lines in a .el file customized for you:
  27.  
  28.     (auto-fill-mode 1)
  29.       (setq fill-prefix "    ")
  30.       (setq fill-column 72)
  31.  
  32.  
  33. -- 
  34. Dion Hollenbeck                        Email: hollen@megatek.com
  35. Senior Software Engineer                      megatek!hollen@uunet.uu.net
  36. Megatek Corporation, San Diego, California    ucsd!megatek.uucp!hollen
  37.