From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 195 invoked by alias); 14 Dec 2016 23:51:10 -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: 40192 Received: (qmail 17617 invoked from network); 14 Dec 2016 23:51:10 -0000 X-Qmail-Scanner-Diagnostics: from mail-vk0-f47.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.213.47):SA:0(0.0/5.0):. Processed in 1.7863 secs); 14 Dec 2016 23:51:10 -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=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.213.47 as permitted sender) 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=+TLKkrjPcYmJpxkHQtebeXl0OyYOSHGMxHM86FWJopo=; b=Tu8IHhtC/oD0ToUSx/zuqOBmxweS2s83mbP3OTVlmNWfHfE21cwp/zYI/XGOOsipcp 6JmaoPDO1qXmhzgnh1nELbWm2zt1ViSjtLPpIVO87oAsCptVhWNAC6ZjbtvNqit8hNWk Hz8r9QtdYWECdCVxRjUy+xseIzhb+NsNUVZS70WASHkJKh+exM5Wc2lGBNaEs6Z0yq7r yPrl7euxvBovLis48UNgK3S5lHiqllAecGCiyYhJqszG1pbE4HIuCV/cPQRFyCKzlAc9 uy5tNxIMmcDiflGYp2vFwwf5O/mgYTvPA1uuxfWajhAPv/T5mENfCkYLW2pVPR29l22Q fhfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=+TLKkrjPcYmJpxkHQtebeXl0OyYOSHGMxHM86FWJopo=; b=X6zTAozci4wHKn2qmKmurcI+oguHm+H4600rHfxizS2qG8M/KqQBmRiK2PCbtPHT0r k7hQgKMuR6bm0ux4timZdM+CYezr8iFOXVNFZQWHNIBSbjus2ozZclmveViP/FnZPRyt x/ihz7ZEKcVxzFAXCnQn6WXAW2LA2hbDSsSW1NhMmY7YBU4pcSOpkeYfwSwQNvhT3nIp PSp9iMmNcbA7fv1J50HqNIoaWNLIHA+Wa4iVxmMKXBLwJ8cUaEwl5ZLBsjT7fSBEvfF6 n+6EjOhY+D/O3+GRTJ7ed07h/N1i/CqHEmmUW0KbeT+6CFMEeMLD1Pk0UZxD2ck4JQyA R1eg== X-Gm-Message-State: AKaTC00FSj9cQMh+U15g2v9T29wO8XUuwezgvKIivs9pgseDyPzH+MV2nSRI1FYtgk5SYg== X-Received: by 10.31.49.216 with SMTP id x207mr48382589vkx.82.1481759458601; Wed, 14 Dec 2016 15:50:58 -0800 (PST) From: Bart Schaefer Message-Id: <161214155126.ZM10832@torch.brasslantern.com> Date: Wed, 14 Dec 2016 15:51:26 -0800 In-Reply-To: <23680.1481719238@hydra.kiddle.eu> Comments: In reply to Oliver Kiddle "plugin conventions (Re: off topic)" (Dec 14, 1:40pm) References: <20161209122958.GD19559@256bit.org> <57127.1481294647@hydra.kiddle.eu> <584AC8AC.9050406@eastlink.ca> <62522.1481300922@hydra.kiddle.eu> <584AEDBF.2050402@eastlink.ca> <161209165454.ZM9226@torch.brasslantern.com> <95362.1481338226@hydra.kiddle.eu> <161209191323.ZM9548@torch.brasslantern.com> <23680.1481719238@hydra.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: plugin conventions (Re: off topic) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 14, 1:40pm, Oliver Kiddle wrote: } } It's certainly an option to take an existing plugin manager and without } having looked into any of them, I would tend to assume that Sebastian's } is the best. It is also clearly very feature rich. He does appear to have taken the practices of a number of other more rudimentary plugin managers into account as well as going to a lot of effort to shield plugins from each other. } I used the wording "rudimentary plugin manager" because what I had } in mind foremost is standardising the conventions. A basic reference } implementation helps with documenting that and determining what issues } there might be. But perhaps that's already known. If there's anything Sebastian hasn't thought of yet, I haven't thought of it either :-) but then again I missed "printf -" for a year. } For example, I seem } to remember something about the various frameworks causing compinit to } be run multiple times. A pure plugin manager has no business running } compinit even once The plugins themselves were running "compinit" to force their supplied completion files to be found after updating fpath. The manager resolves this by adding a dummy compinit that queues up all the other attempted runs until the user is ready to ask for them. } > Although the idea with this particular file was simply to fold it in to } > compinit. } } default_zstyle() doesn't prevent it altering an existing user's setup so } unconditional inclusion might be a problem. That's true, though it avoids altering any directly conflicting setup. We'd want a way to ask that the defaults not be included, just like we have a way to skip "compaudit".