From: Wojciech Gac <wojciech.s.gac@gmail.com>
To: 24967@debbugs.gnu.org
Subject: bug#24967: Kashubian input method
Date: Sat, 19 Nov 2016 13:02:42 +0100 [thread overview]
Message-ID: <CACeHaM8oBdAKdtZpZJTOvSS-T-MrXeru6z_KVBm9VoBt5i6JFQ@mail.gmail.com> (raw)
[-- 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'."
next reply other threads:[~2016-11-19 12:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-19 12:02 Wojciech Gac [this message]
2016-11-19 12:23 ` bug#24967: Kashubian input method 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
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=CACeHaM8oBdAKdtZpZJTOvSS-T-MrXeru6z_KVBm9VoBt5i6JFQ@mail.gmail.com \
--to=wojciech.s.gac@gmail.com \
--cc=24967@debbugs.gnu.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 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.