From: Bart Schaefer <schaefer@brasslantern.com>
To: Nikita Romanyuk <ufh8945@gmail.com>
Cc: Mikael Magnusson <mikachu@gmail.com>, zsh-workers@zsh.org
Subject: Re: [PATCH] correct: add support for colemak layout
Date: Thu, 9 Mar 2023 21:13:25 -0800 [thread overview]
Message-ID: <CAH+w=7Y=AoL9RB3k9MqS40FHZ-NFdpfMP4o0oCNhqDjkXEMFXA@mail.gmail.com> (raw)
In-Reply-To: <56087c9f-b450-1520-37d9-6209f681d960@gmail.com>
On Thu, Mar 9, 2023 at 8:48 PM Nikita Romanyuk <ufh8945@gmail.com> wrote:
>
> If I understood correctly, we shouldn't use setopt for changing keyboard
> 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=$'\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.
next prev parent reply other threads:[~2023-03-10 5:13 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-09 17:43 Nikita Romanyuk
2023-03-10 3:37 ` Mikael Magnusson
2023-03-10 4:47 ` Nikita Romanyuk
2023-03-10 5:13 ` Bart Schaefer [this message]
2023-03-10 5:18 ` Kelvium
2023-03-11 23:17 ` Bart Schaefer
2023-03-12 6:47 ` Nikita Romanyuk
2023-03-10 5:07 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7Y=AoL9RB3k9MqS40FHZ-NFdpfMP4o0oCNhqDjkXEMFXA@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=mikachu@gmail.com \
--cc=ufh8945@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).