"Cyrillic" '("quail-yawerty" quail-use-package "quail/cyrillic"))
(defun setup-cyrillic-environment ()
+ "Setup multilingual environment for Cyrillic users."
+ (interactive)
(setq primary-language "Cyrillic")
(setq coding-category-iso-8-1 'iso-8859-5)
(setq default-input-method '("Cyrillic" . "quail-yawerty"))
)
+(defun describe-cyrillic-support ()
+ "Describe how Emacs support Cyrillic."
+ (interactive)
+ (describe-language-support-internal "Cyrillic"))
+
(set-language-info-alist
"Cyrillic" '((setup-function . setup-cyrillic-environment)
+ (describe-function . describe-cyrillic-support)
(charset . (cyrillic-iso8859-5))
(coding-system . (iso-8859-5 koi8 alternativnyj))
- (documentation . t)
- (sample-text . "Russian (\e,L@caaZXY\e(B) \e,L7T`PRabRcYbU\e(B!")))
+ (sample-text . "Russian (\e,L@caaZXY\e(B) \e,L7T`PRabRcYbU\e(B!")
+ (documentation . nil)))
;;; cyrillic.el ends here
(register-input-method
"Ethiopic" '("quail-ethio" quail-use-package "quail/ethiopic"))
-(defun setup-ethio-environment ()
+(defun setup-ethiopic-environment ()
+ "Setup multilingual environment for Ethiopic."
+ (interactive)
(setq primary-language "Ethiopic")
(setq default-input-method '("Ethiopic" . "quail-ethio"))
(define-key mail-mode-map [C-f5] 'fidel-to-sera-mail)))
)
+(defun describe-ethiopic-support ()
+ "Describe how Emacs supports Ethiopic."
+ (interactive)
+ (describe-language-support-internal "Ethiopic"))
+
(set-language-info-alist
- "Ethiopic" '((setup-function . setup-ethio-environment)
+ "Ethiopic" '((setup-function . setup-ethiopic-environment)
+ (describe-function . describe-ethiopic-support)
(charset . (ethiopic))
- (documentation . t)
- (sample-text . "\e$(3$O#U!.\e(B")))
+ (sample-text . "\e$(3$O#U!.\e(B")
+ (documentation . nil)))
;;; ethiopic.el ends here
"Greek" '("quail-greek" quail-use-package "quail/greek"))
(defun setup-greek-environment ()
+ "Setup multilingual environment (MULE) for Greek."
+ (interactive)
(setq coding-category-iso-8-1 'iso-8859-7)
(set-coding-priority
(setq default-input-method '("Greek" . "quail-greek"))
)
+(defun describe-greek-support ()
+ "Describe how Emacs supports Greek."
+ (interactive)
+ (describe-language-support-internal "Greek"))
+
(set-language-info-alist
"Greek" '((setup-function . setup-greek-environment)
+ (describe-function. describe-greek-support)
(charset . (greek-iso8859-7))
(coding-system . (iso-8859-7))
- (documentation . t)
- (sample-text . "Greek (\e,FGkk]mija\e(B) \e,FCei\\e(B \e,Fsar\e(B")))
+ (sample-text . "Greek (\e,FGkk]mija\e(B) \e,FCei\\e(B \e,Fsar\e(B")
+ (documentation . nil)))
;;; greek.el ends here
"Hebrew" '("quail-hebrew" quail-use-package "quail/hebrew"))
(defun setup-hebrew-environment ()
+ "Setup multilingual environment (MULE) for Hebrew.
+But, please note that right-to-left writing is not yet supported."
+ (interactive)
(setq coding-category-iso-8-1 'iso-8859-8)
(set-coding-priority
(setq default-input-method '("Hebrew" . "quail-hebrew"))
)
+(defun describe-hebrew-support ()
+ "Describe how Emacs supports Hebrew."
+ (interactive)
+ (describe-language-support-internal "Hebrew"))
+
(set-language-info-alist
"Hebrew" '((setup-function . setup-hebrew-environment)
+ (describe-function . describe-hebrew-support)
(charset . (hebrew-iso8859-8))
(coding-system . (iso-8859-8))
- (documentation . "Right-to-left writing is Not yet supported")
- (sample-text . "Hebrew \e,Hylem\e(B")))
+ (sample-text . "Hebrew \e,Hylem\e(B")
+ (documentation . "Right-to-left writing is not yet supported.")))
;;; hebew.el ends here
;;; Code:
+(defun describe-indian-support ()
+ "Describe how Emacs support Indian languages."
+ (interactive)
+ (describe-language-support-internal "Indian"))
+
+(set-language-info-alist
+ "Indian" '((describe-function . describe-indian-support)
+ (charset . (indian-is13194))
+ (documentation . "\
+Among Indian languages, such languages using Devanagari scripts as
+Hindi and Marathi are supproted. For them, please specify Devanagari
+for more detail.")
+ ))
+
;; Followings are what you see when you refer to the Emacs
;; representations of IS 13194 charcters. However, this is merely
;; tentative apperance, and you must convert them by
"Lao" '("quail-lrt" quail-use-package "quail/lrt"))
(defun setup-lao-environment ()
+ "Setup multilingual environment (MULE) for Lao."
+ (interactive)
+ (setup-english-environment)
(setq coding-category-iso-8-1 'lao)
(set-coding-priority
(setq default-input-method '("Lao" . "quail-lao")))
+(defun describe-lao-support ()
+ "Describe how Emacs supports Lao."
+ (interactive)
+ (describe-language-support-internal "Lao"))
+
(set-language-info-alist
"Lao" '((setup-function . setup-lao-environment)
+ (describe-function . describe-lao-support)
(charset . (lao))
(coding-system . (lao))
- (documentation . t)
- (sample-text . "Lao(\e(1>RJRERG\e(B) \e(1JP:R-\e04U\e1\e(B, \e0\e(1"i\e1M-`\e0;Q\e19\e0$[\e19ERG\e(B")))
+ (sample-text . "Lao(\e(1>RJRERG\e(B) \e(1JP:R-\e04U\e1\e(B, \e0\e(1"i\e1M-`\e0;Q\e19\e0$[\e19ERG\e(B")
+ (documentation . nil)))
(aset use-default-ascent ?\e(1;\e(B t)
(aset use-default-ascent ?\e(1=\e(B t)
"Thai" '("quail-thai" quail-use-package "quail/thai"))
(defun setup-thai-environment ()
+ "Setup multilingual environment (MULE) for Thai."
+ (interactive)
+ (setup-english-environment)
(setq coding-category-iso-8-1 'th-tis620)
(set-coding-priority
(setq default-input-method '("Thai" . "quail-thai"))
)
+(defun describe-thai-support ()
+ "Describe how Emacs supports Thai."
+ (interactive)
+ (describe-language-support-internal "Thai"))
+
(set-language-info-alist
"Thai" '((tutorial . "TUTORIAL.th")
(setup-function . setup-thai-environment)
+ (describe-function . describe-thai-support)
(charset . (thai-tis620))
(coding-system . (th-tis620))
- (documentation . t)
- (sample-text . "Thai (\e,T@RIRd7B\e(B) \e,TJ\e0GQ\e1J\e04U\e1$\e0CQ\e1:\e(B, \e,TJ\e0GQ\e1J\e04U\e1\e0$h\e1P\e(B")))
+ (sample-text . "Thai (\e,T@RIRd7B\e(B) \e,TJ\e0GQ\e1J\e04U\e1$\e0CQ\e1:\e(B, \e,TJ\e0GQ\e1J\e04U\e1\e0$h\e1P\e(B")
+ (documentation . nil)))
;;; thai.el ends here
(register-input-method
"Vietnamese" '("quail-viqr" quail-use-package "quail/viqr"))
-(defun setup-viet-environment ()
+(defun setup-vietnamese-environment ()
+ "Setup multilingual environment (MULE) for Vietnamese."
+ (interactive)
;; for VISCII users
(setq coding-category-binary 'viscii)
(setq default-input-method '("Vietnamese" . "quail-viqr"))
)
+(defun describe-vietnamese-support ()
+ "Describe how Emacs supports Vietnamese."
+ (interactive)
+ (describe-language-support-internal "Vietnamese"))
+
(set-language-info-alist
- "Vietnamese" '((setup-function . setup-viet-environment)
+ "Vietnamese" '((setup-function . setup-vietnamese-environment)
+ (describe-function . describe-vietnamese-support)
(charset . (vietnamese-viscii-lower
vietnamese-viscii-upper))
(coding-system . (viscii vscii viqr))
- (documentation . t)
- (sample-text . "Vietnamese (Ti\e,1*\e(Bng Vi\e,1.\e(Bt) Ch\e,1`\e(Bo b\e,1U\e(Bn")))
+ (sample-text . "Vietnamese (Ti\e,1*\e(Bng Vi\e,1.\e(Bt) Ch\e,1`\e(Bo b\e,1U\e(Bn")
+ (documentation . nil)))
;;; vietnamese.el ends here