Artifacts Associated With Ticket 582533ffffffffffffffffffffffffffffffffff
Ticket change [9a8d36cc0a] (rid 110962) by dgp on 2002-07-16 22:43:58:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.4b2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "rename traces follow renamed command"
- type initialized to: "Bug"
Ticket change [fd41baa90d] (rid 108381) by dkf on 2003-06-26 17:29:46:
- subsystem changed to: "46. Traces"
Ticket change [568775513e] (rid 94337) by dgp on 2003-06-26 22:46:56:
- assignee changed to: "dgp"
Ticket change [a4f371c2df] (rid 110287) by duquette on 2004-08-22 01:23:05:
- 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 ....
- login: "duquette"
- mimetype: "text/plain"
- username: "duquette"
- icomment:
Ticket change [f6db4fedf8] (rid 130385) by dgp on 2004-08-22 05:20:14:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [967f0332d4] (rid 106337) by dgp on 2004-09-10 00:01:29:
- closedate changed to: "2004-09-09T17:01:29"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Withdrawing this.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"