all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wojciech Gac <wojciech.s.gac@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 24967@debbugs.gnu.org
Subject: bug#24967: Kashubian input method
Date: Sun, 20 Nov 2016 00:49:07 +0100	[thread overview]
Message-ID: <CACeHaM_qyBSSiQXW97XPAUpRiVb_WpZM-z4FD91Vo9vcQDqvHw@mail.gmail.com> (raw)
In-Reply-To: <83fumnblfu.fsf@gnu.org>


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

Ok, here's another take on the topic. Now it's not region-specific and
incorporates as many regional diacritics as I was able to find.
Regards,
Wojtek

2016-11-19 15:20 GMT+01:00 Eli Zaretskii <eliz@gnu.org>:

> > From: Wojciech Gac <wojciech.s.gac@gmail.com>
> > Date: Sat, 19 Nov 2016 14:21:10 +0100
> > Cc: 24967@debbugs.gnu.org
> >
> > Well, I did consider this for a moment, but the Polish method is called
> 'polish-slash' and assumes slash as
> > the prefix character.
>
> I see.
>
> > But perhaps I could create something called 'polish-prefix' which would
> serve as a union of scripts,
> > i.e. combining ordinary Polish diacritics with regional ones. What do
> you think?
>
> Sounds like a good idea, thanks.
>

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

[-- Attachment #2: polish-prefix.patch --]
[-- Type: text/x-patch, Size: 1986 bytes --]

diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el
index 138a97a..fb44897 100644
--- a/lisp/leim/quail/latin-pre.el
+++ b/lisp/leim/quail/latin-pre.el
@@ -705,6 +705,97 @@
 )
 
 
+;; Author: Wojciech Gac <wojciech.s.gac@gmail.com>
+(quail-define-package
+ "polish-prefix" "Polish" "PL>" nil
+ "Polish input method. Similar in spirit to `polish-slash', but
+ using the most intuitive prefix for each diacritic. In addition
+ to ordinary Polish diacritics, this input method also contains
+ characters from the Kashubian, Kurpie and Silesian (both Steuer
+ and Ślabikŏrzowy szrajbōnek) scripts."
+ nil t t nil nil nil nil nil nil nil t)
+
+(quail-define-rules
+ (",a" ?ą)
+ (",A" ?Ą)
+ ("/a" ?á)
+ ("/A" ?Á)
+ ("'a" ?á)
+ ("'A" ?Á)
+ ("\\a" ?à)
+ ("\\A" ?À)
+ ("`a" ?à)
+ ("`A" ?À)
+ (".a" ?å)
+ (".A" ?Å)
+ ("~a" ?ã)
+ ("~A" ?Ã)
+ ("/c" ?ć)
+ ("/C" ?Ć)
+ ("'c" ?ć)
+ ("'C" ?Ć)
+ ("'e" ?é)
+ ("'E" ?É)
+ ("/e" ?é)
+ ("/E" ?É)
+ (",e" ?ę)
+ (",E" ?Ę)
+ (":e" ?ë)
+ (":E" ?Ë)
+ (":i" ?ï)
+ (":I" ?Ï)
+ ("/l" ?ł)
+ ("/L" ?Ł)
+ ("/n" ?ń)
+ ("/N" ?Ń)
+ ("'n" ?ń)
+ ("'N" ?Ń)
+ ("`o" ?ò)
+ ("`O" ?Ò)
+ ("\\o" ?ò)
+ ("\\O" ?Ò)
+ ("'o" ?ó)
+ ("'O" ?Ó)
+ ("/o" ?ó)
+ ("/O" ?Ó)
+ ("^o" ?ô)
+ ("^O" ?Ô)
+ ("-o" ?ō)
+ ("-O" ?Ō)
+ ("~o" ?õ)
+ ("~O" ?Õ)
+ ("#o" ?ŏ)
+ ("#O" ?Ŏ)
+ ("/s" ?ś)
+ ("/S" ?Ś)
+ ("'s" ?ś)
+ ("'S" ?Ś)
+ ("`u" ?ù)
+ ("`U" ?Ù)
+ (".u" ?ů)
+ (".U" ?Ů)
+ ("/z" ?ź)
+ ("/Z" ?Ź)
+ ("'z" ?ź)
+ ("'Z" ?Ź)
+ (".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/]'.

  reply	other threads:[~2016-11-19 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=CACeHaM_qyBSSiQXW97XPAUpRiVb_WpZM-z4FD91Vo9vcQDqvHw@mail.gmail.com \
    --to=wojciech.s.gac@gmail.com \
    --cc=24967@debbugs.gnu.org \
    --cc=eliz@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.