Re: [xml2rfc] hangIndent

Julian Reschke <julian.reschke@gmx.de> Wed, 24 April 2019 07:30 UTC

Return-Path: <julian.reschke@gmx.de>
X-Original-To: xml2rfc@ietfa.amsl.com
Delivered-To: xml2rfc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 192C812023E for <xml2rfc@ietfa.amsl.com>; Wed, 24 Apr 2019 00:30:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 I0pNjVY6usBV for <xml2rfc@ietfa.amsl.com>; Wed, 24 Apr 2019 00:30:44 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2BADF1200F6 for <xml2rfc@ietf.org>; Wed, 24 Apr 2019 00:30:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1556091033; bh=FN7rIk9F1FBdSi08wfjQOpvOPPVDyf9vm3VvnXqHsEs=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=BRXubdJ9WWLUzx89rlnhEVrclUIomAscKxcf4JqZZLscIgYJtEhUeufk6WHEpbNPz WxBIg7VQvXRg9QSZd/m+xwpi/DBftfSUfr6gwQnA3EE+DbKoNupvXr+9NqP0m2x2Kp igibbHj+kmE5LILlznS6lZ/cgLDgWfC3GYtElZm0=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.159.224]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M7pku-1gWzSD1fPc-00vL1z; Wed, 24 Apr 2019 09:30:33 +0200
To: Randy Bush <randy@psg.com>
Cc: XML2RFC Interest Group <xml2rfc@ietf.org>
References: <m2ftq8h4qh.wl-randy@psg.com> <3dd4d34d-43d1-ba19-060a-d9e7a80f82cd@gmx.de> <m24l6ogfc1.wl-randy@psg.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <ab1b561c-4ed7-a907-1e73-bb21d2f4b9da@gmx.de>
Date: Wed, 24 Apr 2019 09:30:31 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <m24l6ogfc1.wl-randy@psg.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:gmYyDc2fwSE1U8BQquaKFZe0DehtSlw1Z6PMFCfs5Pcj9z1aNC3 /IDkRnxu8k2hP7SaAi+UTxtlKGmCkN01Ap47Zx9ugTWeMuMzcenMNsX1ii3jvAXaEBVra/z TaQLUQFRUnMyOp6HmAdzzTb10JEgjS3/rN7HgoC2hILHdLFQkTsE3hJ3KcWRaz2+RTHKqi0 aZ9JEcxUpVpIlR2+D9E0w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:7wyXtseNFRE=:/mCf4JGhyqTvRRgqfwUprW NlpS/YhDM5IjzZ7YJDjJ21iqBOg0hC3JuL98xeyKLDZaquq0VrNQLLp8NQwgxaKekIBO+qo9F LsYYBaz+HWQNZy3DZ4ZduD2KVuOUxzfexZaPLLxvGdeeOsCOvfv54EYv61d+IwdwTmpEa/cAl H1kjU7U8d54n/XzgzwGihsv6HV7QpMG/2AiIgsKrC5Aohro9Td7b6ob8TUOGgE3qaVByxwwGK fF4VXHLXjX2Hv3+NQUh79UHFd21GEP/jK8JfbI84xl3vI+TNL/TP4e3uIIxTmhxynGddQcUkF vkCRWdh1jU/8IGGAJmc+NLhEM/TZIqNv5ngcixFJ/76yAOjxZeQRgaArg5seVnntKz+3W1N9b l2c84xultjWRRXJ/2TPwBBXPoGS8+tz+0fCxDziRBh2VZV9cPNpdPlDpoi97S97+l+EWk1iQE 5E8vev9aULUDewsW0nxLi9gwDnSHsrRxM9IPjg14yhfLb7n1zEEX3Dam/2SPaAnlggn+7nhk7 UJIxS4fvelJ4wIYLrIIoLon3ZReUkhVMCBkgzPoXJ4Azi+RwsilDnqiqnuQoBNLfE1qchpmRD QJAj0A1blrvEphEOIubr03sFkQk74KmqWJlonahUF8dYBdS5n+FW6g6Oy4TnBVATWFmaBPtE3 2ck1fH+JaHGCLqhyGpGwKsmD3o/GidE3ClRWQV8Cy3BKm5fZkzRJaqGUyVERbokkLGV0/ByAl qGtb97dLyoEBJqsKWB7R9Ux45UV4DcipSTorV4mnigpF/0qmXrlVqK1Jh2DwzxO8rjMNVgj4T S+J7Jz0tkOW8egiwCHOUWNMcitMabSOda5ngedUc5Otfehe6ctQHmx9JaZBqLU21fILvbKJMI J213bxUNpnqGpISlVQhYTFqaMwsr5FaaMTgUQPyxgkr+kZoFNVhjMZwQGWKk5Z+d+fs/gQIra qTqo66/erTQ==
Archived-At: <https://mailarchive.ietf.org/arch/msg/xml2rfc/9koDLTKB9ymWj6wHWrV_D4l2y7A>
Subject: Re: [xml2rfc] hangIndent
X-BeenThere: xml2rfc@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <xml2rfc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/xml2rfc/>
List-Post: <mailto:xml2rfc@ietf.org>
List-Help: <mailto:xml2rfc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xml2rfc>, <mailto:xml2rfc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2019 07:30:46 -0000

On 24.04.2019 07:08, Randy Bush wrote:
>>>       <?rfc subcompact="yes"?>
>>>       <t>ULP Type:
>>>         <list style="hanging" hangIndent="6">
>>>         <t hangText="0:">BGP</t>
>>>         <?rfc subcompact="no"?></list></t>
>>>
>>> produces
>>>
>>>      ULP Type:
>>>
>>>      0:    BGP
>>>
>>> the list element is not indented, spaces are inserted after the hangText
>>>
>>> clue bat, please
>>
>> Works as designed.
>>
>> Do you *really* think you need something else?
>
> empty lists indent.  so yes, i kinda want other lists to indent
> ...

Well. The purpose of xml2rfc in general is to capture semantics, and to
format that consistently. Not having complete control of the output is
intentional.

My recommendation would be to just live with whatever the formatter
gives you. Does it really matter that much?

Best regards, Julian