Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH 4/4] _normal: Add -P to reset precommands



dana wrote on Tue, 02 Apr 2019 17:47 +00:00:
> On 1 Apr 2019, at 22:13, Matthew Martin <phy1729@xxxxxxxxx> wrote:
> >+xitem(tt(_normal) [ tt(-P) | tt(-p) var(precommand) ])(
> 
> I know it wasn't your fault, but i think this should be item()(), not
> xitem()(). I don't fully understand the distinction, but xitem() seems to be
> used only when there are multiple headings (describing different ways to use
> the command); left here, it breaks the man-page formatting for the paragraphs
> you added.

There should be zero or more xitem() [with one pair of parens each]
followed by exactly one item()() [with two pairs of parens, the second
one being multiline).

Since I'm replying: I don't understand why `tt(foo) tt(bar) tt(baz)` is
spelled with three macros; I think`tt(foo bar baz)` would be fine… but
of course this is minor.

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author