aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa1997-05-12 07:00:09 +0000
committerKenichi Handa1997-05-12 07:00:09 +0000
commit580250aafde5aaec57bba9c71cb06454dc713b5a (patch)
tree9bab4af2a0f8ef139b38f53f9bf754d2e7bde9cb
parent164c39f77e27ecb7cf4c534e6974ac64a3933101 (diff)
downloademacs-580250aafde5aaec57bba9c71cb06454dc713b5a.tar.gz
emacs-580250aafde5aaec57bba9c71cb06454dc713b5a.zip
Make functions setup-LANGUAGE-environment
interactive and add new functions describe-LANGUAGE-support for all LANGUAGEs supported. Remove resisterations of input methods which use the function encoded-kbd-select-terminal. Typo in comment fixed.
-rw-r--r--lisp/language/european.el23
1 files changed, 18 insertions, 5 deletions
diff --git a/lisp/language/european.el b/lisp/language/european.el
index cef668b9d04..0dfd30565d7 100644
--- a/lisp/language/european.el
+++ b/lisp/language/european.el
@@ -69,23 +69,36 @@
69 '("quail-latin-5" quail-use-package "quail/latin")) 69 '("quail-latin-5" quail-use-package "quail/latin"))
70 70
71(defun setup-european-environment () 71(defun setup-european-environment ()
72 "Setup multilingual environment (MULE) for European languages users.
73It actually reset MULE to the default status, and
74set quail-latin-1 as the default input method to be selected.
75See also the documentation of setup-english-environment."
72 (setup-english-environment) 76 (setup-english-environment)
77 (setq default-input-method '("European" . "quail-latin-1")))
73 78
74 (setq default-input-method '("European" . "quail-latin-1")) 79(defun describe-european-support ()
75 ) 80 "Describe how Emacs support European languages."
81 (interactive)
82 (describe-language-support-internal "European"))
76 83
77(set-language-info-alist 84(set-language-info-alist
78 "European" '((setup-function . setup-european-environment) 85 "European" '((setup-function . setup-european-environment)
86 (describe-function . describe-european-support)
79 (charset . (ascii latin-iso8859-1 latin-iso8859-2 87 (charset . (ascii latin-iso8859-1 latin-iso8859-2
80 latin-iso8859-3 latin-iso8859-4 latin-iso8859-9)) 88 latin-iso8859-3 latin-iso8859-4 latin-iso8859-9))
81 (coding-system . (iso-8859-1 iso-8859-2 iso-8859-3 89 (coding-system . (iso-8859-1 iso-8859-2 iso-8859-3
82 iso-8859-4 iso-8859-9)) 90 iso-8859-4 iso-8859-9))
83 (documentation . t)
84 (sample-text 91 (sample-text
85 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!"))) 92 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
93 (documentation . "\
94Almost all of European languages are supported by the character sets and
95coding systems listed below.
96To input them, LEIM (Libraries for Emacs Input Methods) should have been
97installed.")
98 ))
86 99
87(let ((languages '("French" "German" "Spanish" "Italian" 100(let ((languages '("French" "German" "Spanish" "Italian"
88 ;; We have to list much more European langauges here. 101 ;; We have to list much more European languages here.
89 )) 102 ))
90 (val '("quail-latin-1" quail-use-package "quail/latin"))) 103 (val '("quail-latin-1" quail-use-package "quail/latin")))
91 (while languages 104 (while languages