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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2362 invoked from network); 10 Mar 2023 05:07:26 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2023 05:07:26 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1678424847; b=cZGI6kQAwoHbJjBm4o0G0wPnf1MjDA9MEcBeWirFHfhV5rq/ssnS7Ox20dfsAJUac0ap+JuVY+ w6QTqQT9GIAfQ+UMbgb/PPu4tsTL0apQE/pN0jPN+sUzCM5IayFKYUNEq/BrPqdyec6nLvIrT3 /bb7czOcGikNCBuY3YL54VRmCO01yg7pPsXNFwNfKhegvd1ZwTwlEeEpnhnsEu4cIi+fS3tVXW NgFtHTiI9hroUGzv0ZdK5m8qnVAPUjeyMVKXGXrV7a/R802iGX3MtJWrI/6NA8CUdTf3FBdkuy gEzTGKUKpP8IFjugvfaqOSSegtl4Ramm0iz+Ks8ZScq8Fg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f43.google.com) smtp.remote-ip=209.85.208.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 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-20210803; t=1678424847; bh=tfZv2s3Z4U73qaWK4bNAxrRJyRYzn/FcraTT80o3o1g=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=GYnVjmGmCPEgxvD/DyAHm7hQn4yoYl+pJuk0ezWsORkkoGNo9gGFTkVcP3EjeYCEDXO4XsYsku SgEPn44gmn8cl7/YCfsezYICfPjj6fhtWwRdja1WIyEWhkJkq5Sjxx7Pw2SijD+ZbUc6Cxnstj 8FmyNc5/NFO2L2e96KKhSO3aLfBm5AsL1tuIFbVEZwgBKg664KXYKqa4uazXQo1w2KUP/epSxP Qa4EqcAAH2NhQIGRCKLTLURxRZKXKhgN8scG3XWNIUbC9DzAwigMBH/zj27wBbnImMgqnJ2wIJ aqxBcsWiivZxK1yixRpspp2NHcMEE+fsPm+Xp4kJi8VbqA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=6ClckMOLPGLdepB3LTq/FO1J3nc4ifB8PwFZItvXST0=; b=ZhN3d8t/0PXsxzffIXUpi4Z7I6 NlFrp1dTJYOoIweV+IugAW0CmGK+tlX9mS3mg2GyGcKoO61JpVXYDYO8auAcKX0rB23lqPmAMcmLM V3WIM2d8dDocnmUOt0V/L/m/3BI0smBxH77Yq4lvcX11gbQQvOX9grld7Bo9RRtvvT1NerGljU0zx +aT6FycDfps0HQEBtZENiDDsM1dqef8KyQoFC8+ztoOELKGTPUrgkwttS7g8O++DApyoug+z6CJTt A/dMjJhQOFaRh8Q+OZcegEr7ztMtlY4CAbjn3Xe25cXu5vQqCKhLfIL2bbN+hf/vbhKGLKB4hdCOu EtPkpMcg==; Received: by zero.zsh.org with local id 1paUyT-0003IL-PJ; Fri, 10 Mar 2023 05:07:26 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f43.google.com) smtp.remote-ip=209.85.208.43; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f43.google.com ([209.85.208.43]:36756) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1paUyH-00030X-Lm; Fri, 10 Mar 2023 05:07:14 +0000 Received: by mail-ed1-f43.google.com with SMTP id da10so15888530edb.3 for ; Thu, 09 Mar 2023 21:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; t=1678424833; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6ClckMOLPGLdepB3LTq/FO1J3nc4ifB8PwFZItvXST0=; b=6DqYTOdB6vLSrWO/vuyal0D1pvBDTUd7e5VCsGpIvBDDfCMAsX01JvBy0R+mXa16gf HKINomVTSADS+gvaJ9M4tQUZS6oyhtoDucCSbFBwdxqLcUUWsuTGH89Odn56nQ/NFB1f zwik7ii96+Fd7AEUq0g3lGp6EZjuRdjnqyb8axMRWK51tvrbosGz40dzGPn28EFrzh6L NeY7hcM/IHaeKvqtkY+ZNDP6K/d3OEubv9WDPtVXGDJK1Gzk/8YWmVD36Yc7yum3NvaY esmoZ9POu4+llW6wzgC/gjvOaNe3oK4Y5PChWAyxdoE1QlWzbNxyXdZyUV3g+SBBN4E5 99ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678424833; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=6ClckMOLPGLdepB3LTq/FO1J3nc4ifB8PwFZItvXST0=; b=UETrlinA9iQXwBujD55SmoRA04Q/82hksO5J0J0lMNZtHVp6kcvB7vLfm/T6Wr3T0b +TrU47ZSwwuZ75VnNaK84UMEMRP09fgtafeazh+NW7thLj8biLZB5Ba5134feBYb8Dk9 eEIaGUuEANShkAIpR34rynA3QdNlGos7Ah7+4PNwceK8dBfxIkWK2yruMljTIw9Lp+oM ZXmUkJ+W+uEnXb31tvQLe8hL6YdIn8CSMBzRZjf4AkYvsnXjhvYqjf9A7slpbEbR/s87 pYXYFpiPd9QVmepraqi1j0wGfTGQLKm4BQVtqm5hSn665makC7P92je5FzYTN2VxpqQo F67g== X-Gm-Message-State: AO0yUKXwvPa6MnDVzyTMpiaY/Hoz1oHkG/l0b0xWKA7Bbb3NBuKLcClG tBv8HTNhzOG0LxmWXErKgsNz8NSUu1Ofz3zsn8W1Lg== X-Google-Smtp-Source: AK7set/24p0Zr+QIGFsAZGg/pX7G0ttt2G2doCgztK3XwDh/oAidqEQOl0A15eSyJfw8S+xUgzFjWIrNRLQKaj/nls0= X-Received: by 2002:a17:906:6083:b0:919:2e39:95e5 with SMTP id t3-20020a170906608300b009192e3995e5mr4521904ejj.6.1678424832893; Thu, 09 Mar 2023 21:07:12 -0800 (PST) MIME-Version: 1.0 References: <20230309174316.11290-1-ufh8945@gmail.com> In-Reply-To: From: Bart Schaefer Date: Thu, 9 Mar 2023 21:07:01 -0800 Message-ID: Subject: Re: [PATCH] correct: add support for colemak layout To: Mikael Magnusson Cc: Nikita Romanyuk , zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 51549 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 Thu, Mar 9, 2023 at 7:38=E2=80=AFPM Mikael Magnusson = wrote: > > It would be nice to not introduce another weird tri-state thing here > [...] Perhaps it would be nicer to just let > the user set the layout in some special (namespaced?) parameter Yes, I was just thinking the same thing. Since the keyboard layout is expressed as a string rather than a 2d array, there's no special complication with assigning it to a parameter, the format just needs documenting. 14 newlines, then four runs of 12 "keys" each with tabs at each end, then a run of 14 newlines, then four more runs for the shifted keys, and finally 14 newlines? If we namespace it (a reasonable idea) we'll need to start documenting reserved namespaces. Oliver has already suggested a "zle" namespace. Thanks, BTW, for mentioning OPT_SIZE placement.