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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3677 invoked from network); 10 Mar 2023 05:19:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Mar 2023 05:19:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1678425557; b=j8NUDY/fqF50Y/w6i55Gna7/spIwYpmLesMT7P3ljYs/x4aiowKjCatI4+uo10XQOpYxOwnHJp HBGyFUj5DvIFu5uUALgEvjbK4jq7upZ00XV9f9OYhXUv8wHUk90Xh99vzJu2VkUApM9c5MWYbW 0DVj3RGvirdMVmWWTmIgPvRvXE85ETFnFRVB/ZSJQOymqpKyErUMu3yYtrbKVdPrw7wBITQiqL OMh41/LCAQHmJ2LdnzTlAT1k4tfDPu2I8bYmWqhtrmRpTE1k+PWUhCpjJFfZus6UsO0EgVfldS NSmVPnER/H2i8EBDqb4gn1gQd8IH2HlTi9CR1vsDtvkfIw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f52.google.com) smtp.remote-ip=209.85.208.52; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1678425557; bh=mWFnnrcJl2oSppPNaOJjq+1WTCmTN7uu8OGwKPXvdps=; 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=ssSgCV/8SzPnd2fEUaObV+Fu+RrirYblNjwJdhpnoVd3tQMERqAoK4Y5WCFXbM9fYT9N7yAt/+ DN0ZEQaqOq2OmPeG+Z0qlXF1hPHknlO68vQkhL++HW2Zo6WZj2txPTKMTMyX8/qTJPz8auvewK nxOTkOI7925a+JKInNdz01naLsXGP7jv4f5kfJo2e8gKZQU/ZsdI1mUJ0S8KtpTo7FaNfdbX1B OOsVvuLPK7iY1iXlollSmgnJdtSY8bFU76JhmNRskN501RTlozBdZ4UNM3fdozwhxnMur5QKxD uB+ryqO+98fAraFP5KkcDEU49ACDDtR8xB6ta0gd4c621g==; 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-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=ibw5rQ8UKc/vDzB6BP0gbDKGZnVOoBMd966S8sgdMGw=; b=YYNNTduecDaDhpdeAg4nNRKoYb v5u2Isrf5V9IKbPjJIZMvVL8tt3XLieyzYC50YrfA4Ed+0wryjwMU5Oh0YlRGoLhKRwHsGgtRiljp 7iODQfOUI1TsGLMeJBUy2eJJBYrRi/eHvu/fx46IaYSuycTQ0WEnHkFgLoZ74sCPqAXBcNeJF/XOF lPapg5YprnmLM9qq1zFy1I6bpvUQoMV1IYu3h4tcbxuk9nn3rsHdTnrgyH9Kzk8zbsTpQhvOCLNh5 9nVmMGNXGikcG7loSGS/KeO+zaBYm981blQrwP4RmEaU5ZZGY74G7ySWZIbsx85fiYFXp962cxLHO /f//EREw==; Received: by zero.zsh.org with local id 1paV9w-0004mx-Je; Fri, 10 Mar 2023 05:19:16 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f52.google.com) smtp.remote-ip=209.85.208.52; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ed1-f52.google.com ([209.85.208.52]:37761) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1paV9h-0004Tj-5n; Fri, 10 Mar 2023 05:19:01 +0000 Received: by mail-ed1-f52.google.com with SMTP id j11so15925116edq.4 for ; Thu, 09 Mar 2023 21:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678425540; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ibw5rQ8UKc/vDzB6BP0gbDKGZnVOoBMd966S8sgdMGw=; b=n/wt6Sv6BJ8Aa3s7h9VO2UUEk2qqeRPd6h8Akdu1q3yO7fWzkRalTouU4yygK5neFS jFaA98Y3q0S4aZA9YomUtWg8ZwKUx/oSx4KZK3ZnTDSEKQIz7y0mtkWALog3OOOx5hJk u1LTscuv+xxWBON+3SnaYE3oeIhVNAu+w3sS1r46Z0Z8+by0H+UKNx8CSduS1th93ad1 UV3hgqcNaO7MW9c4y4vE/uLwcEbKI2FHb88LTSQjfti7JuwQh4qvvsOoIpJV9iufYojY m3kj+nUNx6fzIU1lMGb5WZXhn7kW0y2HzBwFeCXq2gcsEfPxTt8uRy35otSQWwJ2GiKr WsLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678425540; h=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=ibw5rQ8UKc/vDzB6BP0gbDKGZnVOoBMd966S8sgdMGw=; b=RkLFN1dTpnifX5txyHS3Mx/hz2WqTUJRYQMlJAK4vEvbWEiVu4ZKjDgMiLa2mle98O 9c+vfFXsaEIgrhgNYPxCnG+tnKsBHJGStQQS2WBxCSGZnG8QeafVsUPjsv99bmovGFq8 Zg8/jk5PZY17wCUkWzn2TDHsvO8w3KO1olcG7Z0ehRO3P5SMzElsymxN32Ae18iyzzGJ Aumg9AMnigUf7UOMCiho+1mGFsYqXWWIRWZDLd0/ZlPz5Cc8jqrS6QGby4CpOUJ14FNn Ez8vCbigmgfXXnvJSSvp4Qf3twbU8TE9CgqF7CGAJ3b3k90bxPbD+8N0FJCQ4znA2m3J kj+g== X-Gm-Message-State: AO0yUKWC43GPREFNNnPD7ugvb18XFp0DRQ7e8muRXp7dH52OGQNF4q9W SsWWXpJRtwbkokANzgdr3Y3Q7IBsUbwx0EQivQc= X-Google-Smtp-Source: AK7set9pCqq1iS33otFuuUsQQ5CTfNKlfA20Gn8LQQsiy/68mNm4OHg/m5fj9NZ6GeLGhfutmI0WKx4fSAwSVnUO94k= X-Received: by 2002:a17:906:174a:b0:8ae:b14b:4b9e with SMTP id d10-20020a170906174a00b008aeb14b4b9emr11487814eje.9.1678425540530; Thu, 09 Mar 2023 21:19:00 -0800 (PST) MIME-Version: 1.0 References: <20230309174316.11290-1-ufh8945@gmail.com> <56087c9f-b450-1520-37d9-6209f681d960@gmail.com> In-Reply-To: From: Kelvium Date: Fri, 10 Mar 2023 08:18:49 +0300 Message-ID: Subject: Re: [PATCH] correct: add support for colemak layout To: Bart Schaefer Cc: Mikael Magnusson , zsh-workers@zsh.org Content-Type: multipart/alternative; boundary="00000000000020175d05f684e6a8" X-Seq: 51551 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: --00000000000020175d05f684e6a8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for the clarification. On Fri, Mar 10, 2023, 08:13 Bart Schaefer wrote= : > On Thu, Mar 9, 2023 at 8:48=E2=80=AFPM Nikita Romanyuk wrote: > > > > If I understood correctly, we shouldn't use setopt for changing keyboar= d > > layouts because it's not expandable. Better, there should be a separate > > builtin function. How should it be called? "setlayout"? "setkblayout"? > > No, you have misunderstood. We're suggesting something like > > .zle.layout=3D$'\n\n\n\n\n\n\n\n\n\n\n\n\n\n etc etc' > > and then the spdist function would read the value of that variable. > No new options, no new builtins. > > A shell function file similar to (for an example) > Functions/Misc/colors would provide a set of layouts that could be > assigned to the variable. > --00000000000020175d05f684e6a8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for the clarification.=C2=A0

On Fri, Mar 10, = 2023, 08:13 Bart Schaefer <= schaefer@brasslantern.com> wrote:
On Thu, Mar 9, 2023 at 8:48=E2=80=AFPM Nikita Romanyuk <ufh8945@gma= il.com> wrote:
>
> If I understood correctly, we shouldn't use setopt for changing ke= yboard
> layouts because it's not expandable. Better, there should be a sep= arate
> builtin function. How should it be called? "setlayout"? &quo= t;setkblayout"?

No, you have misunderstood.=C2=A0 We're suggesting something like

.zle.layout=3D$'\n\n\n\n\n\n\n\n\n\n\n\n\n\n etc etc'

and then the spdist function would read the value of that variable.
No new options, no new builtins.

A shell function file similar to (for an example)
Functions/Misc/colors would provide a set of layouts that could be
assigned to the variable.
--00000000000020175d05f684e6a8--