Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: completion for a few more coreutils things
- X-seq: zsh-workers 41865
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: completion for a few more coreutils things
- Date: Wed, 11 Oct 2017 17:56:10 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rCaHMo 6n9inrbbx0hODYKj/XZq1Mws24J4eUPCzqzQE=; b=ud4WIwxld10Sc0WeCO14I7 tKElLQOHcFtLAtwLG6rG7HMLKvZElohGRANBKuMvwySePioyNCdwZGrdyxhEMScs zYIkuFdsjlg7DIBXj2ryisiC21p3YuInRD1+h5FCv4sNWkr7lzdiqZtSqijVYhOl ngieD12bNip35HS1khAeTow5cm59OjrREhZCjBdne/Pyc67d3lcrte9HxJyHoHBh +DENpi8NZetq9KMv1/9bbLWnvdO+raqt/en6WPJOCMTWih+kWY1VuPffq6Q9c6CT RkDVulV92xqxxiKMge/6JDuIthKKehu6yRAhE4WoSynqNQLef4DOPIhBBUNmIosg ==
- 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-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rCaHMo 6n9inrbbx0hODYKj/XZq1Mws24J4eUPCzqzQE=; b=CYDZfeFQnLTTu4ArlqEKMY W46A82utKVNGsd6JrA+xBAGxhrTlsn+6lBKCCc2Fed3nHejcmWEOfsKdfhawlj7X mN1sOt1RH0uU+0OtweI/XnRuxrmu4c1Hb+fj9/ua2K/8fao6pnhBcnimAST14Rjt S8r2tVj7kSp59R6ZtympmXVMb68zxfjV5Ml6r4kYw2mzValsbOxfigkoCrLbBPk8 gQ5oh9VYuw5vXXZ0EkKO73oQq+MgPCMQHQqY7bqRR5kjYta4ZR3qSeKkBScJGv55 E0wYXBViiUkAdmO98Dz3esckCeM6GAqCOCIamGcGbf0MNRV8OGalXropCBnJyFFQ ==
- In-reply-to: <171011094518.ZM20771@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <21508.1507328204@thecus.kiddle.eu> <26A9DD8C-898D-4AF9-B060-B7444CC835DA@kba.biglobe.ne.jp> <21600.1507626960@thecus.kiddle.eu> <1507685011.2333018.1134666584.4321070D@webmail.messagingengine.com> <171011094518.ZM20771@torch.brasslantern.com>
Bart Schaefer wrote on Wed, 11 Oct 2017 09:45 -0700:
> On Oct 11, 1:23am, Daniel Shahaf wrote:
> } Subject: Re: PATCH: completion for a few more coreutils things
> }
> } Oliver Kiddle wrote on Tue, 10 Oct 2017 11:16 +0200:
> } > Jun T wrote:
> } > > The file Completion/Unix/Command/_expand need be renamed because _expand
> } > > already exists in Completion/Base/Completer/_expand.
> } >
> } > Oh yes. That'll break things fairly badly, sorry.
> }
> } Can we make this situation a build error in the future?
>
> Having two files with the same name is not necessarily an error; the
> intent has been that we might have one file for openSUSE and another
> for Solaris, etc., and the local packager was responsible for putting
> the correct one in the installation (or correct directory in fpath).
>
> (On the other hand we've never given much configure/install help for
> how to select the right one.)
>
> Two files with the same name and incompatible #compdef lines is another
> matter, but I don't have any good ideas for determining "incompatible."
"Not in a whitelist of known-good collisions"
I.e., default to erroring out on all collisions except those specifically whitelisted.
Just an idea...
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author