home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / perl / 4846 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  998 b 

  1. Xref: sparky comp.lang.perl:4846 comp.emacs:2661
  2. Path: sparky!uunet!mcsun!uknet!edcastle!dltest
  3. From: dltest@castle.ed.ac.uk (Kevin Davidson)
  4. Newsgroups: comp.lang.perl,comp.emacs
  5. Subject: Perl/Nroff mode for GNU Emacs ??
  6. Keywords: perl GNUemacs nroff
  7. Message-ID: <24015@castle.ed.ac.uk>
  8. Date: 21 Jul 92 15:20:35 GMT
  9. Organization: Edinburgh University
  10. Lines: 16
  11.  
  12.  
  13. I'm using the Wrapman utility from the camel book to merge code
  14. and manual page into the same file, but now of course I can't decide
  15. whether to use perl-mode or nroff-mode (electric-nroff-mode)
  16. based on the filename OR local variables.
  17.  
  18. I can get one, and switch between them (M-x nroff-mode etc.), but it's a pain.
  19.  
  20. What I'm asking is...
  21. has anyone merged perl-mode and nroff mode such that a couple of keypresses
  22. will narrow the file to the perl part and switch to perl-mode, and
  23. a couple more will narrow to the manual page part and switch to nroff-mode.
  24.  
  25. I don't trust my elisp enough to do this myself...
  26.  
  27. dltest@castle.ed.ac.uk
  28.