Tk Source Code

Check-in [1b3c3c45]
Login

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

Overview
Comment:Fix [d5d7f548bd]: option readfile handles backslash-space and backslash-tab as in the X11 resource file syntax
Downloads: See separate download page
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: 1b3c3c451bc7ba731d96a523291196ccf4b72e8bd4b5836514f01ce3a83e2038
User & Date: jan.nijtmans 2026-09-28 11:46:53.602
References
2026-10-24
19:51 • Closed ticket [766ef52f]: option readfile loses list structure plus 6 other changes artifact: 6642e7ff user: nemethi
19:10 • Closed ticket [d5d7f548]: Tk option readfile fails to properly handle \tab in resource files plus 7 other changes artifact: 8efe6ae9 user: nemethi
Context
2026-09-28
12:10
Fix [d5d7f548bd]: option readfile handles backslash-space and backslash-tab as in the X11 resource file syntax check-in: 1e68ab40 user: jan.nijtmans tags: core-9-1-0-rc
11:53
Fix [1813595]: loop race in canvas Enter / Leave bindings check-in: 93336787 user: jan.nijtmans tags: trunk, main
11:46
Fix [d5d7f548bd]: option readfile handles backslash-space and backslash-tab as in the X11 resource file syntax check-in: 1b3c3c45 user: jan.nijtmans tags: trunk, main
10:02
Fix for [d3b9644729]: X11 <KeyRelease> broken. check-in: cd8ac5d1 user: csaba tags: trunk, main
2026-09-25
09:00
Fix [d5d7f548bd]: option readfile handles backslash-space and backslash-tab as in the X11 resource file syntax.

Replace "\ " and "\<tab>" anywhere in the value again, as Xlib does, instead of only one at the start (the special case added for [766ef52f31]). Values which contain backslashes, like Tcl lists, must be escaped when written to the file; this is now documented. Octal escapes accept only octal digits. closed check-in: 7b80bfa5 user: serhiy.storchaka tags: option-readfile-x11-escapes

Changes
Unified Diff Side-by-Side Diff Patch
Changes to doc/option.n.
Changes to generic/tkOption.c.
Changes to tests/option.test.