Skip to content
Tcl Source Code History Of Ticket 582533ffffffffffffffffffffffffffffffffff
Login

History Of Ticket 582533ffffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 582533ffffffffffffffffffffffffffffffffff

  1. Ticket change [9a8d36cc0a] (rid 110962) by dgp on 2002-07-16 22:43:58:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.4b2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "45. Parsing and Eval"
    10. title initialized to: "rename traces follow renamed command"
    11. type initialized to: "Bug"
  2. Ticket change [fd41baa90d] (rid 108381) by dkf on 2003-06-26 17:29:46:

    1. subsystem changed to: "46. Traces"
  3. Ticket change [568775513e] (rid 94337) by dgp on 2003-06-26 22:46:56:

    1. assignee changed to: "dgp"
  4. Ticket change [a4f371c2df] (rid 110287) by duquette on 2004-08-22 01:23:05:

    1. icomment:
      Logged In: YES 
      user_id=372859
      
      I strongly disagree that rename and delete traces should attach to 
      command names rather than commands.  Snit uses a rename/delete 
      trace to detect when a Snit instance is renamed or deleted...and if the 
      Snit instance is renamed, the trace remains attached to the Snit instance 
      under its new name, as it should.  If myobj is the name of a Snit 
      instance, then
      
      % mysnittype myobj
      % rename myobj hisobj
      % rename hisobj ""
      
      destroys the instance, as it should.
      
      In any event, the current behavior has been in place for the entire 
      lifespan of Tcl 8.4.  If you change it, it will break Snit badly, and I
      can't imagine that Snit's the only package affected.
      
      If the other behavior is really necessary, add it as
      
      % trace add commandname foo ....
      
      
      
      
      
    2. login: "duquette"
    3. mimetype: "text/plain"
    4. username: "duquette"
  5. Ticket change [f6db4fedf8] (rid 130385) by dgp on 2004-08-22 05:20:14:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Very well.  Snit is important, and snit
      depends on this, so I'm inclined to
      mark this "Won't Fix".
      
      Before I do, I hope you don't mind
      revisiting the issue with me though?
      Maybe we'll find a consistent way out.
      
      Looking back at this TCLCORE message...
      
      http://sf.net/mailarchive/message.php?msg_id=1659085
      
      Is either of Model I or Model II described there
      compatible with the needs of Snit?  (Based on your
      comments so far, I think I understand Model I
      won't work for you?)
      
      That message isn't a model of clarity, so if
      it helps to just state what Snit needs, that's
      fine too.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [967f0332d4] (rid 106337) by dgp on 2004-09-10 00:01:29:

    1. closedate changed to: "2004-09-09T17:01:29"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      Withdrawing this.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "dgp"