home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.perl:4846 comp.emacs:2661
- Path: sparky!uunet!mcsun!uknet!edcastle!dltest
- From: dltest@castle.ed.ac.uk (Kevin Davidson)
- Newsgroups: comp.lang.perl,comp.emacs
- Subject: Perl/Nroff mode for GNU Emacs ??
- Keywords: perl GNUemacs nroff
- Message-ID: <24015@castle.ed.ac.uk>
- Date: 21 Jul 92 15:20:35 GMT
- Organization: Edinburgh University
- Lines: 16
-
-
- I'm using the Wrapman utility from the camel book to merge code
- and manual page into the same file, but now of course I can't decide
- whether to use perl-mode or nroff-mode (electric-nroff-mode)
- based on the filename OR local variables.
-
- I can get one, and switch between them (M-x nroff-mode etc.), but it's a pain.
-
- What I'm asking is...
- has anyone merged perl-mode and nroff mode such that a couple of keypresses
- will narrow the file to the perl part and switch to perl-mode, and
- a couple more will narrow to the manual page part and switch to nroff-mode.
-
- I don't trust my elisp enough to do this myself...
-
- dltest@castle.ed.ac.uk
-