From nobody Sun Mar 19 16:33:56 2023
Return-Path: <christian@amsuess.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id B2959C151553
 for <cbor@ietfa.amsl.com>; Sun, 19 Mar 2023 16:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level: 
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001,
 RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001,
 URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194])
 by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id LdSUoub7NHP7 for <cbor@ietfa.amsl.com>;
 Sun, 19 Mar 2023 16:33:49 -0700 (PDT)
Received: from smtp.akis.at (smtp.akis.at [IPv6:2a02:b18:500:a515::f455])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 8822FC151551
 for <cbor@ietf.org>; Sun, 19 Mar 2023 16:33:47 -0700 (PDT)
Received: from poseidon-mailhub.amsuess.com
 ([IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd])
 by smtp.akis.at (8.17.1/8.17.1) with ESMTPS id 32JNXiO0077730
 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <cbor@ietf.org>; Mon, 20 Mar 2023 00:33:44 +0100 (CET)
 (envelope-from christian@amsuess.com)
X-Authentication-Warning: smtp.akis.at: Host
 [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bd] claimed to be
 poseidon-mailhub.amsuess.com
Received: from poseidon-mailbox.amsuess.com (poseidon-mailbox.amsuess.com
 [IPv6:2a02:b18:c13b:8010:a800:ff:fede:b1bf])
 by poseidon-mailhub.amsuess.com (Postfix) with ESMTP id 48FC01D56B
 for <cbor@ietf.org>; Mon, 20 Mar 2023 00:33:43 +0100 (CET)
Received: from hephaistos.amsuess.com (hephaistos.amsuess.com
 [IPv6:2a02:b18:c13b:8010::907])
 by poseidon-mailbox.amsuess.com (Postfix) with ESMTPSA id E89A31FA0E
 for <cbor@ietf.org>; Mon, 20 Mar 2023 00:33:42 +0100 (CET)
Received: (nullmailer pid 612 invoked by uid 1000);
 Sun, 19 Mar 2023 23:33:42 -0000
Date: Mon, 20 Mar 2023 00:33:42 +0100
From: Christian =?iso-8859-1?Q?Ams=FCss?= <christian@amsuess.com>
To: cbor@ietf.org
Message-ID: <ZBeb1i5cwSr+nUr1@hephaistos.amsuess.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="AGE6o0P/TwT3gsl4"
Content-Disposition: inline
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/bBILX0VZCzTnYR7FsYan6giE1ig>
Subject: [Cbor] Diagnostic Notation: Media Type?
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>,
 <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>,
 <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 19 Mar 2023 23:33:55 -0000


--AGE6o0P/TwT3gsl4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello CBOR experts,

as Python tools I'm maintaining are gaining support for Diagnostic
Notation[1], I found it hard to communicate to syntax highlighters that
data is in diagnostic notation due to the lack of a a registred Media
Type for Diagnostic Notation. (Also, pygments has no syntax highlighter
for it, but that's an issue of its own).

I suppose there was deliberation behind not registering anything for DN.
After all, this Should Really Not be sent across the network. But then
again, Media Types are useful for more purposes than that.

Is the use with syntax highlighters (and editor auto-completers and all
"that kind" of applications) reason enough to revisit this, and if not,
do we have a suggestion what kind of Media Type to use? For example,
given that all the mentioned uses are in a sense "local" environments,
would "text/x.cbor-diagnostic" make sense?

BR
Christian

[1]: https://cbor-diag.readthedocs.io/

--=20
To use raw power is to make yourself infinitely vulnerable to greater power=
s.
  -- Bene Gesserit axiom

--AGE6o0P/TwT3gsl4
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECM1tElX6OodcH7CWOY0REtOkveEFAmQXm9IACgkQOY0REtOk
veEEFw//f024b6jvIl/pHjJo7pmEHRxIIJMLYNrqLlF3wtAsjl/AYCDBPrC1xKxP
vu3YF1QopbbZfjUM4LX68zCS4wDMuw95tDXX1bGnyVmpF372cUK1X6CSJdT9CfFw
/km55EewFnROp/SWcd+EDIykwp04dv8zNXzhoGYM/4rO+DSO6FmS8Z8L9JnRPF9Z
CJGvLqxQ0JKcJ0gO7arZUTB3yHMNdJjhsFmIAgPSQQaH+2CYPhWbQILsC6QL9xwA
gzQc6wqzd1ck94IV/PIN1htAVjmpba2/PBIhOwfGrTAPeIUzpGLJZOGq3R2zEZpP
DU+To0WP/PrKHdWHfk/8LTv6qilJuuLez9h6BZPpjHahl16RHnz/P/jED/nvsjF1
ZD8lhlQnHi11OrVOAGTUVQTED6LZnx8vPzzr3xnZ/AIJRXlAIXKdU91XHmRTBbSt
6pS0FirFe/QJqqy59S+NqMXAdtCnw75kRH4TrZTE/e902OEy/+5qtP4DHat6AKSo
WX3umNW6f7XgZM0ZuvsLnKgpJiKaYL/kuRUcS8k8Zdlihl49gAebmeg3vGlL1Ax1
oo33pQEQHWmr/ro6+b+84D2S/Q3F7eMh/b4HVZVakyuiapDeSqZEODch2c1OANnn
2ZEn407c333JbUdbiMbHyFkFbCVKtitCRG2VBCKVxBT3TMBiqnQ=
=sFrM
-----END PGP SIGNATURE-----

--AGE6o0P/TwT3gsl4--

