Artifacts Associated With Ticket 1803296
Ticket change [6009aa5fec] (rid 115925) by hgo on 2007-09-27 08:09:08:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
A way to get the name of the namespace ensemble command that called a name space procedure (or mapped command) would be nice to have. This could be a new (sub) option to "namespace ensemble" or it could e.g. be an additional key in "info frame". The reason is that if the name was available in the subcommand body of the ensemble command and multiple ensemble commands for the same namespace was defined, each ensemble could be used as an instance of the namespace and private variables could be handled using the ensemble name as index to e.g. an array. In this way simple and dynamic objects could be created directly using the namespace commands without the need of an additional OO layer. An even better way would be to have "ensemble varaibles" local to each ensemble. But that is for Tcl 9 I think.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "hgo"
- subsystem initialized to: "21. [namespace]"
- title initialized to: "namespace ensemble name lookup"
- type initialized to: "RFE"
Ticket change [ba350fac25] (rid 129283) by hgo on 2007-09-28 15:13:24:
- icomment:
Logged In: YES user_id=1899920 Originator: YES The use of > set self [lindex [info level 0] 0] would also be OK, although > namespace ensemble self Would be better :-)
- login: "hgo"
- mimetype: "text/plain"
- username: "hgo"
- icomment:
Ticket change [f8bc836d5b] (rid 91591) by hgo on 2007-09-28 15:39:52:
- icomment:
Logged In: YES user_id=1899920 Originator: YES Same as 1577492 except that another command should be used?
- login: "hgo"
- mimetype: "text/plain"
- username: "hgo"
- icomment:
Ticket change [116af7d8b3] (rid 95140) by dkf on 2007-09-30 17:24:45:
- assignee changed to: "dkf"
Ticket change [b02b021a78] (rid 97935) by dkf on 2009-05-11 21:04:11:
- icomment:
If you want "ensemble variables", you might as well go to TclOO which is part of 8.6.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [3466959e94] (rid 106759) by dkf on 2009-07-13 19:34:49:
- icomment:
The NRE-enabled command dispatch function allows control over the command resolution context. Might be worth looking at whether this FRQ can be dealt with through that route.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [8301dceafe] (rid 117324) by dkf on 2009-07-13 19:34:50:
- priority changed to: "7 High"
Ticket change [96989b51fd] (rid 106348) by dkf on 2010-02-11 21:20:31:
- icomment:
Hmm, looking at this again, I see a potential problem with ensembles of ensembles. Not sure what to do about it though.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment: