Hi Eric,

Your defvar-mode-local suggestion is working great.  With the below to semantic-ectag-lang.el everything is working fine for me.

Ray

Index: semantic/ctags/semantic-ectag-lang.el
===================================================================
RCS file: /cvsroot/cedet/cedet/semantic/ctags/semantic-ectag-lang.el,v
retrieving revision 1.9
diff -u -p -r1.9 semantic-ectag-lang.el
--- semantic/ctags/semantic-ectag-lang.el    10 Mar 2009 01:52:24 -0000    1.9
+++ semantic/ctags/semantic-ectag-lang.el    5 Jul 2009 17:14:09 -0000
@@ -68,6 +68,7 @@ KINDS are the kinds of tags to generate
 (semantic-ectag-add-languge-support tcl-mode "tcl" "cmp")
 ;(semantic-ectag-add-languge-support vera-mode "vera" "cdfgmPTv")
 ;(semantic-ectag-add-languge-support verilog-mode "verilog" "cfm")
+(semantic-ectag-add-languge-support scala-mode "scala" "cotmnafVvTip")
 
 ;;; BUFFER PARSING HOOKS
 ;;
@@ -100,8 +101,17 @@ semantic parser."
   (add-hook 'tcl-mode-hook 'semantic-ectag-simple-setup)
   ;;(add-hook 'vera-mode-hook 'semantic-ectag-simple-setup)
   ;;(add-hook 'verilog-mode-hook 'semantic-ectag-simple-setup)
-
+  (add-hook 'scala-mode-hook 'semantic-ectag-simple-setup)
   )
 
+(defvar-mode-local scala-mode semantic-symbol->name-assoc-list
+  '((type     . "Types")
+    (variable . "Variables")
+    (value    . "Values")
+    (function . "Functions")
+    (include  . "Dependencies")
+    (package  . "Provides"))
+  "List of tag classes, and strings to describe them.")
+
 (provide 'semantic-ectag-lang)
 ;;; semantic-ectag-lang.el ends here


On Sun, Jul 5, 2009 at 11:35 AM, Eric M. Ludlam <eric@siege-engine.com> wrote:
Hi Ray,

 I'm integrating your patch.  Instead of patching semantic.el as below,
perhaps a configuration like this:

(defvar-mode-local scala-mode semantic-symbol->name-assoc-list
 '((type     . "Types")
   (variable . "Variables")
   (value    . "Values")
   (function . "Functions")
   (include  . "Dependencies")
   (package  . "Provides")
   )
 "List of tag classes, and strings to describe them.")

in semantic-ectag-lang.el would be better.  You can then change the
names to whatever you like.  As such, what should they be?  Should any
items be removed?

Thanks
Eric