home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3888 < prev    next >
Encoding:
Text File  |  1992-08-30  |  996 b   |  29 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!utcsri!torn!watserv2.uwaterloo.ca!watmath!math!dmason
  3. From: dmason@waterloo.edu (Dave Mason)
  4. Subject: How to get a TAB on auto-fill and M-Q
  5. Message-ID: <DMASON.92Aug30172443@plg.waterloo.edu>
  6. Sender: news@math.uwaterloo.ca (News Owner)
  7. Organization: University of Waterloo
  8. Date: Sun, 30 Aug 1992 21:24:43 GMT
  9. Lines: 18
  10.  
  11.  In lisp mode, auto-fill puts a TAB at the beginning of the created
  12. line.  This makes the indentation do the right thing.
  13.  
  14. I want similar behaviour in a TeX-mode buffer.  I'm using auc-tex &
  15. have it indenting the way I want it, but in auto-fill, no intentation
  16. is done.
  17.  
  18. How do I do this? (i.e. what is the hook that makes this work in lisp
  19. mode)?
  20.  
  21. Moreover, on M-Q (fill-paragraph), it doesn't (even in lisp mode) do
  22. any indentation.  I'd *really* like it to.
  23.  
  24. I'm not a really experienced emacs-lisp hacker, but I have done some
  25. emacs hacking and can do what I want if someone just points me at the
  26. right hooks.
  27.  
  28. Thanks    ../Dave
  29.