From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8022 invoked from network); 12 May 2022 14:21:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 12 May 2022 14:21:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1652365261; b=kAybi7MDdnRv/bqnfG6OI0RXRS/Ep9OnnpaVBUCAcRuMsHlcjBfG0o3YKZu/hWbNvrTYl9+Fbp LQeoAAR8Qy8m7tQnBCpxEQW2WdiCggzp1mTTjOZ2F2Nhi2eDMZ9RPHdoYEiAXnlpSiaJHZbSdZ FdnY+0Iechy8g/yKlQu2DtLRDAG4olnM28pvst47bVj2Su20kRRGK/bdX/nhvmIrlksvDzgf40 5YBL9Ku3V5DDEO1mvpagwbBla96tvw17ULBeJGLuN+EDBF52chI9O8ojZhOvtgboQCBtoW+qll jgLeqT9IBH/gLll2vm9Cjn0pf24fMG0X1zb6cv9Dh3wUYw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1652365261; bh=wmPxyr2JLlUiTrCJ4E4rRzNsu8utqLS/gD+nc23NYtg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Subject:Cc:To:From: Date:References:In-Reply-To:Message-ID:MIME-Version:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=W7eATLH8ZxKVVA/2g/tjJIdbDG1o3z4Wp20oFalDx9HTI8C5J8I8JXVwpoop5DptwgT8T9jmal tia9y64wqDNEzyPXtUsE/xnztqBEWC1NqDQSkyV3igevIPRHrDpur3jZWpXYAC4H9QRJSbuj7y rSuUueOvyKtWSPJbw0dnkgk0G6+5wSFGT79PjCI9x5mZc7D5XjkZtIgiTOqIoKWNzHX9jeM4nq ADL7fMfy6VMd6/RBuLr/bCfepiI5yB+DTw1yr62DPlbpgP6fNrf09pZo5t3dVUGkOV14x+sLyX OTX038kKqtU77MC8raOmmDp4Hejf/dYBYf0ZYDCmL13MJQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=5+RgkYByR8QvnpYZBwQq1nd48vlQz5ve0qNJ5KZP1L0=; b=hFwoLrzvr9becSoP90vP82boDy v0DN6ypOTELgvcQvoGHVKCuicvMAHOpWTWNVCsKbJQ9YRdAMOOxaGh6eLDOVwHKCx6V2qYSjqvVsv kuPuQACfeF51bbssavhTaCEEye6ia8hJ8TlXvi7FKzfbjUYPKyAd9n5Rp4Zq83e4X1HW7vYJTQupQ hsZ25fYM35evsaNBTHi37jsTKPuVTuhbgXG9XmnLWpzruEJva5aAusIQH1uvUrC4kO7VHbHIPpAZF OgVbsOc9+xNF7pBYogoAA+aC7v9YdC55vRhI3XoAKqUQx/3rRpOkxATCAjMCem2jJkJKOqnnJTkmx XkgREr1Q==; Received: from authenticated user by zero.zsh.org with local id 1np9gZ-000BEh-OR; Thu, 12 May 2022 14:20:59 +0000 Authentication-Results: zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56609) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1np9g2-000Auu-Uw; Thu, 12 May 2022 14:20:28 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3B9465C021C; Thu, 12 May 2022 10:20:26 -0400 (EDT) Received: from imap46 ([10.202.2.96]) by compute2.internal (MEProxy); Thu, 12 May 2022 10:20:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1652365226; x=1652451626; bh=5+RgkYByR8 QvnpYZBwQq1nd48vlQz5ve0qNJ5KZP1L0=; b=Jh7kt3w3qSjsqU8x+0/eRYK72r HnIsTNCA9RDG8D336F6D6iGYjRSctogOXkJGHa/l6ek12IEcVTxpHxJT6mYQekCv G8hDM9GmjTaFSryNcbkn62RkufzUzk+DWLyAhSU+jgtbns5Pnvm7j3P28tYVCViJ k/ldffJJk12qejTpCbO50oVxj61nNRgKiqOSyvSCKDRkwNF4oeKIT2zQKpdwEFTu CQmlcvzPGUeoibues0nI+S8vHUyL1wbmN0v9x2a+Ru9Y8m9OZa0huIiLeTu3igYV W4+4wV1fMf3xrElK0zV7fJhK3vCHaR/qk4p3+TaKm5IUUNjuZkSzmdPz6Mqw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1652365226; x=1652451626; bh=5+RgkYByR8Qvn pYZBwQq1nd48vlQz5ve0qNJ5KZP1L0=; b=IGGq/pgJae1OPsJXto9DGSpM7ycB6 6T3hA7PM9WN+6lwZ9T/MCRq2xd3ioamr/9TxRNjT89CKIslhprSbAs7Ml5FvgVcH kEFe4GJ41wEPwX177ZHMOxB/OV3wv6nroXP/qqlYhRoSdN5rE+lPdW8Psyiuoyem 5CpgtkCXL0veiBOoLc2saE+ZxBtfNLSeRPUPtBDrA7jzNLv+UCFVZTpHV/7Og+AH cQiobdC2Dh5B4BiqMR8KZtM6m0pHacfGvejVNP36R+LyeY4xk2dxfGXbA6sqyFam wOkjfwqY0pTN7s/+Zo7Sop29DZO4CcyePnNjauLhjUleP6dxU52D6CSAA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeejgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvfevufgtgfesth hqredtreerjeenucfhrhhomhepfdffrghnihgvlhcuufhhrghhrghffdcuoegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvgeqnecuggftrfgrthhtvghrnhepffdvheeutd dugeejledtjeethfehueeukeeijeehueduiefgfeevjeeiieeifedvnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrd hshhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 01BC82A20069; Thu, 12 May 2022 10:20:25 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-591-gfe6c3a2700-fm-20220427.001-gfe6c3a27 Mime-Version: 1.0 Message-Id: <42767ea2-1255-4f79-ac1a-0db8c1d1be24@www.fastmail.com> In-Reply-To: References: Date: Thu, 12 May 2022 14:20:05 +0000 From: "Daniel Shahaf" To: linuxtechguy@gmail.com Cc: devs Subject: Re: Unexpected output in zshcontrib(1) that doesn't match yodl source Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 50210 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Jim wrote on Thu, 12 May 2022 10:00 +00:00: > Should have been more clear on the "highlighting" part mentioned in my > first email. In the attachment with the original email only the last > item in the list "run-help-svn" is highlighted(in red). The attached > file, here, is from the on-line file I referenced. As can be seen "run= -help- > srn" is a different font than the others listed there. I checked some > older versions of the man page I had on one of my systems and the > highlighting of only the last item in the list has been there at least > since version 5.3.1. > > Am I wrong in assuming all the items in the list should be > "highlighted" or should none of them? All of them should be in a fixed-width font (or red, in your viewer). That's what =C2=ABtt(foo)=C2=BB is meant to do. The markup in the source is xitem(tt(foo)) v. item(tt(foo)). So, the cause of the difference lies in the definitions of the xitem()/item() macros, in Doc/ztexi.yo and Doc/zman.yo. The former file is used for texinfo output (from which HTML and PDF are generated); the latter for man page output. A good next step would be to build the docs (=C2=ABmake -C Doc=C2=BB) an= d review the man page source / texinfo source generated from the yodl, to see what part of it suppresses the markup generated by the tt() macro (that one is probably part of yodl). E.g., on 5.8.1.3-test using yodl 4.02.00 I get: .TP .PD 0 \fBrun\-help\-svk\fP .TP .PD \fBrun\-help\-svn\fP Assistant functions for the and =C2=ABman Doc/zshcontrib.1=C2=BB renders both "run-help-svk" and "ru= n-help-svn" in bold. That is: I can't reproduce the problem with the man page output on 5.8.1.3-test with the aforementioned yodl version. ENOTIME to test the texi output, sorry. Cheers, Daniel > Wish I knew yodl better. >=20 > Again, thanks for your help, > > Jim > > Attachments: > * Screenshot_2022-05-12_03-37-49.png