(map:commit-preedit): Add SPC.
[m17n/m17n-db.git] / MIM / vi-base.mim
index be70111..b09a541 100644 (file)
@@ -1,5 +1,5 @@
 ;; vi-base.mim -- Provide bases for Vietnamese Input method
-;; Copyright (C) 2008
+;; Copyright (C) 2008, 2009
 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
 ;;   Registration Number H15PRO112
 
@@ -28,16 +28,16 @@ This is acutually not a standalone input method, but is expected
 to be included in the other Vietnamese input method (e.g. vi-telex, vi-vni).
 ")
 
-;;; Usage of variables:
-;;; M (mark): point after the last vowel
-;;; T (mark): point after the tone-mark-attached vowel
-;;; TPLACE: On which vowel a tone is attached (0:none, 1:1st, 2:2nd, or 3:3rd)
-;;; C: The initial consonant
-;;; V-1: The last vowel
-;;; V-2: The second from the last vowel (or 0 if there aren't two vowels)
-;;; V-3: The third from the last vowel (or 0 if there aren't three vowels)
-;;; C-AFTER-V: Number of the final consonants
-;;; SELECT: Which tone is selected
+;; Usage of variables:
+;; M (mark): point after the last vowel
+;; T (mark): point after the tone-mark-attached vowel
+;; TPLACE: On which vowel a tone is attached (0:none, 1:1st, 2:2nd, or 3:3rd)
+;; C: The initial consonant
+;; V-1: The last vowel
+;; V-2: The second from the last vowel (or 0 if there aren't two vowels)
+;; V-3: The third from the last vowel (or 0 if there aren't three vowels)
+;; C-AFTER-V: Number of the final consonants
+;; SELECT: Which tone is selected
 
 (macro
  (handle-mark
@@ -121,6 +121,12 @@ to be included in the other Vietnamese input method (e.g. vi-telex, vi-vni).
   ("0" ?0) ("1" ?1) ("2" ?2) ("3" ?3) ("4" ?4)
   ("5" ?5) ("6" ?6) ("7" ?7) ("8" ?8) ("9" ?9))
 
+ (smart-quotes
+   ("'" ?\')
+   ("''" "‘’")
+   ("\"" ?\")
+   ("\"\"" "“”"))
+
  (permanent-escape
   ("\\"))