[Pkg-zsh-devel] Bug#960282: Bug#960282: Bug#960282: Bug#960282: zsh: completion error with non exsiting files since deca7c928520fba5a73383f1cac0b3ace8e0e45d

Daniel Shahaf danielsh at apache.org
Mon May 11 16:52:38 BST 2020


Axel Beckert wrote on Mon, 11 May 2020 17:01 +0200:
> Daniel Shahaf wrote:
> > Daniel Shahaf wrote on Mon, 11 May 2020 14:29 +0000:  
> > > using _arguments from git HEAD with zsh 5.8-4 [...] is not a
> > > supported use case.  
> 
> Is this something that might affect users when migrating from zsh 5.8
> to a potential 5.9, i.e. something we might need to put into NEWS.Debian?
> 

I don't think so, or I'd have added a note to the upstream README when
I committed the _arguments change upstream.  The interface between
_arguments and comparguments is an implementation detail with minimal
user-facing documentation.

> > Citation: workers/37986.  
> 
> Thanks! (see https://www.zsh.org/cgi-bin/mla/redirect?WORKERNUMBER=37986)
> 

Thanks for fully-fledging that link ☺

> Ok, this reads more that it is cared about backwards-compatiblity for
> 3rd party completion, but not about backwards-compatiblity to older
> zsh release for our own completions inside the zsh source, right?
> 

Correct.  The interface between completion functions and the completion
system (e.g., between _git or _curl on the one hand and _files or
_arguments on the other) _is_ an API with compatibility promises.
The interface between _arguments and comparguments, on the other hand,
is an implementation detail, so they should be upgraded in lockstep.

> (If that's right, we don't need to mention anything.)

+1

Cheers,

Daniel



More information about the Pkg-zsh-devel mailing list