Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 538b8c9eb3aacd9eb5e0232d77b5f51f55dba06b
Ticket: 1570811fffffffffffffffffffffffffffffffff
document: "chan close" == "close" etc.
User & Date: nobody on 2006-10-04 16:36:45
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The current doucmentation for the new "chan"
    subcommands does not mention that they are actually
    implemented as aliases for the old commands.
    So the behaviour:
    
    % chan close foo
    can not find channel named "foo"
    % proc ::close args { puts "== $args ==" }
    % chan close foo
    == foo ==
    
    ... might be surprising.
    
    In fact a new user may even wonder what the difference
    is between for example "close ..." and "chan close ..."
    And when to use one or the other!
    
    Some suggestions:
    1. document that they *are* aliases ie. the same
    2. It might be worth putting the definition of the
     ::chan ensemble into the docs to illustrate (1)
    3. make the "chan xxx" docs as links to the
     original docs where this applies (keeps things in
     sync and makes explicit that they are the same thing)
    4. Also i noticed in the TIP208 that some of the
     original commands might be marked as deprecated.
     I cannot see any meantion of this in the docs.
     Was this part rejected?
     (i happen to think this is a good idea in theory,
      although, it's not clear how to do this nicely :-) 
    
    
    Cheers, afredd.
    
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "24. Channel Commands"
  11. title changed to: "document: "chan close" == "close" etc."
  12. type changed to: "Bug"