In my setup, i first load all modes, and only after this i restore old
configuration with desktop, that loads files, registers, etc. May be when
restoring C++ source files, semantic initialisation is happened?
>>>>> "EML" == Eric M Ludlam writes:
EML> Hi, Your patch makes some sense, but I have to wonder why these modes
EML> are starting up at all. They should only run if semantic-init-hooks
EML> are run, and that should only happen if a buffer is set up for
EML> Do you know how Semantic gets into that state?
EML> I don't use desktop, so have not encountered this issue.
> Alex Ott <alexott@...> seems to think that:
>> Some time ago i found, that cedet's routines break loading of desktop
>> file with errors like "Buffer ... wasn't set for parsing", etc. These
>> errors lead to stopping load of desktop file, so it doesn't restored
>> completely. Attached file add error handlers to some places, please
>> review it, and apply if all ok
With best wishes, Alex Ott, MBA