Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d48ec7d6292d6e4daf31474062a90bea39a1da2ece3470fb3a75499d4bf6ce87
Ticket: 8cae59ecb03a6269468379a1e028c01f604ce5de
Eliminate "-encoding binary" in favour of "-translation binary"
User & Date: jan.nijtmans on 2024-06-20 13:42:19
Changes

  1. icomment:
    <pre>
    > I observe that one of the goals of very recent commits on Tk widgets was to
    > keep size values specified on options unchanged, as specified by the user,
    > rather than changing them to the internal pixel value - that was considered
    > bad practice, and this seems to me to be a similar case.
    </pre>
    
    Indeed, that's why I'm surprised that in Tcl 8.x:
    <pre>
        % fconfigure $f -translation binary
        % fconfigure $f -translation
        lf
    <\pre>
    
    I would expect "-translation" to give back "binary" in stead of "lf" here, then that can be used to check for binary mode.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"