zsh-users
 help / color / mirror / code / Atom feed
* Can be newest completions used with e.g. 5.0.2, or 4.x
@ 2016-06-06  7:27 Sebastian Gniazdowski
  2016-06-06  8:16 ` Daniel Shahaf
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Gniazdowski @ 2016-06-06  7:27 UTC (permalink / raw)
  To: Zsh Users

Hello,
I will test this, but an information about what changes in Zsh can
influence completions' backward compatibility would be useful. I
recall one thing, the ability to do =() right after typeset -a. If one
person uses this in current completion, it will not be backward
compatible. Any more such things?

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can be newest completions used with e.g. 5.0.2, or 4.x
  2016-06-06  7:27 Can be newest completions used with e.g. 5.0.2, or 4.x Sebastian Gniazdowski
@ 2016-06-06  8:16 ` Daniel Shahaf
  2016-06-06  8:49   ` Sebastian Gniazdowski
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Shahaf @ 2016-06-06  8:16 UTC (permalink / raw)
  To: Sebastian Gniazdowski; +Cc: Zsh Users

Sebastian Gniazdowski wrote on Mon, Jun 06, 2016 at 09:27:47 +0200:
> Hello,
> I will test this, but an information about what changes in Zsh can
> influence completions' backward compatibility would be useful. I
> recall one thing, the ability to do =() right after typeset -a. If one
> person uses this in current completion, it will not be backward
> compatible. Any more such things?

The ${(b)foo} syntax has been added.

The _cmdstring completion function has been added.

Some completion library functions have received bugfixes (_arguments) or
new features (_describe).

There might be new builtin parameters, but I don't recall one aimed at
completion functions specifically.

Cheers,

Daniel


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Can be newest completions used with e.g. 5.0.2, or 4.x
  2016-06-06  8:16 ` Daniel Shahaf
@ 2016-06-06  8:49   ` Sebastian Gniazdowski
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Gniazdowski @ 2016-06-06  8:49 UTC (permalink / raw)
  To: Daniel Shahaf; +Cc: Zsh Users

On 6 June 2016 at 10:16, Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
> The ${(b)foo} syntax has been added.

Eh, I thought that things like typeset -a*=() will be easy to convert
to traditional syntax in name of robustness. Code that runs on any
version, like z-sy-h, that runs on 4.3.9. But (b) can be added in the
name of robustness too. Code that doesn't break in edge cases.

> The _cmdstring completion function has been added.

This can be simply copied to previous Zsh version?

> Some completion library functions have received bugfixes (_arguments) or
> new features (_describe).

That also can be copied.

> There might be new builtin parameters, but I don't recall one aimed at
> completion functions specifically.

That would be problematic.

Best regards,
Sebastian Gniazdowski


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-06  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06  7:27 Can be newest completions used with e.g. 5.0.2, or 4.x Sebastian Gniazdowski
2016-06-06  8:16 ` Daniel Shahaf
2016-06-06  8:49   ` Sebastian Gniazdowski

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).