From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29854 invoked from network); 10 Apr 2021 21:42:07 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Apr 2021 21:42:07 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618090927; b=BPoGaZvhZz03fGw5yK+yZgFyMYK0I/etdO7SPtnvKmF9/ah0ctXh3Vmq/1vEKzezomINyxHoZC V/Ep92WJSv6GN2aI5EfTxLpsg6h05X1ho4ePgz7+0j2dY+S61SbCyff3EzGmXD8V8b4z/R3pxF FV1V45gidV3z1ikup8/SjIHERKKjc+/K4zymsbzItX88kyJD6P9K0b66iCeMjPfTAgVZxe1UgJ IEUmcXZ0SyBx2ypnMHY9zvPTPCjK7VhEoPJ8e+ySnEhB5ltD/bJ0LK8F58v2ZS9na0U+dHnoNB tH4aMhpnzVlu6eupy8AHg+pmurEEKwS/BsM9fgIvM1OBcg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ot1-f46.google.com) smtp.remote-ip=209.85.210.46; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618090927; bh=9h7KNdNQXXK4L1unUhA8ufbpY08Hrbvyzt0gTBlVdhg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=D7MeB98AcNYVqjREgVZKDJjo5UlN0522+2kxa0nymtALcIRbp/0bRctRwsbkdIeWGCjCsz32UL 2dB42jW6qVHkJhpKimDi9vpbSgre95zKzBNtZESrurYfS9HWJM9vLlYVCTk54BwWtkYTxSEfjK 6IfzCZCKFO1fsmG6/+qzP0uIZuXalROK+DqYAZ6HSdn4m8DoQTTX3TEjtKYF4R2BbGjelUa5Qc 2CZUVn8YuM+No5l/VWhAgOj4egMTi446G4+Y66DnzbSgCkSeiVriCgpJlQLIkrHsB+2B66J6U2 obqY/ZyqigLzIaZcWb0VRBks5PGdgZt95og6QRNygLL1vg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Am507vV0WX2yswzdM4QkEgPrNj+40wRIZ98alJ3w4Q4=; b=G15cxUJZUXrz/061qop2E1SsFH 8iPDXpdRci7Bin73FGCfKdfwmAS6DVGmosfrjEl5YRiprjA8szfPANWtRlIJE/VQjWctTifxtWWO6 Q+lSFP9oDAFlc/XPq6Ui1+8Vd1YmBHDi3yUAbCyRRpBykgcnBFj8VmsBsz6JS/B3U2jTuPwCuVmNU pjcuN/Mvf91FvtmB8ipcglZuEiM27vsZ1NMMAuPnlMy/OWlHXertB/05G8LmOEGcjSlYTiQjse4ru qJ7ZPYT0YYhwu0RmAW+K7LVWsuMHVRO/w1g/j2zFhbLR/0M+GrPam1jJWoxAM/a87f/uUSCC23dTp iv1WSMSA==; Received: from authenticated user by zero.zsh.org with local id 1lVLMk-000EFX-SU; Sat, 10 Apr 2021 21:42:06 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ot1-f46.google.com) smtp.remote-ip=209.85.210.46; dkim=pass header.d=brasslantern-com.20150623.gappssmtp.com header.s=20150623 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ot1-f46.google.com ([209.85.210.46]:37806) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1lVLMY-000DzN-TS; Sat, 10 Apr 2021 21:41:55 +0000 Received: by mail-ot1-f46.google.com with SMTP id t23-20020a0568301e37b02901b65ab30024so9171236otr.4 for ; Sat, 10 Apr 2021 14:41:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Am507vV0WX2yswzdM4QkEgPrNj+40wRIZ98alJ3w4Q4=; b=xbgxKqC68JYhxwd6D8g/NOyJbedJQUwUAvaT0LKQJmVKj2u8rFrvZGAccN2POtjSeq G/JTXCITKOMInLZZ9P6lePOSFiD/wulRXdbGpZ2nkKvxc/zAxxC7Ryr8s1jkslzqoMw9 hnHXoT7QlE3D60+ww9bhYm2N4I/St+z6dCLpz+WSVjw84ZkgjzGatb4qqbWQoEq5QEZ+ M1O++GRjdq2D//O78ZhSDFL0rawdB040MQsQ+l0Tj6xEXfPfct1bt1Ohu6ZIgABBRdlk rfPRRQW2AhjfCzxz0JCxQrhpckehiMNGFhfbm+pwQieCA/jxnF0o3a6y7o17QUPLJygU OIBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Am507vV0WX2yswzdM4QkEgPrNj+40wRIZ98alJ3w4Q4=; b=DWVlRQEf0eiifJxFRnmGHYfRYEsTa/uGmU0bMuLg8HlXp0RbWqGv2imTcERqrV8RbQ C/yByswOW+zJNQJShbHAW9WVF4zGaUpfqEpCFFUgWmVjZmqlkqi8WVXj0otvnEmcC6/g wJNe2BkDer39nH13Qa7bHS8KfsHLVBXRXT2vJZnL2w17081DBjkj4wGS+nPNrZrtE3CJ dGmfjcqvL+8tZNmI7GAc9eOOYJdRMwI1Eq8KiuhI6kaDxCAkNzXn0fpWF/0mSNbWp0wU gshYkxy2LvOILhzzg3LPI46jCa4jOJFlVbo14qhlYGei4zGF9/x8Y6dbxxBzfZxkWKdt eVbQ== X-Gm-Message-State: AOAM530W37uIUvikFUlnCQN84g4eWIHOUYAtCMyP1W8SSckHAZz7UOAE TxXMTL8YGR7PymOTC39lntvi54JMMzS7v+e/DJfSpQ== X-Google-Smtp-Source: ABdhPJy4rfS8gACwPRVepxhVs5GoWp5osmK3oCOsh83UmtIH+izOkZZYZA1SsrwVAvNTcue4pI8ywj7kU1AvrbkY5ys= X-Received: by 2002:a05:6830:55b:: with SMTP id l27mr17623298otb.260.1618090913882; Sat, 10 Apr 2021 14:41:53 -0700 (PDT) MIME-Version: 1.0 References: <20210407162447.GB6316@tarpaulin.shahaf.local2> <15283D59-F7B5-4A4C-AFFA-B9D3BB46963F@gmail.com> In-Reply-To: From: Bart Schaefer Date: Sat, 10 Apr 2021 14:41:41 -0700 Message-ID: Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread) To: dana Cc: Marlon , Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 48485 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Sat, Apr 10, 2021 at 1:47 PM dana wrote: > > the proposed changes have gone beyond the scope i'd initially envisioned. Ditto. > the proposed configuration is too complex to be of much help with > the stated goal of demonstrating how new users can modify their own config. This is also my feeling. > That ties in with another concern i have, which is that once a user installs > this configuration, it's basically untouchable to us. We can't really patch it > after the fact if there's a problem with it. Not if the user is encouraged to edit it in place, anyway. > Those two observations lead me to feel that, if we do go forward with this, > maybe implementing it with prompt styles and auto-loaded functions would be > the way to go after all. This is venturing into the territory of "should zsh ship with a preferred module management system"? Because we're demonstrating a use case for modules, here, which we haven't previously had any need for. If everything we want CAN be done with autoloaded functions, of course, that's as "modular" as we need to get. > I feel silly for bringing up fundamental 'architecture' questions so late in > the game It wasn't clear, early on, that the scope of the changes would require architecting.