A while back, I updated semantic-grammer.el to auto-run the setup
function in all modes of the correct type. It uses %languagemode to
figure out what buffers to look in. %languagemode doesn't seem to be
used in wisent though. I'm not sure if it should be or not. Perhaps
no cases call for it yet.
Anyway, what got me more was that the setup function calls
`semantic-install-function-overrides' without specifying `transient'.
The effect is that I cannot get those buffers to update themselves to
a new language because it throws an error. Is there some trick I am
missing? I had to hack semantic-fw to turn off this feature while
I'm not sure what the right approach there is. It is nice to
protect some key overrides from accidental assignment later. On the
other hand, causing consternation during development is a bit
annoying. Perhaps it can quietly ignore you iff you are setting it
to a value it already has.
How do others deal with this?
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