I'm using GNU Emacs 21.3.1 (i386-msvc-nt5.0.2195) of 2003-03-27 on buffy with JDEE 2.3.2 on Windows 2000
In addition to using JDEE for Java development, I'm also using it for SQLJ development. For a SQLJ buffer using JDEE, almost the entire buffer shows unmatched syntax since SQLJ is outside of the Java syntax. I have attempted to disable the semantic-show-unmatched-syntax minor mode for JDEE buffers whose names do not contain "java" (file extension) in them, by making the function below a part of jde-entering-java-buffer-hook. (defun check-if-jde-not-java () (interactive) (if (string-match "java" (buffer-name)) 1 (semantic-show-unmatched-syntax-mode))) When I visit a SQLJ file, it works well, however, when I revert the same buffer (say after checking the file out of a source control system), it re-enables the semantic-show-unmatched-syntax minor mode. I realize that I could simply bind a key to turn the minor mode off, but I would prefer to have that happen automatically after reverting the buffer. Could someone point me to the right thing to do in this case? Thanks. /Mandar __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
