Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!ogicse!emory!gatech!prism!tynor From: tynor@prism.gatech.EDU (Steve Tynor) Newsgroups: comp.lang.eiffel Subject: Emacs Eiffel mode fixes? Message-ID: <21211@hydra.gatech.EDU> Date: 4 Feb 91 21:11:13 GMT Organization: Georgia Tech Research Institute Lines: 17 Has anyone sat down and tried to modify the eiffel.el Gnu Emacs Eiffel mode posted by Bob Wiener a few months ago? While it is very configurable does a good job of indenting Eiffel code, it is just _too_slow_ to use as a default mode for Eiffel. Tab-indenting a line can take _minutes_ once the file grows to a reasonable size. I haven't had the time to sift through the elisp and figure out why its so slow - but judging from the amount of GC, I suspect that the code is consing too much... Could this be a result of the elaborate regular expressions being used to identify the syntactic context? Could this be made faster (perhaps at the cost of a certain amount of 'correctness')? =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= You deserve better than a C+. Steve Tynor Georgia Tech Research Institute Artificial Intelligence Branch tynor@prism.gatech.edu