Artifacts Associated With Ticket f88bc5ff88
Ticket change [a2cc26661f] (rid 234336) by apnadkarni on 2024-10-17 14:39:39:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
`tcl_wordchars` and `tcl-nonwordchars` are documented in the tclvars manpage. However, ``` % set tcl_wordchars can't read "tcl_wordchars": no such variable ``` Does some package have to be loaded in order for these to be available (by word.tcl being sourced) in which case that should be documented? Or are they to be removed from the documentation? As a follow-on, why does their definition (as per the manpage) differ between Windows and Unix?
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "69. Other"
- title initialized to: "tcl_wordchars and tcl_nonwordchars"
- type initialized to: "Bug"
Ticket change [67c04ba39b] (rid 234375) by jan.nijtmans on 2024-10-18 15:38:15:
- icomment:
> Does some package have to be loaded in order for these to be available No. The idea is: if you want to change those, just do: <pre> set ::tcl_wordchars {\w} set ::tcl_nonwordchars {\W} ::tcl::UpdateWordBreakREs <pre> Why would you want to do that? I don't see the function ::tcl::UpdateWordBreakREs documented anywhere > As a follow-on, why does their definition (as per the manpage) differ between Windows and Unix? That's not true any more, since [bc8560501f9f895a|this] commit. Aparently, the documentation was never adapted - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [137e2c9b6c] (rid 234376) by jan.nijtmans on 2024-10-18 16:57:35:
- icomment:
Actually, it's not even needed to document ::tcl::UpdateWordBreakREs. As soon as any of the wordchar functions is called, tcl_library/word.tcl is loaded and ::tcl::UpdateWordBreakREs is executed. Nothing special needs to be done. So, the only thing that needs to be done is fix the documentation regarding the difference between Windows and UNIX: There is no difference any more
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [f24672c0eb] (rid 234380) by jan.nijtmans on 2024-10-18 19:08:07:
- assignee changed to: "jan.nijtmans"
- foundin changed to: "8.7"
- icomment: "Proposed doc fix [b2eab2cc8efe5728|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Pending"
Ticket change [534cf3ea9f] (rid 234459) by jan.nijtmans on 2024-10-23 13:41:03:
- closedate changed to: "2460607.07018201"
- closer changed to: "jan.nijtmans"
- icomment: "Hopefully, the documentation is more clear now."
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- status changed to: "Closed"