home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / emacs / 2887 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  1.9 KB

  1. Path: sparky!uunet!decwrl!concert!borg!news_server!martinc
  2. From: martinc@grover.cs.unc.edu (Charles R. Martin)
  3. Newsgroups: comp.emacs
  4. Subject: Re: `Improved' auto-insert.el
  5. Message-ID: <MARTINC.92Aug18181625@grover.cs.unc.edu>
  6. Date: 18 Aug 92 22:16:25 GMT
  7. References: <24942@castle.ed.ac.uk>
  8. Sender: news@cs.unc.edu
  9. Followup-To: comp.emacs
  10. Organization: UNC Department of Computer Science
  11. Lines: 38
  12. In-reply-to: dltest@castle.ed.ac.uk's message of 18 Aug 92 12:14:45 GMT
  13.  
  14.  
  15.  
  16. In article <24942@castle.ed.ac.uk> dltest@castle.ed.ac.uk (Kevin Davidson) writes:
  17.  
  18.    Path: borg!concert!rutgers!sun-barr!olivea!uunet!mcsun!uknet!edcastle!dltest
  19.  
  20.    I tried the autoinsert.el that came with our distribution 
  21.    [GNU Emacs 18.55.1 of Wed Mar  7 1990 on castle (berkeley-unix)]
  22.    written by Charlie Martin, dated 1/7/1988 and wasn't too impressed.
  23.  
  24. Oh, thank you for the criticism, I don't know how I could have lived
  25. without that.
  26.  
  27.    I added some stuff to make it a little friendlier and more general:
  28.    ;;; Much hacked about by Kevin Davidson <dltest@castle.ed.ac.uk>
  29.    ;;; 18th August 1992
  30.    ;;; Whole buffer is marked. If auto-insertion is not wanted, ^W will remove
  31.    ;;; it all.
  32. Interestingly, "undo" does the same thing with mine.
  33.    ;;; Now replaces % escapes in inserted file:
  34. ....
  35.    ;;; %% is a %
  36.  
  37. Look into header.el.
  38.  
  39.      Has this already been done ? If not is anybody interested in trying it
  40.    and offering buggestions before I post it ? 
  41.  
  42. Sure, send it along.
  43. --
  44. Charles R. Martin/(Charlie)/martinc@cs.unc.edu/(ne crm@cs.duke.edu) 
  45. O/Dept. of Computer Science/CB #3175 UNC-CH/Chapel Hill, NC 27599-3175
  46. H/3611 University Dr #13M/Durham, NC 27707/(919) 419 1754
  47. ----------------------------------------------------------------------
  48. "I am he who walks the States with a barb'd tongue, questioning every
  49. one I meet,/Who are you that wanted only to be told what you knew
  50. before?/ Who are you that wanted only a book to join you in your
  51. nonsense?"  _Leaves of Grass_ xxiii.4.
  52.