Re: Scheme bovinator entering debugger
Eric Ludlam <[email protected]> Sat, 6 Jul 2019 20:27:16 -0400
| Newsgroups | gmane.emacs.semantic |
|---|---|
| Message-ID | <[email protected]> |
Hi David & others, I haven't been keeping up with CEDET stuff for a while and am not in a position to do debugging and patching anymore. In your case, it sounds like electric pair mode is messing with the syntax table which semantic depends on. Do you have a way to check what is going on with the syntax table? For any such change to the table, you can add a revert to the syntax table to what it should be w/out any changes in semantic/bovine/scm.el @ the end of the file. See 'semantic-lex-syntax-modifications'. For example, if you need to redefine some piece of syntax, just copy something from scheme.el's scheme-mode-syntax-table. To look at differences in syntax table, do C-h s before and after enabling the offending mode. Alternately, setup debug-on-quit, and hit Ctrl-g to see where things are hanging. That could reveal which underlying services semantic depends on which may have been overridden by the mode. We can then see what it takes to work around it. Hope this helps Eric On 7/2/19 4:14 AM, David Palma wrote: > This bug has already been reported here: > > https://sourceforge.net/p/cedet/mailman/message/36185774/ > > I couldn't apply the changes that David pointed out, nor do I know > wheter it is applicable to the current version of semantic. It happens > when electric pair mode is activated and the syntax inside the matching > parentheses is invalid. Unfortunately, this makes semantic unusable for > me and semantic has to be disabled. > > Best regards, > > > David > > > > _______________________________________________ > cedet-semantic mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cedet-semantic >