New input method 'polish-prefix'

* lisp/leim/quail/latin-pre.el ("polish-prefix"): New input
method.  (Bug#24967)

* etc/NEWS: Mention the new input method.

Copyright-paperwork-exempt: yes
This commit is contained in:
Wojciech Gac 2016-11-25 12:41:20 +02:00 committed by Eli Zaretskii
parent fd912a80cc
commit 8da61f8846
2 changed files with 91 additions and 1 deletions

View file

@ -260,7 +260,7 @@ roster of X keysyms. It can be used in combination with another
variable of this kind to swap modifiers in Emacs.
---
** New input method: 'cyrillic-tuvan'.
** New input methods: 'cyrillic-tuvan', 'polish-prefix'.
* Editing Changes in Emacs 26.1

View file

@ -35,6 +35,9 @@
;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl>
;;
;; latin-[89]-prefix: Dave Love <fx@gnu.org>
;;
;; polish-prefix:
;; Author: Wojciech Gac <wojciech.s.gac@gmail.com>
;; You might make extra input sequences on the basis of the X
;; locale/*/Compose files (which have both prefix and postfix
@ -704,6 +707,93 @@ Key translation rules are:
(".z" )
)
(quail-define-package
"polish-prefix" "Polish" "PL>" nil
"Input method for Polish, Kashubian, Kurpie and Silesian.
Similar in spirit to `polish-slash', but uses 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