Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-ses!bd From: bd@hp-ses.SDE.HP.COM (Bob Desinger) Newsgroups: comp.text Subject: Re: Re: Major mode for WEB in Emacs ?? Message-ID: <780004@hp-ses.SDE.HP.COM> Date: 1 Dec 89 20:34:04 GMT References: <433@ghidrah.cs.utexas.edu> Organization: HP Software Engineering Systems, Palo Alto Lines: 17 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 Brought to you by Super Global Mega Corp .com