Check-in [77c9d7ef04]

Login
Bounty program for improvements to Tcl and certain Tcl packages.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:tip490 oo for msgcat: bullet list formatting corrected
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 77c9d7ef044f84dbdd20b954a97e313d57b7efc486f2c9beafc06e732542cdd9
User & Date: oehhar 2018-03-13 14:56:06
Context
2018-03-21
12:25
Completed TIP 503 vote. YES Porter, Landers, Fellows, Kenny, Kupries Partial YES Nijtmans Partial PRESENT Nijtmans check-in: faf9df40f0 user: dgp tags: trunk
2018-03-13
14:56
tip490 oo for msgcat: bullet list formatting corrected check-in: 77c9d7ef04 user: oehhar tags: trunk
2018-03-12
14:15
Merged implementations for TIPs 462, 490, 499. check-in: 0b5310fe0e user: dgp tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tip/490.md.

207
208
209
210
211
212
213

214
215
216
217
218
219
220
Then, the `mc` command may be expressed like:
<pre>
mcn [mcpackagenamespaceget] src args...
</pre>

There are the following purposes for this command:

* foreign packages. The package namespace is known (for example by a call to `mcpackagenamespaceget`). The translation may be retrieved by a call to `mcn` without any `namespace eval $ns` around it.
* Authors of C packages required to specify the namespace explicitly.
* Optimizations in an eventual time critical path. The speed of the old msgcat is beaten by `mcn [namespace current]..`

An example for the case of a foreign package is the tooltip package described above.

The contained call:






>







207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
Then, the `mc` command may be expressed like:
<pre>
mcn [mcpackagenamespaceget] src args...
</pre>

There are the following purposes for this command:

* foreign packages. The package namespace is known (for example by a call to `mcpackagenamespaceget`). The translation may be retrieved by a call to `mcn` without any `namespace eval $ns` around it.
* Authors of C packages required to specify the namespace explicitly.
* Optimizations in an eventual time critical path. The speed of the old msgcat is beaten by `mcn [namespace current]..`

An example for the case of a foreign package is the tooltip package described above.

The contained call: