all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#24967: Kashubian input method
@ 2016-11-19 12:02 Wojciech Gac
  2016-11-19 12:23 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Wojciech Gac @ 2016-11-19 12:02 UTC (permalink / raw)
  To: 24967


[-- Attachment #1.1: Type: text/plain, Size: 316 bytes --]

Hello,
I've created a Kashubian prefix input method for Emacs. For every diacritic
character it uses the most intuitive prefix character, e.g. ':e' generates
the character 'ë', '`o' - 'ò', etc. I've also added the option to
explicitly insert those prefix characters by inputting them twice.
Regards,
Wojtek

[-- Attachment #1.2: Type: text/html, Size: 405 bytes --]

[-- Attachment #2: kashubian.patch --]
[-- Type: text/x-patch, Size: 1137 bytes --]

diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el
index 138a97a..3e9dbef 100644
--- a/lisp/leim/quail/latin-pre.el
+++ b/lisp/leim/quail/latin-pre.el
@@ -706,6 +706,47 @@
 
 
 (quail-define-package
+ "kashubian-prefix" "Kashubian" "CSB>" nil
+ "Kashubian input method."
+ nil t t nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ ("/a" ?ą)
+ ("/A" ?Ą)
+ ("~a" ?ã)
+ ("~A" ?Ã)
+ ("'e" ?é)
+ ("'E" ?É)
+ (":e" ?ë)
+ (":E" ?Ë)
+ ("/l" ?ł)
+ ("/L" ?Ł)
+ ("/n" ?ń)
+ ("/N" ?Ń)
+ ("`o" ?ò)
+ ("`O" ?Ò)
+ ("'o" ?ó)
+ ("'O" ?Ó)
+ ("^o" ?ô)
+ ("^O" ?Ô)
+ ("`u" ?ù)
+ ("`U" ?Ù)
+ (".z" ?ż)
+ (".Z" ?Ż)
+ ;; Explicit input of prefix characters. Normally, to input a prefix
+ ;; character itself, one needs to press <Tab>. Definitions below
+ ;; allow to input those characters by entering them twice.
+ ("//" ?/)
+ ("~~" ?~)
+ ("''" ?')
+ ("::" ?:)
+ ("``" ?`)
+ ("^^" ?^)
+ (".." ?.)
+)
+
+
+(quail-define-package
  "polish-slash" "Polish" "PL>" nil
  "Polish diacritics and slash character are input as `/[acelnosxzACELNOSXZ/]'.
 For example, the character named `aogonek' is obtained by `/a'."

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-11-25 10:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-19 12:02 bug#24967: Kashubian input method Wojciech Gac
2016-11-19 12:23 ` Eli Zaretskii
2016-11-19 13:21   ` Wojciech Gac
2016-11-19 14:20     ` Eli Zaretskii
2016-11-19 23:49       ` Wojciech Gac
2016-11-25 10:43         ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.