Posted to tcl by apw at Sun Aug 12 19:02:31 GMT 2007view raw

  1. dkf, I have 2 problems with namespace ensemble command (for me only C-level):
  2.  
  3. - I need a different "wrong # args" message (maybe only if an user unknown
  4. handler is installed which should be called in that case)
  5.  
  6. - if an user unknown handler is installed, I don't want the reparsing of the
  7. ensemble.
  8.  
  9. Reason for that is that I have added an ensemble "itclinfo" with some
  10. subcommands to the ::info ensemble. When a subcommand - for example "vars" -
  11. is not found in "::info itclinfo" I want to call "::info vars" instead
  12. using the unknown handler.
  13. In that case (if I change the command within the unknown handler) I get
  14. into trouble because of reparsing.