* bug#69471: Add Colemak as an input method
@ 2024-02-29 8:29 Yoshiku Onu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-02 8:01 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Yoshiku Onu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-02-29 8:29 UTC (permalink / raw)
To: 69471
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
Tags: patch
Adds the Colemak keyboard layout as an input method.
In GNU Emacs 29.1 (build 2, x86_64-w64-mingw32) of 2023-07-31 built on
AVALON
Windowing system distributor 'Microsoft Corp.', version 10.0.22621
System Description: Microsoft Windows 10 Enterprise (v10.0.2009.22621.2715)
Configured using:
'configure --with-modules --without-dbus --with-native-compilation=aot
--without-compress-install --with-tree-sitter CFLAGS=-O2'
[-- Attachment #2: add-colemak-input-method.patch --]
[-- Type: text/plain, Size: 1332 bytes --]
--- lisp/leim/quail/latin-post.el.old 2024-02-27 13:05:09.133601700 +0000
+++ lisp/leim/quail/latin-post.el.new 2024-02-27 13:13:32.321385500 +0000
@@ -1616,7 +1616,8 @@
;; Italian (itln)
;; Spanish (spnsh)
;; Dvorak (dvorak)
-;;
+;; Colemak (colemak)
+;;
;;; 92.12.15 created for Mule Ver.0.9.6 by Takahashi N. <ntakahas@etl.go.jp>
;;; 92.12.29 modified by Takahashi N. <ntakahas@etl.go.jp>
@@ -2224,6 +2225,55 @@
("?" ?Z)
)
+;;
+(quail-define-package
+ "english-colemak" "English" "CM@" t
+ "English (ASCII) input method simulating Colemak keyboard"
+ nil t t t t nil nil nil nil nil t)
+
+;; 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) -_ =+ `~
+;; qQ wW fF pP gG jJ lL uU yY ;: [{ ]}
+;; aA rR sS tT dD hH nN eE iI oO '" \|
+;; zZ xX cC vV bB kK mM ,< .> /?
+
+(quail-define-rules
+ ("e" ?f)
+ ("r" ?p)
+ ("t" ?g)
+ ("y" ?j)
+ ("u" ?l)
+ ("i" ?u)
+ ("o" ?y)
+ ("p" ?\;)
+ ("s" ?r)
+ ("d" ?s)
+ ("f" ?t)
+ ("g" ?d)
+ ("j" ?n)
+ ("k" ?e)
+ ("l" ?i)
+ (";" ?o)
+ ("n" ?k)
+
+ ("E" ?F)
+ ("R" ?P)
+ ("T" ?G)
+ ("Y" ?J)
+ ("U" ?L)
+ ("I" ?U)
+ ("O" ?Y)
+ ("P" ?\:)
+ ("S" ?R)
+ ("D" ?S)
+ ("F" ?T)
+ ("G" ?D)
+ ("J" ?N)
+ ("K" ?E)
+ ("L" ?I)
+ (":" ?O)
+ ("N" ?K)
+ )
+
(quail-define-package
"latin-postfix" "Latin" "L<" t
"Latin character input method with postfix modifiers.
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#69471: Add Colemak as an input method
2024-02-29 8:29 bug#69471: Add Colemak as an input method Yoshiku Onu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-03-02 8:01 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-03-02 8:01 UTC (permalink / raw)
To: Yoshiku Onu; +Cc: 69471-done
> Date: Thu, 29 Feb 2024 13:29:44 +0500
> From: Yoshiku Onu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Adds the Colemak keyboard layout as an input method.
Thanks, installed on the master branch, and closing the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-02 8:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 8:29 bug#69471: Add Colemak as an input method Yoshiku Onu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-02 8:01 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).