Re: [Tools-discuss] Why do we even have text formats any more?

Eric Rescorla <> Wed, 28 July 2021 02:22 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 516963A16FA for <>; Tue, 27 Jul 2021 19:22:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id ix0MnHdExAUl for <>; Tue, 27 Jul 2021 19:22:03 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:4864:20::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 6518A3A16F9 for <>; Tue, 27 Jul 2021 19:22:03 -0700 (PDT)
Received: by with SMTP id r5so1210912ilc.13 for <>; Tue, 27 Jul 2021 19:22:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=R1jUgGaMlgoNUXXCPqT19Utn/nZ1wsJTADdryqXJ6Yc=; b=H0wifV4bYdVMrU/CYjeiV6PP1wgVIEuczvG2UBDc3/9OcM1ji90SxGrneHdpNlMm1q /i5PxjcYdu4OraC59tbIvG9wU+ie65YrpTxEpaTdgbMxW9DCU9Q/VHYZnADcE/eYUB0I oJ3cYlKBqcRiK9U6J5oAyYWqO+PyK4JwVHooeGNGaFMXndpheQsbE28jASlhGql6LrYO HH+Ef+aid3h9tqzYMPB/J6IRGDdxkDcTe52lK19kjR/r1hCigOZGu92UXwS+MVWAGvhx EecbLgP6fHBl2E3mZmK0ZOoOGupmNo57X0QmPwAb7pIJo1Z4v9BB4VgJj1i4PD4XilHS RaNA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=R1jUgGaMlgoNUXXCPqT19Utn/nZ1wsJTADdryqXJ6Yc=; b=RVG46LCen60lq0u7OLaGb39XsXHbSb0uyah9UPuKWh5WxVl1HHLVhuWr4qCceMI2A/ PBD1yJc7Q2QqVR74kV4RQgkHQczPMwFhXp5mMqTur2R59sZtc3iUFLh03B9BGUx0aSsA rNDOCiJFaH+q8ZzzM+981cQMfpji2nEL1KYdMUsSlhOFpAPpo/xpIbLTLV1TQBUZTsvm DkOW9tWVgb7LNvLU/aqfl8X6EObZRSt4vCMVJpH9GSkngRH5eW6BX5NiAPyGjNJlbq7s SZOOfHPhBi8fSUIdD94rw4fPl2jYfYpwWsSOOXhLApEFS/XYQzEL0BSa3nI2GoLBB/ZN DDeg==
X-Gm-Message-State: AOAM5323XqXW1sj+DOzselcsyTw/ZbYdBAJk0eUzWBvAKRpgh6RlB5MH /Zfe2rWOPfehRN3nIZWL3QWKqUr6OWbvohBGpl+5hN0D6NPzTw==
X-Google-Smtp-Source: ABdhPJyy7Ass8+fGMnxfGbGwXRXuOlZOTNDV9wZKtCbKHaNpPYHci3zfRc0q9LbJswdHhhv6a8gSJ2OkgUculiU7ZM8=
X-Received: by 2002:a92:d848:: with SMTP id h8mr19032153ilq.282.1627438922182; Tue, 27 Jul 2021 19:22:02 -0700 (PDT)
MIME-Version: 1.0
References: <>
In-Reply-To: <>
From: Eric Rescorla <>
Date: Tue, 27 Jul 2021 19:21:26 -0700
Message-ID: <>
To: Martin Thomson <>
Cc: tools-discuss <>
Content-Type: multipart/alternative; boundary="000000000000d9cca405c825a6bb"
Archived-At: <>
Subject: Re: [Tools-discuss] Why do we even have text formats any more?
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Tools Discussion <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 28 Jul 2021 02:22:08 -0000

FWIW, I generally do reviews by pulling the .txt file into my editor and
cutting and pasting the pieces I want to respond to. Presumably I could find
some way to make that work with HTML if we ditched the text format entirely
though it would probably be somewhat less convenient.


On Tue, Jul 27, 2021 at 6:54 PM Martin Thomson <> wrote:

> I realize that this might be a little inflammatory as far as subjects go,
> but bear with me.
> There are probably a few narrow cases where rendering plain text is better
> than HTML.  But what we've been doing for years (thanks to Henrik's great
> tool) is take text and turn it into HTML using the power of regular
> expressions.  That's been good, but it's not always reliable (how many
> errata mention that "Section X of [FOO]" links to Section X of this
> document?).  It's also been lagging as the text format changed (case in
> point: lack of a table of contents).
> Here's an alternative: style the HTML so that it looks like the text.  I
> tried this and it worked shockingly well.
> Repo:
> Demo:
> This isn't perfect, but it seems pretty good to me.  Keep in mind that
> this took only a little bit of time to sketch out. No doubt it can be
> improved.  The readme has a bunch of things I found, all minor.
> I don't think that this is the end of text, but a possible way to limit
> our use of the htmlizer[1].  People who need to automate access to content
> might still use text, though I will argue that XML is superior in that
> regard.   The other thing that comes to mind is diffs: HTML-native diff
> tools are somewhat less than ideal.  Either way, serving HTML is just
> better.
> Enjoy,
> Martin
> [1] Though I still see a shocking number of people authoring in XML (or
> XML-capable input formats) and submitting in text.  But I think we have
> plans to limit that.
> ___________________________________________________________
> Tools-discuss mailing list -
> This list is for discussion, not for action requests or bug reports.
> * Report datatracker and mailarchive bugs to:
> * Report bugs to:
> * Report all other bugs or issues to:
> List info (including how to Unsubscribe):