Re: [Jsonpath] Trailing whitespace (Re: PR regarding selectors ...)
Stefan Gössner <stefan@goessner.net> Sat, 12 June 2021 16:33 UTC
Return-Path: <stefan@goessner.net>
X-Original-To: jsonpath@ietfa.amsl.com
Delivered-To: jsonpath@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BAED3A1923 for <jsonpath@ietfa.amsl.com>; Sat, 12 Jun 2021 09:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.388
X-Spam-Level:
X-Spam-Status: No, score=-0.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RmsmBV8zyxdC for <jsonpath@ietfa.amsl.com>; Sat, 12 Jun 2021 09:33:10 -0700 (PDT)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5A1B83A1903 for <jsonpath@ietf.org>; Sat, 12 Jun 2021 09:33:09 -0700 (PDT)
Received: from [192.168.178.20] ([88.130.51.89]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MEmtx-1m8JyD1Err-00GIk8; Sat, 12 Jun 2021 18:32:58 +0200
To: Carsten Bormann <cabo@tzi.org>
Cc: jsonpath@ietf.org
References: <4061cd79-10d9-f49f-ee0e-c4b5c8b5c69c@goessner.net> <F8595196-876B-42C0-BF2B-FEAB913DD36C@tzi.org> <216567A7-3F08-437F-9793-B773AB0E82F7@tzi.org> <5760e12a-2b9d-8a56-82e2-8488e0f55b08@goessner.net> <DF5D3D6B-0DE6-496D-B1A1-19D560C0339C@tzi.org>
From: Stefan Gössner <stefan@goessner.net>
Message-ID: <dda1ec74-cd07-8993-7349-fe565241453e@goessner.net>
Date: Sat, 12 Jun 2021 18:32:39 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <DF5D3D6B-0DE6-496D-B1A1-19D560C0339C@tzi.org>
Content-Type: multipart/alternative; boundary="------------F2785177CA20337E8C79AC0B"
X-Provags-ID: V03:K1:qUmmmMUCXrxlxUEoXBjBI6tmWBIj247EbQCbEarx8q9GCC3fa/v aXQVD+DN1kHTZ7JBRuzxpYVCI0Z75ntcSGmxrzXjq3pIFwLSZf++jd8+C2MwZ9dXAeC0AZx DlOtC42zyaD6l31QdvJdUQniS34tPi5NO0lB362gBTL38IfRjpRqTeiPB4IBWGiowB/EOdl qFEmHtjh6ogKVTFq3EVsg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:O96aA8oE5PU=:C5Io7ExVCU15GVKrz5vlDb kaMTr/gAyYbUmT8Fsy0KkrVUEyol7HdYhWtUoe8shfvue+bTE8bAT1Sq34GJRRntC+0NkxLoP ar1lmc8CZsOEagEy2B3Ect4rimQe9v4LyuS61fcLurE9pOblZYRZ1ihNjXKwxpyTIBVAwHxWT GM1+armL3SqZPvkFp5isgtjlsI888OZXG4QrqWnNUKyqDSHL9wcPh4FCwHkOEZpcbxjlm0gQF IrusJ6JUiFiCLltawx+GJ1UDHDHONc52lq6e4+5GAAcG+jj9OrFjxJQn6SZqrMjkGwE2sxAnU DJmQcp+a0okpboHlOX+lncbgVrapcKlcqaFoSfxkIkt3xsyU1PoX0CPRUOFjBx/5b09JopGlA Flf/xBeuS8EYbkBGyxCVLqrf+pqTyh8Vr0HXPNwjkR32BQeiyX0o5l+hn+F9LdGmuu+eZQXgO jVAWtwPeVvkubCn7xS+BCH7UBVsVRKWpeHjfUMdK3xflWhiTgRShE3a86QWTejEg7jAO97anH ldOWVpuYVukmZ0VCJ57hYo=
Archived-At: <https://mailarchive.ietf.org/arch/msg/jsonpath/blH6r8AiqXl8BbNtB6Xll3WSYFo>
Subject: Re: [Jsonpath] Trailing whitespace (Re: PR regarding selectors ...)
X-BeenThere: jsonpath@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: A summary description of the list to be included in the table on this page <jsonpath.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jsonpath/>
List-Post: <mailto:jsonpath@ietf.org>
List-Help: <mailto:jsonpath-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jsonpath>, <mailto:jsonpath-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Jun 2021 16:33:16 -0000
I am very well aware about meaning of trailing whitespace in Markdown. But what is new to me is, that whitespace * in metadata section (YAML) * in code section needs to be avoided too. Ok, now I know. -- sg Am 11.06.2021 um 23:04 schrieb Carsten Bormann: > On 11. Jun 2021, at 07:31, Stefan Gössner <stefan@goessner.net > <mailto:stefan@goessner.net>> wrote: >> >>>> There also was trailing whitespace.) >>> >>> hmm .. . this is important to avoid. > > Unfortunately, giving a meaning to trailing whitespace is one of the > big blunders that John Gruber made when defining markdown. > > Kramdown-rfc plays along, but the whole thing is so error-prone that > Martin Thomson created a commit hook that stops you from committing > changes that introduce trailing whitespace. > > Which maybe is a reasonable thing to do, but it creates an interesting > failure situation: > Somebody manages to sneak in a commit that does create trailing > whitespace. > If somebody tries to edit the document updated with that commit, they > can’t commit their changes because the commit hook doesn’t let them > commit. > > Of course, modern editors have easy ways to get rid of trailing > whitespace (M-x delete-trailing-whitespace RET in emacs), but the next > committer > (1) first has to diagnose the problem > (2) needs to find that command that they may not need too often > (3) litters their PR with all those whitespace changes because they'd > lose the changes in the working copy otherwise. > > I don’t know a way to avoid trailing whitespace that doesn’t have that > problem, or I would already have suggested that change to Martin. > > TL;DR, yes, let’s please avoid committing trailing whitespace. > > Grüße, Carsten > > > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virenfrei. www.avg.com > <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > > > <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
- [Jsonpath] PR regarding selectors ... Stefan Gössner
- Re: [Jsonpath] PR regarding selectors ... Carsten Bormann
- Re: [Jsonpath] PR regarding selectors ... Carsten Bormann
- Re: [Jsonpath] PR regarding selectors ... Stefan Gössner
- Re: [Jsonpath] PR regarding selectors ... Tim Bray
- [Jsonpath] Trailing whitespace (Re: PR regarding … Carsten Bormann
- Re: [Jsonpath] Trailing whitespace (Re: PR regard… Glyn Normington
- Re: [Jsonpath] Trailing whitespace (Re: PR regard… Stefan Gössner
- Re: [Jsonpath] Trailing whitespace (Re: PR regard… Martin Thomson