From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25391 invoked by alias); 14 Mar 2014 16:09:24 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 32482 Received: (qmail 3821 invoked from network); 14 Mar 2014 16:09:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Biglobe-Sender: From: "Jun T." Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: A minor yodl incompatibility? Message-Id: <54851DE7-018C-4AFD-A51B-D768E123FBCF@kba.biglobe.ne.jp> Date: Fri, 14 Mar 2014 23:26:50 +0900 To: zsh-workers@zsh.org Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) X-Mailer: Apple Mail (2.1874) zshzle.1 generated on my machines (using yodl 3.0 or 2.15) contains the following line .SH "USER\e\-DEFINED WIDGETS" which will be displayed by "man zshzle" as USER\-DEFINED WIDGETS It seems the character translation table "standard" defined near the top of zman.yo is applied twice when generating the section title. (zshtcpsys.1 has the same problem) The man pages in the release tar ball are OK, indicating that at least some version (ver 1.x?) of yodl doesn't have this problem. In the patch below, I assumed (or guessed) that the problem exists only in yodl ver 2.0 or later, and IFDEF(INCWSLEVE) is equivalent to 'if ver >= 2.0'; but this is just my guess. diff --git a/Doc/zman.yo b/Doc/zman.yo index 7aa0913..8d17f78 100644 --- a/Doc/zman.yo +++ b/Doc/zman.yo @@ -69,7 +69,7 @@ def(chapter)(1)(CMT()) COMMENT(--- the "" works around a yodl bug in versions before 2 ---) def(sect)(1)(\ IFDEF(INCWSLEVEL)(\ - NOTRANS(.SH )"UPPERCASE(ARG1)(0)"+NL()\ + NOTRANS(.SH )"UPPERCASE(NOTRANS(ARG1))(0)"+NL()\ )(\ NOTRANS(.SH )UPPERCASE(ARG1)(0)""+NL()\ )\