Skip to content
Tcl Source Code Artifact [1f6a7a6ca1]
Login

Artifact [1f6a7a6ca1]

Artifact 1f6a7a6ca11bf6c2f7e5c97701ea766a9891a3cf9863ed23162f491f22057b11:

Ticket change [1f6a7a6ca1] - Pending ticket [a127bf6415cbfa42|a127bf6415]: <i>auto_path is documented in two manpages</i> plus 4 other changes by tberg on 2026-06-16 13:33:32.
D 2026-06-16T13:33:32.423
J icomment This\scannot\sbe\sresolved\sunambiguously\sas\sboth\smanual\spages\smix\sthings.\sIt\sis\snot\sonly\s`auto_path`\sbut\salso\s`env(TCLLIBPATH)`\sand\s`env(TCL_LIBRARY)`\sas\swell\sas\s`tcl_nonwordchars`\sand\s`tcl_wordchars`\swhich\sare\sdocumented\sin\sboth\splaces.\r\n\r\nJudging\sfrom\sthe\sNAME\sof\sthe\smanual\spages,\sthese\sare\sthe\stopics:\r\n\r\n-\slibrary.n\s=\sstandard\slibrary\sof\sTcl\sprocedures\r\n-\stclvars.n\s=\svariables\sused\sby\sTcl\r\n\r\nSo,\sin\san\sideal\ssituation,\sthe\slibrary\spage\sshould\sonly\sdocument\swhat\scomes\sfrom\sthe\sTcl\slibrary\swhereas\sthe\stclvars\spage\sshould\stake\sthe\srest,\si.e.\swhat\scomes\sfrom\sTcl\sdirectly\s(disregarding\sthe\sTcl\slibrary).\r\n\r\nHowever,\sthese\stwo\scannot\sbe\sseparated.\s`tclInterp.c`\s(core)\sis\ssetting\s`auto_path`\sunder\ssome\scircumstances\sas\sdoes\s`auto.tcl`\s(library).\r\n\r\nSo,\swhat\sis\sthe\smost\snatural\splace?\sLet's\skeep\sit\sin\stclvars.n\sas\sit\sis\snot\ssolely\sthe\sTcl\slibrary\sbut\salso\sthe\score\sthat\shas\sa\srole\shere.\sAlso,\stclvars.n\sis\sthe\smanual\spage\swhere\s`auto_path`\sis\slinked\sto\sfrom\sthe\smain\spage\s"html/TclCmd/index.html".\r\n\r\nI\shave\snow\skept\sthe\sdocumentation\sin\stclvars_n\sand\sremoved\sthe\sslightly\sshorter\sone\sfrom\slibrary.n.\sWhere\s`auto_path`\sis\smentioned\sin\slibrary.n,\sI\shave\sinserted\sa\sreference\sto\sthe\stclvars\spage.\r\n\r\n\r\nWhat\sshould\swe\sdo\sabout\sthe\sothers\s(`env(TCLLIBPATH),\senv(TCL_LIBRARY),\stcl_nonwordchars,\stcl_wordchars`)?\sSame\sprocedure\sas\swith\s`auto_path`?
J login tberg
J mimetype text/x-markdown
J resolution Fixed
J status Pending
K a127bf6415cbfa420ed96dcb9144ab4263f1e6bf
U tberg
Z 82fc7c9ef4a851024419ea5928fb615d