Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 4/4] _normal: Add -P to reset precommands
- X-seq: zsh-workers 44204
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: [PATCH 4/4] _normal: Add -P to reset precommands
- Date: Tue, 02 Apr 2019 16:27:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type :content-transfer-encoding; s=fm3; bh=DNUhP318lNRTp9v25QRAxhto/b LGSVojGXFc69GNvrE=; b=mBZTLdBwm5uuWlC81WO3NGWGiHwhMU9XkdUQ7cru/C sNeeOtDwEPSdIlmK7qjS3cgOWWN/5J6jlGejlu8B7kbOCpqzWqb7iQNb9x6IwaFO 0XjVPk2iw3+WYx4eAZ3NXzBsSlIFUGV7A8S0nyVHAASGoCv4kwEe4GAgn/FOrYEh 8wq6TIyJ5HpZWwZ32vpNB9ZzfHGtSumIZ8zG2dpoRX8ij1c9Co0yYwg8hXAeE/cN bB8yoftPFfA5eox1gUkXzFzZiu03MZx0ZVV5BBSw0NFROnqL5gNcfx8EmiRbHAwz HhKO1Gv948yyUVIoG5PJS7hdohw+gL5Far5pTSRCsN9w==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=DNUhP318lNRTp9v25QRAxhto/bLGSVojGXFc69GNv rE=; b=PS5JGiVu7viBUQXcNLsqfw69Sf64o5HGkSPDWglGdYpnJNWeSPh2t4JKM qHraD2Qe/EZnROWv9sK+mVV+sj+uNBMCeGJd1SREVsPa6JObPFzIRT1UUUnaZeiQ 4LL7+Pq4bVab+wl0KZMuxGsbRc+fwQKOc+9vJ6roDhzaQqplEsWM30hEMOKq3Z/5 YBBmBRmu9nCIkYTvzyeIPjYVOVX8OWATjLW6zpmHIVNsHFGN0ztYGft0tOtYdHnp jnrZnW3YVGffi7W6BpujWXS8VdJnFFs4wRKafTsGlGyT2R9cRxB3W6pZPAYeXbHy a27BM1hNkPwoZiXQHCSIahDDjhmdw==
- In-reply-to: <233414EF-D68C-4829-B2CC-A9841DCFCF2B@dana.is>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20190402031310.GA60178@CptOrmolo.darkstar> <233414EF-D68C-4829-B2CC-A9841DCFCF2B@dana.is>
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