hstags replacement

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Thu, 07 Dec 2000 11:50:30 +0000


Getting frustrated with the loss of hstags, I looked at the Info page 
for etags, and typed the following:


astrocyte:kw217$ cd Own/fptools-current/ghc/compiler/
astrocyte:compiler$ find . -name \*hs -print \
                    | etags --regex="/[a-z_][A-Za-z_0-9']*/" -


and now M-. foo  now finds the identifier foo again!

It's extremely crude, and only handles top-level function definitions 
(not classes / instances / datatypes etc... but it does work!

HTH.

--KW 8-)
-- 
Keith Wansbrough <kw217@cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
Cambridge University Computer Laboratory.