Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
;;; lao.el --- Quail package for inputting Lao characters -*-coding: utf-8;-*-
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
2007-01-16 08:40:03 +00:00
|
|
|
|
;; Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
2011-01-02 23:50:46 +00:00
|
|
|
|
;; 2006, 2007, 2008, 2009, 2010, 2011
|
2004-12-04 02:49:34 +00:00
|
|
|
|
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
|
|
|
|
;; Registration Number H14PRO021
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
|
|
|
|
;; Keywords: multilingual, input method, Lao
|
|
|
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
|
2008-05-07 03:37:08 +00:00
|
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
1997-07-08 01:48:20 +00:00
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-07 03:37:08 +00:00
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
;; (at your option) any later version.
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2017-09-13 22:52:52 +00:00
|
|
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
2001-07-16 20:22:24 +00:00
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
1997-07-08 01:48:20 +00:00
|
|
|
|
;;; Code:
|
|
|
|
|
|
|
|
|
|
(require 'quail)
|
|
|
|
|
(require 'lao-util)
|
|
|
|
|
|
1999-12-15 00:32:16 +00:00
|
|
|
|
(defun quail-lao-update-translation (control-flag)
|
|
|
|
|
(if (integerp control-flag)
|
|
|
|
|
;; Non-composable character typed.
|
|
|
|
|
(setq quail-current-str
|
|
|
|
|
(buffer-substring (overlay-start quail-overlay)
|
|
|
|
|
(overlay-end quail-overlay))
|
|
|
|
|
unread-command-events
|
2015-07-25 16:54:42 +00:00
|
|
|
|
(append
|
|
|
|
|
(substring quail-current-key control-flag)
|
|
|
|
|
unread-command-events))
|
1999-12-15 00:32:16 +00:00
|
|
|
|
(setq quail-current-str
|
|
|
|
|
(compose-string (quail-lookup-map-and-concat quail-current-key))))
|
|
|
|
|
control-flag)
|
|
|
|
|
|
2004-12-04 02:49:34 +00:00
|
|
|
|
(defvar lao-key-alist
|
1999-12-15 00:32:16 +00:00
|
|
|
|
'(("!" . "1")
|
|
|
|
|
("\"" . "=")
|
|
|
|
|
("#" . "3")
|
|
|
|
|
("$" . "4")
|
|
|
|
|
("&" . "5")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("%" . "໌")
|
|
|
|
|
("'" . "ງ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("(" . "7")
|
|
|
|
|
(")" . "8")
|
|
|
|
|
("*" . "6")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("+" . ["ໍ່"])
|
|
|
|
|
("," . "ມ")
|
|
|
|
|
("-" . "ຊ")
|
|
|
|
|
("." . "ໃ")
|
|
|
|
|
("/" . "ຝ")
|
|
|
|
|
("0" . "ຂ")
|
|
|
|
|
("1" . "ຢ")
|
|
|
|
|
("2" . "ຟ")
|
|
|
|
|
("3" . "ໂ")
|
|
|
|
|
("4" . "ຖ")
|
|
|
|
|
("5" . "ຸ")
|
|
|
|
|
("6" . "ູ")
|
|
|
|
|
("7" . "ຄ")
|
|
|
|
|
("8" . "ຕ")
|
|
|
|
|
("9" . "ຈ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
(":" . "%")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
(";" . "ວ")
|
|
|
|
|
("<" . "ໝ")
|
|
|
|
|
("=" . "ໍ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
(">" . "$")
|
|
|
|
|
("?" . ")")
|
|
|
|
|
("@" . "2")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("A" . ["ັ້"])
|
|
|
|
|
("B" . ["ຶ້"])
|
|
|
|
|
("C" . "ຯ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("D" . ".")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("E" . ["ຳ້"])
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("F" . ",")
|
|
|
|
|
("G" . ":")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("H" . "໊")
|
|
|
|
|
("I" . "ຮ")
|
|
|
|
|
("J" . "໋")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("K" . "!")
|
|
|
|
|
("L" . "?")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("M" . "ໆ")
|
|
|
|
|
("N" . ["ື້"])
|
|
|
|
|
("O" . "ໜ")
|
|
|
|
|
("P" . "ຽ")
|
|
|
|
|
("Q" . ["ົ້"])
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("R" . "_")
|
|
|
|
|
("S" . ";")
|
|
|
|
|
("T" . "+")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("U" . ["ີ້"])
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("V" . "x")
|
|
|
|
|
("W" . "0")
|
|
|
|
|
("X" . "(")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("Y" . ["ິ້"])
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("Z" . "\"")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("[" . "ບ")
|
|
|
|
|
("]" . "ລ")
|
|
|
|
|
("^" . "ຼ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("_" . "9")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("`" . "ງ")
|
|
|
|
|
("a" . "ັ")
|
|
|
|
|
("b" . "ຶ")
|
|
|
|
|
("c" . "ແ")
|
|
|
|
|
("d" . "ກ")
|
|
|
|
|
("e" . "ຳ")
|
|
|
|
|
("f" . "ດ")
|
|
|
|
|
("g" . "ເ")
|
|
|
|
|
("h" . "້")
|
|
|
|
|
("i" . "ຣ")
|
|
|
|
|
("j" . "່")
|
|
|
|
|
("k" . "າ")
|
|
|
|
|
("l" . "ສ")
|
|
|
|
|
("m" . "ທ")
|
|
|
|
|
("n" . "ື")
|
|
|
|
|
("o" . "ນ")
|
|
|
|
|
("p" . "ຍ")
|
|
|
|
|
("q" . "ົ")
|
|
|
|
|
("r" . "ພ")
|
|
|
|
|
("s" . "ຫ")
|
|
|
|
|
("t" . "ະ")
|
|
|
|
|
("u" . "ີ")
|
|
|
|
|
("v" . "ອ")
|
|
|
|
|
("w" . "ໄ")
|
|
|
|
|
("x" . "ປ")
|
|
|
|
|
("y" . "ິ")
|
|
|
|
|
("z" . "ຜ")
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("{" . "-")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("|" . ["ຫຼ"])
|
1999-12-15 00:32:16 +00:00
|
|
|
|
("}" . "/")
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
("~" . "໌")
|
|
|
|
|
("\\0" . "໐")
|
|
|
|
|
("\\1" . "໑")
|
|
|
|
|
("\\2" . "໒")
|
|
|
|
|
("\\3" . "໓")
|
|
|
|
|
("\\4" . "໔")
|
|
|
|
|
("\\5" . "໕")
|
|
|
|
|
("\\6" . "໖")
|
|
|
|
|
("\\7" . "໗")
|
|
|
|
|
("\\8" . "໘")
|
|
|
|
|
("\\9" . "໙")
|
2004-12-04 02:49:34 +00:00
|
|
|
|
)
|
|
|
|
|
"Alist of key sequences vs the corresponding Lao string to input.
|
|
|
|
|
This variable is for the input method \"lao\".
|
|
|
|
|
If you change the value of this variable while quail/lao is already loaded,
|
|
|
|
|
you need to re-load it to properly re-initialize related alists.")
|
|
|
|
|
|
|
|
|
|
;; Temporary variable to initialize lao-consonant-key-alist, etc.
|
|
|
|
|
(defconst lao-key-alist-vector
|
|
|
|
|
(let ((tail lao-key-alist)
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
consonant-key-alist semivowel-key-alist vowel-key-alist
|
2004-12-04 02:49:34 +00:00
|
|
|
|
voweltone-key-alist tone-key-alist other-key-alist
|
|
|
|
|
elt phonetic-type)
|
|
|
|
|
(while tail
|
|
|
|
|
(setq elt (car tail) tail (cdr tail))
|
|
|
|
|
(if (stringp (cdr elt))
|
|
|
|
|
(setq phonetic-type (get-char-code-property (aref (cdr elt) 0)
|
|
|
|
|
'phonetic-type))
|
|
|
|
|
(setq phonetic-type (get-char-code-property (aref (aref (cdr elt) 0) 0)
|
1999-12-15 00:32:16 +00:00
|
|
|
|
'phonetic-type))
|
2004-12-04 02:49:34 +00:00
|
|
|
|
(aset (cdr elt) 0 (compose-string (aref (cdr elt) 0))))
|
|
|
|
|
(cond ((eq phonetic-type 'consonant)
|
|
|
|
|
(setq consonant-key-alist (cons elt consonant-key-alist)))
|
|
|
|
|
((memq phonetic-type '(vowel-upper vowel-lower))
|
|
|
|
|
(if (stringp (cdr elt))
|
|
|
|
|
(setq vowel-key-alist (cons elt vowel-key-alist))
|
|
|
|
|
(setq voweltone-key-alist (cons elt voweltone-key-alist))))
|
|
|
|
|
((eq phonetic-type 'tone)
|
|
|
|
|
(setq tone-key-alist (cons elt tone-key-alist)))
|
|
|
|
|
((eq phonetic-type 'semivowel-lower)
|
|
|
|
|
(setq semivowel-key-alist (cons elt semivowel-key-alist)))
|
|
|
|
|
(t
|
|
|
|
|
(setq other-key-alist (cons elt other-key-alist)))))
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
(vector consonant-key-alist semivowel-key-alist vowel-key-alist
|
2004-12-04 02:49:34 +00:00
|
|
|
|
voweltone-key-alist tone-key-alist other-key-alist)))
|
|
|
|
|
|
|
|
|
|
(defconst lao-consonant-key-alist (aref lao-key-alist-vector 0))
|
|
|
|
|
(defconst lao-semivowel-key-alist (aref lao-key-alist-vector 1))
|
|
|
|
|
(defconst lao-vowel-key-alist (aref lao-key-alist-vector 2))
|
|
|
|
|
(defconst lao-voweltone-key-alist (aref lao-key-alist-vector 3))
|
|
|
|
|
(defconst lao-tone-key-alist (aref lao-key-alist-vector 4))
|
|
|
|
|
(defconst lao-other-key-alist (aref lao-key-alist-vector 5))
|
|
|
|
|
|
|
|
|
|
;; Done with it.
|
|
|
|
|
(makunbound 'lao-key-alist-vector)
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
|
|
|
|
(quail-define-package
|
Use UTF-8 for most files with non-ASCII characters.
* admin/notes/unicode (etc/tutorials/TUTORIAL.ko, leim/quail/hanja.el)
(leim/quail/hanja3.el, leim/quail/symbol-ksc.el):
Now utf-8, not iso-2022-7bit. Also, files that contain non-UTF-8
characters are now encoded in utf-8-emacs, not iso-2022-7bit.
* etc/tutorials/TUTORIAL.ko, tutorials/TUTORIAL.th:
Switch from iso-2022-7bit to utf-8.
* leim/quail/cyrillic.el, leim/quail/czech.el, leim/quail/ethiopic.el:
* leim/quail/greek.el, leim/quail/hanja.el, leim/quail/hanja3.el:
* leim/quail/hebrew.el, leim/quail/lao.el, leim/quail/lrt.el:
* leim/quail/slovak.el, leim/quail/symbol-ksc.el, leim/quail/thai.el:
* leim/quail/tibetan.el, leim/quail/viqr.el, leim/quail/vntelex.el:
* leim/quail/vnvni.el, leim/quail/welsh.el:
* lisp/international/latin1-disp.el, lisp/international/mule-util.el:
* lisp/language/cyril-util.el, lisp/language/european.el:
* lisp/language/ind-util.el, lisp/language/lao-util.el, lisp/language/thai.el:
* lisp/language/tibet-util.el, lisp/language/tibetan.el:
* lisp/language/viet-util.el:
Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
Fixes: debbugs:13936
2013-04-02 01:18:40 +00:00
|
|
|
|
"lao" "Lao" "ລ" t
|
1997-07-08 01:48:20 +00:00
|
|
|
|
"Lao input method simulating Lao keyboard layout based on Thai TIS620"
|
1999-12-15 00:32:16 +00:00
|
|
|
|
nil t t t t nil nil nil 'quail-lao-update-translation nil t)
|
|
|
|
|
|
|
|
|
|
(quail-install-map
|
|
|
|
|
(quail-map-from-table
|
|
|
|
|
'((base-state (lao-consonant-key-alist . svt-state)
|
|
|
|
|
lao-vowel-key-alist
|
|
|
|
|
lao-voweltone-key-alist
|
|
|
|
|
lao-tone-key-alist
|
|
|
|
|
lao-other-key-alist)
|
|
|
|
|
(svt-state (lao-semivowel-key-alist . v-state)
|
2007-12-07 11:05:08 +00:00
|
|
|
|
(lao-vowel-key-alist . t-state)
|
|
|
|
|
lao-voweltone-key-alist
|
|
|
|
|
lao-tone-key-alist)
|
1999-12-15 00:32:16 +00:00
|
|
|
|
(v-state (lao-vowel-key-alist . t-state))
|
|
|
|
|
(t-state lao-tone-key-alist))))
|
1997-07-08 01:48:20 +00:00
|
|
|
|
|
2001-07-16 20:22:24 +00:00
|
|
|
|
;;; lao.el ends here
|