Re: show-unmatched-syntax-mode not working?

"Eric M. Ludlam" <[email protected]> Mon, 20 Oct 2014 19:47:38 -0400
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
On 10/20/2014 08:41 AM, Blue Glacier wrote:
> Hello,
>
> semantic-mode is activated as well semantic-show-unmatched-syntax-mode.
> But Semantic does not show unmatched syntax. What am I doing wrong?

Hi Jay,

I tried

M-x semantic-show-unmatched-syntax-mode RET

in a buffer, and did not get any syntax highlighted.  I poked around and 
discovered that the hook was ignored / not installed.  I tried

M-x global-semantic-show-unmatched-syntax-mode RET

and then I was getting unmatched syntax as I expected.  I'm not sure why 
the per-buffer version wasn't setting things up correctly, as after 
using the global version, the per-buffer version worked until a

M-x revert-buffer RET

caused the hooks to reset.

Eric

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho