diff options
| author | Wojciech Gac | 2016-11-25 12:41:20 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-11-25 12:41:20 +0200 |
| commit | 8da61f884649e1fb98fc83f9401116df8f948a31 (patch) | |
| tree | 23c73b67c7f076c1ec9922c957c7f5a737e1b6cf | |
| parent | fd912a80cc9b88f2c0b155809b68e5f4a55bdb66 (diff) | |
| download | emacs-8da61f884649e1fb98fc83f9401116df8f948a31.tar.gz emacs-8da61f884649e1fb98fc83f9401116df8f948a31.zip | |
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
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/leim/quail/latin-pre.el | 90 |
2 files changed, 91 insertions, 1 deletions
| @@ -260,7 +260,7 @@ roster of X keysyms. It can be used in combination with another | |||
| 260 | variable of this kind to swap modifiers in Emacs. | 260 | variable of this kind to swap modifiers in Emacs. |
| 261 | 261 | ||
| 262 | --- | 262 | --- |
| 263 | ** New input method: 'cyrillic-tuvan'. | 263 | ** New input methods: 'cyrillic-tuvan', 'polish-prefix'. |
| 264 | 264 | ||
| 265 | 265 | ||
| 266 | * Editing Changes in Emacs 26.1 | 266 | * Editing Changes in Emacs 26.1 |
diff --git a/lisp/leim/quail/latin-pre.el b/lisp/leim/quail/latin-pre.el index 138a97ac28a..dd23add9064 100644 --- a/lisp/leim/quail/latin-pre.el +++ b/lisp/leim/quail/latin-pre.el | |||
| @@ -35,6 +35,9 @@ | |||
| 35 | ;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl> | 35 | ;; Maintainer: Włodek Bzyl <matwb@univ.gda.pl> |
| 36 | ;; | 36 | ;; |
| 37 | ;; latin-[89]-prefix: Dave Love <fx@gnu.org> | 37 | ;; latin-[89]-prefix: Dave Love <fx@gnu.org> |
| 38 | ;; | ||
| 39 | ;; polish-prefix: | ||
| 40 | ;; Author: Wojciech Gac <wojciech.s.gac@gmail.com> | ||
| 38 | 41 | ||
| 39 | ;; You might make extra input sequences on the basis of the X | 42 | ;; You might make extra input sequences on the basis of the X |
| 40 | ;; locale/*/Compose files (which have both prefix and postfix | 43 | ;; locale/*/Compose files (which have both prefix and postfix |
| @@ -704,6 +707,93 @@ Key translation rules are: | |||
| 704 | (".z" ?ż) | 707 | (".z" ?ż) |
| 705 | ) | 708 | ) |
| 706 | 709 | ||
| 710 | (quail-define-package | ||
| 711 | "polish-prefix" "Polish" "PL>" nil | ||
| 712 | "Input method for Polish, Kashubian, Kurpie and Silesian. | ||
| 713 | Similar in spirit to `polish-slash', but uses the most intuitive | ||
| 714 | prefix for each diacritic. In addition to ordinary Polish diacritics, | ||
| 715 | this input method also contains characters from the Kashubian, Kurpie | ||
| 716 | and Silesian (both Steuer and Ślabikŏrzowy szrajbōnek) scripts." | ||
| 717 | nil t t nil nil nil nil nil nil nil t) | ||
| 718 | |||
| 719 | (quail-define-rules | ||
| 720 | (",a" ?ą) | ||
| 721 | (",A" ?Ą) | ||
| 722 | ("/a" ?á) | ||
| 723 | ("/A" ?Á) | ||
| 724 | ("'a" ?á) | ||
| 725 | ("'A" ?Á) | ||
| 726 | ("\\a" ?à) | ||
| 727 | ("\\A" ?À) | ||
| 728 | ("`a" ?à) | ||
| 729 | ("`A" ?À) | ||
| 730 | (".a" ?å) | ||
| 731 | (".A" ?Å) | ||
| 732 | ("~a" ?ã) | ||
| 733 | ("~A" ?Ã) | ||
| 734 | ("/c" ?ć) | ||
| 735 | ("/C" ?Ć) | ||
| 736 | ("'c" ?ć) | ||
| 737 | ("'C" ?Ć) | ||
| 738 | ("'e" ?é) | ||
| 739 | ("'E" ?É) | ||
| 740 | ("/e" ?é) | ||
| 741 | ("/E" ?É) | ||
| 742 | (",e" ?ę) | ||
| 743 | (",E" ?Ę) | ||
| 744 | (":e" ?ë) | ||
| 745 | (":E" ?Ë) | ||
| 746 | (":i" ?ï) | ||
| 747 | (":I" ?Ï) | ||
| 748 | ("/l" ?ł) | ||
| 749 | ("/L" ?Ł) | ||
| 750 | ("/n" ?ń) | ||
| 751 | ("/N" ?Ń) | ||
| 752 | ("'n" ?ń) | ||
| 753 | ("'N" ?Ń) | ||
| 754 | ("`o" ?ò) | ||
| 755 | ("`O" ?Ò) | ||
| 756 | ("\\o" ?ò) | ||
| 757 | ("\\O" ?Ò) | ||
| 758 | ("'o" ?ó) | ||
| 759 | ("'O" ?Ó) | ||
| 760 | ("/o" ?ó) | ||
| 761 | ("/O" ?Ó) | ||
| 762 | ("^o" ?ô) | ||
| 763 | ("^O" ?Ô) | ||
| 764 | ("-o" ?ō) | ||
| 765 | ("-O" ?Ō) | ||
| 766 | ("~o" ?õ) | ||
| 767 | ("~O" ?Õ) | ||
| 768 | ("#o" ?ŏ) | ||
| 769 | ("#O" ?Ŏ) | ||
| 770 | ("/s" ?ś) | ||
| 771 | ("/S" ?Ś) | ||
| 772 | ("'s" ?ś) | ||
| 773 | ("'S" ?Ś) | ||
| 774 | ("`u" ?ù) | ||
| 775 | ("`U" ?Ù) | ||
| 776 | (".u" ?ů) | ||
| 777 | (".U" ?Ů) | ||
| 778 | ("/z" ?ź) | ||
| 779 | ("/Z" ?Ź) | ||
| 780 | ("'z" ?ź) | ||
| 781 | ("'Z" ?Ź) | ||
| 782 | (".z" ?ż) | ||
| 783 | (".Z" ?Ż) | ||
| 784 | ;; Explicit input of prefix characters. Normally, to input a prefix | ||
| 785 | ;; character itself, one needs to press <Tab>. Definitions below | ||
| 786 | ;; allow to input those characters by entering them twice. | ||
| 787 | ("//" ?/) | ||
| 788 | ("\\\\" ?\\) | ||
| 789 | ("~~" ?~) | ||
| 790 | ("''" ?') | ||
| 791 | ("::" ?:) | ||
| 792 | ("``" ?`) | ||
| 793 | ("^^" ?^) | ||
| 794 | (".." ?.) | ||
| 795 | (",," ?,) | ||
| 796 | ("--" ?-)) | ||
| 707 | 797 | ||
| 708 | (quail-define-package | 798 | (quail-define-package |
| 709 | "polish-slash" "Polish" "PL>" nil | 799 | "polish-slash" "Polish" "PL>" nil |