From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26020 invoked by alias); 24 Jan 2016 20:44:36 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37770 Received: (qmail 14636 invoked from network); 24 Jan 2016 20:44:35 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=hx1FvYWcDyPz0Ciseb6kV45bKooecUESEG1w2gudJCw=; b=WjQd3Wvd4e1ece8Un3BW+NtE5dnJx5lYHPWFG5aOPAt0BaRlbIT/Z6FLX0UGjBa7ib f3wMtl44b3qf8GqV2VqYCEevC5R9QWmXdjjzBdwO8iafHFVxFEAirTgnzE6V1xAdnoM0 HHbNVy0JPj1zYLpD0+B6lkJ9e5TJXWLxaKgmM/ocZG3EYurnwa3gBvHUJJXmR21gwIiD ZCP2T4mQWvBVM/1904tCyyRNhBLFL7b2xAzZFvh26NuBFNAgNlh2WIgVDc6SeVcjIp7c VKwFXTsVVA9B9MzV6DI/z1F5WXBt0+YaywLb2K4ZfgcC+0mLk34QqirVZYt/N2lffcp7 SMWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=hx1FvYWcDyPz0Ciseb6kV45bKooecUESEG1w2gudJCw=; b=kv1iKUBUFP2jgxltx1sKICOKOIwD/cqI8Y6jW6Zpa3GGsGRukYztT58WqdPBmWSeDp xhGm0ugUaCHmg66BDVhGe2DIfFOMGJYt2AC85Eqm7c7pCSTSjibYRZZjV0QIbRsU70ZC H6TXgLM4GcIscgHfJyf8iRUe5cP+F07BVTAHWVqijV3qjoLSsENqgxlNy+iUaTkg6pm/ toWF7sNljNEKXhzFtb5UDZvM/tqLyenOJYMkAilq3Nlmhc22uEiwIl5TbHlSz5W29Z2A obv8WW022Oqop/Z3mccFC883nAbe/wD0aYeIlN5jl3sqTmjgD5S4TrykH4/ihpwcFL7B 2I5w== X-Gm-Message-State: AG10YOQb9OjSy0VOQ00VWDX82/WiZD5ebKKCDSZrt5aD8UTXkrolna14dzSm1FCVtNvV8A== X-Received: by 10.98.0.66 with SMTP id 63mr21057582pfa.61.1453668273225; Sun, 24 Jan 2016 12:44:33 -0800 (PST) From: Bart Schaefer Message-Id: <160124124509.ZM12194@torch.brasslantern.com> Date: Sun, 24 Jan 2016 12:45:09 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Proof of concept mainstream plugin manager" (Jan 24, 3:59pm) References: <160122173705.ZM11491@torch.brasslantern.com> <160123093602.ZM14454@torch.brasslantern.com> <160123112004.ZM14739@torch.brasslantern.com> <160123120055.ZM14828@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: Proof of concept mainstream plugin manager MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jan 24, 3:59pm, Sebastian Gniazdowski wrote: } } Where in Zsh source does "autload" report anything about option "-" ? This is happening because you removed the "eval" and replaced it with assignment to functions[$func]. ${(qq)opts} is no longer the correct quoting in that formulation, in fact you don't need any quoting of $opts at all. The effect of (qq) is that you are passing "-U -z" as a single string, not as two separate arguments. (I'm surprised there wasn't a complaint about space being an unknown option as well.) } Maybe I could apply some patch and build Zsh to see some clues? You could do functions -t -- -zplugin-shadow-autoload to get xtrace output for just that one function.