>>> Jan Sacharuk <jan@...> seems to think that:
>Since I've upgraded to Semantic 1.4.3, it's much slower opening files than
>it used to be. It spends a lot of time doing something that reads as 'Imenu
>Directory Index'. What's going on there? My emacs startup time went from
>about 25 seconds to well over a minute, since I have emacs reopen all the
>files that I was working on when I quit.
You probably want to set the variable `semantic-imenu-index-directory'
to nil. For large directories, that will make things go faster.
>As well, Semantic deals poorly with source files that have a lot of #ifdefs
>in them that may hide or add braces. I have a source file that has several
>#ifdefs and it refuses to parse it or format it correctly, since it thinks
>that there are unbalanced braces.
[ ... ]
Yup. There isn't a very good way to deal with a pre-processor in
semantic yet. As a special case "#if 0" blocks are removed. You can
build lexical extensions for your most common false ifdefs to strip them
out, but it requires some knowledge of Emacs Lisp.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org