Xref: utzoo comp.windows.x.motif:2113 gnu.emacs.help:1382 Path: utzoo!utgpu!watserv1!watmath!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!ge-dab!nbc1!nbc1!colin From: colin@nbc1.ge.com (Colin Rafferty) Newsgroups: comp.windows.x.motif,gnu.emacs.help Subject: Re: GNU Motif mode? Message-ID: Date: 6 Mar 91 17:17:47 GMT References: <1991Mar5.213825.23731@asc.slb.com> Sender: colin@nbc1.ge.com (Colin Rafferty) Organization: National Broadcasting Company, New York City Lines: 24 In-Reply-To: nichol@asc.slb.com's message of 5 Mar 91 21:38:25 GMT In article <1991Mar5.213825.23731@asc.slb.com> nichol@asc.slb.com (Bruce Nichol) writes: > Does anyone have a GNU emacs motif mode for uil files? Any > pointers would be appreciated. I haven't seen one around, but I just use c-mode, and it does pretty much what is expected. As long as you can get the very top widget indented right by hand, there is no problem. Of course, the nice thing about c-mode is that I use cpp before uil, which is very useful if you want to use the same constants across UIL and C. To do this easily, I have in all my Makefiles the following implicit rule: .uil.uid : @echo uil $(CFLAGS) -I/usr/include/uil $*.uil -o $@ @$(CC) -P $(CFLAGS) $*.uil -o $*.i @uil -I/usr/include/uil $*.i -o $@ @rm -f $*.i -- Colin Owen Rafferty | I believe in compulsory cannibalism. colin@nbc1.ge.com | If people were forced to eat (I don't speak for NBC. | what they killed, there would Watch Tom Brokaw for that.) | be no more wars. -- Abbie Hoffman