annotate lisp/language/burmese.el @ 93321:c3fe9ef79b56

(decode_coding_object): Fix last change.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Mar 2008 20:04:37 +0000
parents 8d3c0976b01f
children c93598fddc46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91378
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 ;;; burmese.el --- support for Burmese -*- coding: utf-8; no-byte-compile: t -*-
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
3 ;; Copyright (C) 2008
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
4 ;; National Institute of Advanced Industrial Science and Technology (AIST)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 ;; Registration Number H13PRO009
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 ;; Keywords: multilingual, Burma, i18n
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 ;; This file is part of GNU Emacs.
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 ;; it under the terms of the GNU General Public License as published by
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 ;; the Free Software Foundation; either version 3, or (at your option)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 ;; any later version.
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
16 ;; GNU Emacs is distributed in the hope that it will be useful,
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; GNU General Public License for more details.
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
20
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
21 ;; You should have received a copy of the GNU General Public License
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
24 ;; Boston, MA 02110-1301, USA.
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
25
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
26 ;;; Commentary:
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ;; Aung San Suu Kyi says to call her country "Burma".
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
29 ;; The murderous generals say to call it "Myanmar".
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30 ;; We will call it "Burma". -- rms, Chief GNUisance.
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
31
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32 ;;; Code:
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 (set-language-info-alist
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35 "Burmese" '((charset unicode)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 (coding-system utf-8)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 (coding-priority utf-8)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38 (sample-text . "Myanmar (မ္ရန္‌မာ) မင္‍ဂလာပာ")
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
39 (documentation . t)))
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
40
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
41 (set-char-table-range composition-function-table '(#x1000 . #x107F)
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42 '(("[\x1000-\x107F\x200C\x200D]+" . font-shape-text)))
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43
8d3c0976b01f *** empty log message ***
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
44 ;; arch-tag: 8ba5f4cd-ef89-4008-b784-397edd0cb32e