zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Re: A few problems with 4.0.1-pre-1
@ 2001-02-28 16:27 Oliver Kiddle
  0 siblings, 0 replies; only message in thread
From: Oliver Kiddle @ 2001-02-28 16:27 UTC (permalink / raw)
  To: zsh-workers

Paul Ackersviller wrote:

> I just installed zsh 4.0.1-pre-1 from CVS and was getting errors from
> _main_complete.  This used to work for me a couple of months ago, so I

Thanks for the bug report. The problem is exactly as you described. The
trouble is that when ksh_arrays is set, $_comp_options only expands to the
first element of the _comp_options array - in the same way the ksh
does. This patch should fix it by using ${_comp_options[@]} instead to
expand to all elements in _comp_options.

I'm not sure about your second problem but I'll have a closer look.

The third problem is not really a problem. You don't have Yodl installed
so the documentation can't be generated. Normally these would be prebuilt
but they aren't if you download from CVS or one of the dev versions. Maybe
we should do something different here if the configure script doesn't find
Yodl because it doesn't look good. Any ideas?

Oliver Kiddle

Index: Completion/Core/_main_complete
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Core/_main_complete,v
retrieving revision 1.43
diff -u -u -r1.43 _main_complete
--- Completion/Core/_main_complete      2000/10/19 08:58:17     1.43
+++ Completion/Core/_main_complete      2001/02/28 16:19:08
@@ -16,7 +16,7 @@
 # which makes the output of setopt and unsetopt reflect a different
 # state than the global one for which you are completing.

-setopt localoptions $_comp_options
+setopt localoptions ${_comp_options[@]}

 exec </dev/null        # ZLE closes stdin, which can cause errors



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-02-28 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-28 16:27 PATCH: Re: A few problems with 4.0.1-pre-1 Oliver Kiddle

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).