While testing some of my latest changes I bumped into a problem which
I tracked down to common/mode-local.el.
It manifests itself in this way:
If you are visiting a semantic-supported buffer, like semantic.el,
and then C-x C-f INSTALL RET. It turns off all semantic modes in
semantic.el.
It appears that upon visitation of INSTALL, semantic.el will get
added to the list of recently mode-changed buffers. The
semantic-global type modes all call their subordinate routines in
TOGGLE mode instead of with an argument, thus disabling the mode.
I see a two issues here.
1) Figure out how the global mode is calling the buffer local version
with no argument. I don't quite get that yet.
2) Figure out why it thinks semantic.el changed modes when it did not.
At the moment I don't know what's going on. I'm surprised I had not
seen this before, and I can't imagine why my recently checked in
changes are related.
Eric
--
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
|