[comp.text] Major mode for WEB in Emacs ??

eho@clarity.Princeton.EDU (Eric Ho) (11/30/89)

Has anyone out there written a major or minor mode for WEB for GNU Emacs ??
Things like hoping around code sections or outlining various code sections,
..etc.. might be useful as is piping various sections to various tangle or
weave for quick processing.
--

Eric Ho  
Princeton University
eho@confidence.princeton.edu

dlau@cs.utexas.edu (David Lau) (12/01/89)

In article <EHO.89Nov30035751@cognito.Princeton.EDU> eho@clarity.Princeton.EDU (Eric Ho) writes:
>Has anyone out there written a major or minor mode for WEB for GNU Emacs ??
>Things like hoping around code sections or outlining various code sections,
>..etc.. might be useful as is piping various sections to various tangle or
>weave for quick processing.
>--
>
>Eric Ho  
>Princeton University
>eho@confidence.princeton.edu






I'm interested in this too.

--David
dlau@cs.utexas.edu

bd@hp-ses.SDE.HP.COM (Bob Desinger) (12/02/89)

David Lau (dlau@cs.utexas.edu) and Eric Ho (eho@clarity.Princeton.EDU) asks:
> Has anyone out there written a major or minor mode for WEB for GNU Emacs ??

I use a variation on WEB with C from Norman Ramsay's Spider program
(based on Levy's CWEB).  I set things up so that C-c C-c switches to
c-mode, and C-c C-t to tex-mode:

	M-x global-set-key  C-c C-c  c-mode
	M-x global-set-key  C-c C-t  tex-mode

Before I type the exposition in TeX, I type C-c C-t.  Before I write
code, I type C-c C-c.  This convinces Emacs to use the correct
indenting scheme, quotes, and other low-level details.  It doesn't
help you outline code sections or automatically recognize WEB
sections like you wanted, though.  But it's a start.

-- bd