Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9a8d36cc0af5b6bd8c1b04a5e1a88e946df34bdd
Ticket: 582533ffffffffffffffffffffffffffffffffff
rename traces follow renamed command
User & Date: dgp on 2002-07-16 22:43:58
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    As discussed on TCLCORE, execution traces
    should attach to the commands themselves,
    and rename and delete traces should attach
    to command names.  However:
    
    % proc print args {puts $args}
    % proc foo {} {}
    % trace add command foo rename print
    % rename foo bar
    foo bar rename
    % rename bar soom
    bar soom rename
    
    Clearly the "rename" trace attached to
    the name "foo" was transferred to the
    name "bar".  
    
    If that's not a bug, then we really need to
    beef up the docs to explain just what
    rules these command and command name
    traces follow.
    
    This is all related to Bug 565823 as well
    as it indicates the lack of a clearly defined
    and documented distinction between
    commands and command names.
    
  4. foundin changed to: "obsolete: 8.4b2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "45. Parsing and Eval"
  10. title changed to: "rename traces follow renamed command"
  11. type changed to: "Bug"