Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion script for the ctags program
- X-seq: zsh-workers 48102
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: Completion script for the ctags program
- Date: Wed, 24 Feb 2021 00:51:36 +0100
- Archived-at: <https://zsh.org/workers/48102>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/37595-1614124296.776153%40uVtr.uPmU.Ik0b>
- In-reply-to: <CAH+w=7bLgKu_5ocfkSN=KJS4biFn-RuzQUL8h6HWOOQHNmqHqg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CEA9AD4E-D429-43F1-AB41-92B40693B693@gmail.com> <1716143236.98921.1614075094353@mail2.virginmedia.com> <32617-1614118802.311486@4BXl.GCVX.2_Vl> <CAH+w=7bLgKu_5ocfkSN=KJS4biFn-RuzQUL8h6HWOOQHNmqHqg@mail.gmail.com>
Bart Schaefer wrote:
> On Tue, Feb 23, 2021 at 2:20 PM Oliver Kiddle <opk@xxxxxxx> wrote:
> >
> > That said, it is better that these get applied quickly rather than
> > missed and forgotten. Which leads me to reconsider that I never
> > applied the patch in 44804 to create a separate contrib directory for
> > completions. I would add "suppport for only some variants of a command"
> > to the criteria.
> >
> > That patch mainly didn't get applied because of the outstanding question
> > of what the directory/configure option should be named.
>
> What's the parent directory, specifically? Or is there a directory
> called this underneath each of Unix, Darwin, etc.?
What that patch adds is "Contrib" as a subdirectory of Completion
with identical make rules as for all the other directories at that
level (Unix, BSD, AIX, Zsh etc). So it'd need it's own subdirectories
for Type, Command (and perhaps Utility and Widget). The only
other difference is that installation was conditional upon a
--enable-contrib-completions option (which defaults to false).
That approach seemed simplest but that's not to say it has to be
done that way if you think it'd be better under each of the other
directories. A single directory may be easier if we wanted to do git
subtree merges from the zsh-completions project though that might need
hacking around anyway if it isn't named "src".
> What about "Submitted" or "Volunteered" ?
Maybe, though I'm not sure they are any more accurate a description
of the contents than "Contrib". Given a lax license constraint on the
contents we might theoretically pick up functions found on the wider
Internet and dump them in without them ever being explicitly contributed
or submitted.* I probably favour Contrib because I've seen it used
similarly elsewhere.
Other ideas include 'External', 'Independent', 'Extra', 'Supplemental',
'Annex', 'Additional', 'Scrap', 'Dump', 'Diverse', 'Sundry'.
For reference, the criteria for inclusion I suggested were:
- differently licenced
- low quality
- poorly maintained
- obscure command
- dead upstream
- incomplete/work in progress
- major variants of the command not handled
The first of these is probably the most important, especially for some
downstream packagers but I can't think of a way to capture that
succinctly in one word that doesn't begin with U.
Any preferences?
Oliver
* Note that I would only do this where at least some sort of free
redistribution terms are clear.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author