(defun setup-czech-environment ()
"Setup multilingual environment (MULE) for Czech."
(interactive)
- (funcall (get-language-info "Latin-2" 'setup-function))
- (setq default-input-method "czech"))
+ (set-language-environment "Latin-2"))
(set-language-info-alist
- "Czech" '((setup-function . setup-czech-environment)
- (charset . (ascii latin-iso8859-2))
+ "Czech" '((charset . (ascii latin-iso8859-2))
(coding-system . (iso-8859-2))
(coding-priority . (iso-8859-2))
+ (input-method . "czech")
+ (nonascii-translation . latin-iso8859-2)
+ (unibyte-syntax . "latin-2")
+ (unibyte-display . iso-8859-2)
(tutorial . "TUTORIAL.cs")
(sample-text . "P\e,Bx\e(Bejeme v\e,Ba\e(Bm hezk\e,B}\e(B den!")
(documentation . t))
(defun setup-greek-environment ()
"Setup multilingual environment (MULE) for Greek."
(interactive)
- (setup-8-bit-environment "Greek" 'greek-iso8859-7 "greek-postfix"))
+ (set-language-environment "Greek"))
(set-language-info-alist
- "Greek" '((setup-function . setup-greek-environment)
- (charset . (greek-iso8859-7))
+ "Greek" '((charset . (greek-iso8859-7))
(coding-system . (greek-iso-8bit))
(coding-priority greek-iso-8bit)
- (sample-text . "Greek (\e,FGkk]mija\e(B) \e,FCei\\e(B \e,Fsar\e(B")
+ (nonascii-translation . greek-iso8859-7)
+ (input-method . "greek")
+ (unibyte-display . greek-iso-8bit)
(documentation . t)))
;;; greek.el ends here
"Setup multilingual environment (MULE) for Hebrew.
But, please note that right-to-left writing is not yet supported."
(interactive)
- (setup-8-bit-environment "Hebrew" 'hebrew-iso8859-8 "hebrew"))
+ (set-language-environment "Hebrew"))
(set-language-info-alist
- "Hebrew" '((setup-function . setup-hebrew-environment)
- (describe-function . describe-hebrew-support)
+ "Hebrew" '((describe-function . describe-hebrew-support)
(charset . (hebrew-iso8859-8))
(coding-priority hebrew-iso-8bit)
(coding-system . (hebrew-iso-8bit))
+ (nonascii-translation . hebrew-iso8859-8)
+ (input-method . "hebrew")
+ (unibyte-display . hebrew-iso-8bit)
(sample-text . "Hebrew \e,Hylem\e(B")
(documentation . "Right-to-left writing is not yet supported.")
))
(defun setup-ipa-environment ()
"Setup multilingual environment (MULE) for IPA."
(interactive)
- (setup-english-environment))
+ (set-language-environment "IPA"))
(set-language-info-alist
- "IPA" '((setup-function . setup-ipa-environment)
- (charset . (ipa))
+ "IPA" '((charset . (ipa))
(coding-priority iso-2022-7bit)
(coding-system iso-2022-7bit)
+ (input-method . "ipa")
+ (nonascii-translation . ipa)
+ (unibyte-display . iso-2022-7bit)
(documentation . "\
IPA is International Phonetic Alphabet for English, French, German
and Italian.")))
(defun setup-romanian-environment ()
"Setup multilingual environment (MULE) for Romanian."
(interactive)
- (setup-8-bit-environment "Romanian" 'latin-iso8859-2 "latin-2-postfix")
- (load "latin-2"))
+ (set-language-environment "Romanian"))
(set-language-info-alist
- "Romanian" '((setup-function . setup-romanian-environment)
- (charset . (ascii latin-iso8859-2))
+ "Romanian" '((charset . (ascii latin-iso8859-2))
(coding-system . (iso-8859-2))
(coding-priority . (iso-8859-2))
- (sample-text . "Bun\e-Aã\e-B ziua, bine a\e-Aþi\e-B venit!")
+ (nonascii-translation . latin-iso8859-2)
+ (input-method . "latin-2-postfix")
+ (unibyte-syntax . "latin-2")
+ (unibyte-display . iso-8859-2)
+ (sample-text . "Bunã ziua, bine aþi venit!")
(documentation . t))
'("European"))
(defun setup-slovak-environment ()
"Setup multilingual environment (MULE) for Slovak."
(interactive)
- (funcall (get-language-info "Latin-2" 'setup-function))
- (setq default-input-method "slovak"))
+ (set-language-environment "Slovak"))
(set-language-info-alist
- "Slovak" '((setup-function . setup-slovak-environment)
- (charset . (ascii latin-iso8859-2))
+ "Slovak" '((charset . (ascii latin-iso8859-2))
(coding-system . (iso-8859-2))
(coding-priority . (iso-8859-2))
+ (nonascii-translation . latin-iso8859-2)
+ (input-method . "slovak")
+ (unibyte-syntax . "latin-2")
+ (unibyte-display . iso-8859-2)
(sample-text . "Prajeme V\e,Ba\e(Bm pr\e,Bm\e(Bjemn\e,B}\e(B de\e,Br\e(B!")
(documentation . t))
'("European"))