From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24491 invoked by alias); 4 Jun 2016 17:02:23 -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: 38611 Received: (qmail 26497 invoked from network); 4 Jun 2016 17:02:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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.1 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; bh=pxjVZ9MP1HIxdhBIXNtn2FuO/xyAUJqeRDrNU/y9Sk0=; b=yLbr5bs2bL/wxdJdvgkElo4s5EoLac/b88FlehafLA242QRYi4mRVQco0SndQFMUHI RYhEZMA3bZUiPhenXgmQ7XbhfnRt90VP8/SEtlsFsVBl2drEMzYA16BhgF5R1H6+0Lu8 Ru2P889fNYmUPZtZl9TW9w3IS+8c2hkb9h0oz3EeqruGDQmV1I9sVB5AsmmtlhyxmY67 Y2z0RMMgV8PXx93VWdktRqsMi0HFuXdaIuD3g2bG2p4hIaTAb6jdUcSo4FBtBay7Q540 1XdRaL4y3MuQ+7AvQdMd7WuziuxQ0pStF725RWSSu0VscE3eUyvMLpyxwpemeGPXUVa8 XwvQ== 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; bh=pxjVZ9MP1HIxdhBIXNtn2FuO/xyAUJqeRDrNU/y9Sk0=; b=knBbm01M36W9npIzCWd+LwLZ2rzL3MrNzBmUh86Cljs/60fo5UR/m4yNHmatejADuI PMBqxjBgrWmF4Y/+x8s5jbXgP295hA9RSryhnAT4JwRD4of3XJk8QIzJrMEa2wc/8/WK E2D4LC6DuzOu1EpE0Ou3yKDDs+UIvJqblhi1oOGfYrrWmqSbN0YvnY+EFt8EXjNyPnq8 stecZSpxjVnDZfQEFRqgFqhjEFpZFqOfjZ5zwrT0lNsfKuYvrXepr8sUd5QDTI3po+q5 auDoZAO2RkSx0vslXlQqEwplDj2Hb2M85BrrsADVzV+Tc6Ev5Dk/W4UMFsKZww5A65Z4 EQMA== X-Gm-Message-State: ALyK8tLtN61JGxyydMKJxP7mr9gdQHOgQjDGWjaIIKXVEGAFidDlEXRbI+vnJgebh520pA== X-Received: by 10.98.35.93 with SMTP id j90mr13960972pfj.10.1465059738842; Sat, 04 Jun 2016 10:02:18 -0700 (PDT) From: Bart Schaefer Message-Id: <160604100220.ZM28332@torch.brasslantern.com> Date: Sat, 4 Jun 2016 10:02:20 -0700 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "Re: Proof of concept mainstream plugin manager" (Jun 4, 1:36pm) References: <160122173705.ZM11491@torch.brasslantern.com> <160123093602.ZM14454@torch.brasslantern.com> <160123112004.ZM14739@torch.brasslantern.com> <160123120055.ZM14828@torch.brasslantern.com> <160124124509.ZM12194@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 Jun 4, 1:36pm, Sebastian Gniazdowski wrote: } } plugin did local IFS=$'\n'. So this line in --zplg-reload-and-run: } } builtin autoload $=autoload_opts "$func" } } wasn't splitting $autoload_opts on space :) Urk. So you need to locally reset IFS to something sane, or else use ${(s: :)autoload_opts}. There appear to be about 30 places in the standard zsh function suite where a local change to $IFS could similarly break things. I'm willing to bet that the plugin has scoped that $IFS change a bit more widely than where it is really needed.