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 25197 invoked from network); 8 Feb 2021 20:48:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 8 Feb 2021 20:48:14 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1612817294; b=OFWnoyo8GK5rFTfosqXplxfSdpTDeUbXTZhpGwgRtOydMwz2/WmTsn0lsjdNegu04lc7fPUqd5 y5MfhrOvZluu8CvbqwfOHuHLp+ATh66i0x30o/a0Tk0AQ+Dr0ppXs3fgGk2H2qB3Vkg2wecedE VSUSuGBDNZusyG7EGRAovR+ZuTm8NmvYT5NHV0JeLwn36/9zUon/bUf6x8cBolLdL6Fj0JlXvh r6dt/Mjes12Aq0l3agsF/7Fo03y/1wtC8Z+rrJYQ80u1f9b/j8ovmaICK+FBWhRAqmvDis0kGC i6YKbONi3XGdmK0K8EkGFSAppCF4R8p3i6oxZYcUdvr+Jg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ot1-f51.google.com) smtp.remote-ip=209.85.210.51; 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=1612817294; bh=X/UEZuYuhrsp8UUNSwf2BcVPHUWZuVy4eegVilaa/JM=; 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=sBQseXvLXt4v7YQSMlSHtuVTRsxD6LeSJVeodvXfTIdRsAv0QpmPb00lww1ipaIKQtlncVp1qP gcwEqEtEvAaSik5DGe5Xq5953hMZdQWhVh3TqmMUEbkD4n57Y0/lGjU7IjQzqBapB8hy5vXwEf dSrU+EPza6G/boBLs6873x7yfNBLPb2KcfTgi/XmrbMEFZYEVPeoyWA5dsgXvDKAcaYtWeBOLT mv8qr6LbRHgWaOLes8u0T529rjvz3B9FtLn/L1BIW840p7PUqjQKawyP+vxmXpTCXKKvPj7OfV OwBLc8bUaX6ebf30y2qRM59dBlFwLmtaL0M3THw+vyRUQQ==; 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=X/UEZuYuhrsp8UUNSwf2BcVPHUWZuVy4eegVilaa/JM=; b=eUbadmzWJzGD9lkm/2oBu6KJ2d 1fJ7//99OikPf15pzMkm/JRim5zi8o5CpLXThrF6jwmhTlAXwMeBMoUBX2TiiNgvv/uHcVvxc0T3U mtG/LWhiXDW5WkO1dvd5ymkTQ3KevQ59R+b4AcxaQWeLz8/xzJaiCtmlGgdiqZojy16fzcbHiZsS6 4E+FbfHUNvRWSHtKsSGoARcj/vf2aw7hhVq5GnLdlGtqNvJjjEQwOUhIWtjFEF4j4HTbjz1WZLiAB WipO0O2KAb0MR00jItCm07Oby8V00YYL/4lZVFuBRg3koFQsIsnUY62t80vSYL031itHM9FJzwW+d 80/hagUg==; Received: from authenticated user by zero.zsh.org with local id 1l9DS9-0002XH-49; Mon, 08 Feb 2021 20:48:13 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ot1-f51.google.com) smtp.remote-ip=209.85.210.51; 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-f51.google.com ([209.85.210.51]:44627) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1l9DRo-0002N2-Pu; Mon, 08 Feb 2021 20:47:54 +0000 Received: by mail-ot1-f51.google.com with SMTP id e5so8640763otb.11 for ; Mon, 08 Feb 2021 12:47:52 -0800 (PST) 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=X/UEZuYuhrsp8UUNSwf2BcVPHUWZuVy4eegVilaa/JM=; b=TCY/DtNcrKOe2UeHko7BqObk1uVObe5+GmcyGT7vrZfzAkyP+G2gg1xSnqC6B2Mpxm 5qXeDXCc4Seo1/fxVleRkjleTEjsh6Y8IsbRifYnHc6REOadrkMNrd0eskUrvFNl79Ub kvoMA7WgSlSTYGMe8lGKBUmOwd4RkyxcMkvAI/QQqhi5Xie9XMSs/4M7NhhK/VyFOewS wh+mTXYs/gz/tbDSETTQE/brYbEnDb0Bk7ijXByubEPRuhadtUFgpr5P0UrGXZY4q6ci e44GXGNQGyHLSL5fQ/dy1uAxx8mE4H1S7tIzuWb7zE8zBNL8jhxRV29Fvdd2p8Ppo8wk VXIQ== 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=X/UEZuYuhrsp8UUNSwf2BcVPHUWZuVy4eegVilaa/JM=; b=kJY4zT6YdCWmmNLBaeKj7y2m3Ve0tXcmQcM2Fwj45/FNR5njhLxuDqo7Ff8PQi9x24 cssDoc1K9ojvYbjuQfMnvcuLAgfXxFI0V+VlRV0yN1HYr2wDB0wDgy4/r04yJpx3NQDV Mq6Rz6TQ+Elir67OFZBFcWskhO1AWEdMn3YspWTR1+XgdTaQ6NbrLsEq1MT9TopsA2Bl QHSQwOAwU+p2sjVH6kSydAqPcu1Tiwow0yPDMcT8qfWKrIcnJTCz70jcbn5FnqAzIFFl FWGjeP+ZGnVNSDi95SPcyebeqhyUzoVC4XAcwvaSaJWV5OXTLi2Zt0YlGtexcu57fu60 MYiw== X-Gm-Message-State: AOAM5316Kqecaighj7ho7423kKOpVK1v9h8jFAa3dH0n7MWM9uHCupzY m8tCcRDAlJEwCxj0OOsPArLzTkR89q/R8eqnIkRMCA== X-Google-Smtp-Source: ABdhPJxIr+BwC8lJ7xhsVw3IvQxxvl4o1aMuauxoTNkhOlU4N7Bav119vUGyGvrLx5aPg3HGLDK/QI66HXIQy8rO59k= X-Received: by 2002:a9d:6358:: with SMTP id y24mr13702497otk.229.1612817271241; Mon, 08 Feb 2021 12:47:51 -0800 (PST) MIME-Version: 1.0 References: <0102017778f35f33-a962e4d3-83e9-4d3b-a0d7-45701bb40b11-000000@eu-west-1.amazonses.com> <20210208063530.GC22819@tarpaulin.shahaf.local2> <268a5fb9-5bb1-4e50-ae08-ae0941e9d80f@www.fastmail.com> In-Reply-To: From: Bart Schaefer Date: Mon, 8 Feb 2021 12:47:39 -0800 Message-ID: Subject: Re: Rewrite of zsh-newuser-install To: Marlon Richert Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" X-Seq: 47953 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: Archived-At: On Mon, Feb 8, 2021 at 9:45 AM Marlon Richert wrote: > > Well, like I said, I think it would make a lot of sense for command > line syntax highlighting to be included by default. It feels odd to > have a feature like region_highlight that is basically impossible to > use for anyone without using a plugin. Just pointing out: 1) Syntax highlighting is an application of region_highlight that was invented after region_highlight was added, it was not the reason for region_highlight 2) Syntax analysis is a complicated process that would be a mysterious black box to new users and might make zsh appear slow in some circumstances (compare discussion of vcs_info) 3) There are at least two "competing" implementations that I know of: the one Daniel co-maintains, and one created (forked?) by Sebastian Gniazdowski which he heavily optimized