From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2d349b5a for ; Sat, 4 Jan 2020 16:42:48 +0000 (UTC) Received: (qmail 8549 invoked by alias); 4 Jan 2020 16:42:43 -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: List-Unsubscribe: X-Seq: 45234 Received: (qmail 4352 invoked by uid 1010); 4 Jan 2020 16:42:43 -0000 X-Qmail-Scanner-Diagnostics: from mail-io1-f41.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25677. spamassassin: 3.4.2. Clear:RC:0(209.85.166.41):SA:0(-2.0/5.0):. Processed in 3.190551 secs); 04 Jan 2020 16:42:43 -0000 X-Envelope-From: roman.perepelitsa@gmail.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.166.41 as permitted sender) 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=EDmRDAhisLgfcOfFsUj0y8opXpVWIqn5CUH8vO8bO7s=; b=udgvrS9egwGldzEYPWUEJ7d2z1isJHbMPEGZyAgm3UKPjjft17OhzK+7pb9fr4jOVu S+X+u/PY8qEI9fpOQ2F8cEULXYDWac4U1kiECrwFRetI3mR3RQ9pRWzmL01NwkL+OQ6j /MGwZDgCrL/1nEVZAReXL3ac10eWJMa3/7vC5IYowc5WKgY+5x+8ndivGdbFpXoIjF01 oy/vUelnM1IrgURDZcesNyf+t5kVbAmCDuJTxIr+nLL3W4aaRLzCEVDLwVwGDc9A3I5b 6px2nUSpMAK80LGM1eTxVj4NMLGhV9Igxh5nKt1ej6jG9Pz9SmgvZdMJ+Ty1naOiIG5s eVUw== X-Gm-Message-State: APjAAAXQOt1Ci+1djdMb2cveAEZLHpRPrWsz3O1jXW0TqfYsllsnUsfh Tbd5mY6/IUH95Jp3mLaBK2edOglfkqxYjc7TJ44= X-Google-Smtp-Source: APXvYqxm9Rzoo+g+/dNM7rHFgO7r0wib6cQfEGGGo9wNH0dAXOu263Vv77xInyzX6i4Xo1/a7GQqZmukiHxl72BHsf4= X-Received: by 2002:a6b:b941:: with SMTP id j62mr66188026iof.168.1578156127105; Sat, 04 Jan 2020 08:42:07 -0800 (PST) MIME-Version: 1.0 References: <63663202-4b1d-428a-b16b-5be1425e84ef@www.fastmail.com> <0C0C9775-59EE-4FBB-AB84-3E7FEF6E5024@dana.is> <186D63AE-2F2A-41C3-9E09-CEE0714E2B7F@dana.is> <12F64C78-BFA2-460C-80D4-921F22C72F78@dana.is> <1578063609.4581.6.camel@samsung.com> <20200103204856.bv6f3dkqhtrjm6vm@tarpaulin.shahaf.local2> <54205248-124e-4e9a-942f-7ff0626791a6@www.fastmail.com> In-Reply-To: From: Roman Perepelitsa Date: Sat, 4 Jan 2020 17:41:55 +0100 Message-ID: Subject: Re: Official plugin manager? To: Daniel Shahaf Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Sat, Jan 4, 2020 at 5:28 PM Daniel Shahaf wrote: > > Roman Perepelitsa wrote on Sat, 04 Jan 2020 15:46 +00:00: > > zle -N zle-line-init my-zle-line-init > > > > This works. Until we source a plugin after setting up bindings and the > > plugin happens to hook zle-line-init without calling our hook. This > > time it's the plugin breaking our code rather than vise versa. > > That plugin is broken. Before crossing a road on green light, I first check if there are cars speeding through the intersection. It's illegal for them to do so, but I'd rather turn my head than die being right. I don't know of a downside to key translation I mentioned earlier, so I'm not even paying the price of turning my head when I use it (or maybe I do and just don't know it?). If I were using terminfo to fetch the escape codes for home and end keys, I would still have to hardcode escape codes for other keys or key combinations as terminfo is rather sparse in this regard, and I would still have to handle NumLock the same way I do now. Am I missing something? > Well, yes and no. You're right that new users shouldn't be overwhelmed > with complexity right off the bat, but that doesn't mean we can't have > any complexity at all; I think we are on the same page here. Roman.