comparison lisp/mule/misc-lang.el @ 428:3ecd8885ac67 r21-2-22

Import from CVS: tag r21-2-22
author cvs
date Mon, 13 Aug 2007 11:28:15 +0200
parents
children 7039e6323819
comparison
equal deleted inserted replaced
427:0a0253eac470 428:3ecd8885ac67
1 ;;; misc-lang.el --- support for miscellaneous languages (characters)
2
3 ;; Copyright (C) 1995,1999 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 1997 MORIOKA Tomohiko
6
7 ;; Keywords: multilingual, character set, coding system
8
9 ;; This file is part of XEmacs.
10
11 ;; XEmacs is free software; you can redistribute it and/or modify it
12 ;; under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
14 ;; any later version.
15
16 ;; XEmacs is distributed in the hope that it will be useful, but
17 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 ;; General Public License for more details.
20
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with XEmacs; see the file COPYING. If not, write to the Free
23 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
24 ;; 02111-1307, USA.
25
26 ;;; Code:
27
28 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
29 ;;; IPA (International Phonetic Alphabet)
30 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
31
32 (make-charset 'ipa "International Phonetic Alphabet"
33 '(registry "MuleIPA"
34 dimension 1
35 chars 96
36 final ?0
37 graphic 1
38 )) ; for XEmacs
39
40 (defun setup-ipa-environment ()
41 "Setup multilingual environment (MULE) for IPA."
42 (interactive)
43 (set-language-environment "IPA"))
44
45 (set-language-info-alist
46 "IPA" '((charset . (ipa))
47 (coding-priority iso-2022-7bit)
48 (coding-system iso-2022-7bit)
49 (input-method . "ipa")
50 (documentation . "\
51 IPA is International Phonetic Alphabet for English, French, German
52 and Italian.")))
53
54 ;;; misc-lang.el ends here