zsh-workers
 help / color / mirror / code / Atom feed
From: "Jun T." <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: A minor yodl incompatibility?
Date: Fri, 14 Mar 2014 23:26:50 +0900	[thread overview]
Message-ID: <54851DE7-018C-4AFD-A51B-D768E123FBCF@kba.biglobe.ne.jp> (raw)

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()\
   )\




             reply	other threads:[~2014-03-14 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-14 14:26 Jun T. [this message]
2014-03-14 18:49 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54851DE7-018C-4AFD-A51B-D768E123FBCF@kba.biglobe.ne.jp \
    --to=takimoto-j@kba.biglobe.ne.jp \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).