+;; Enable inputting full-width space (U+3000).
+(eval-after-load "quail/Punct"
+ '(quail-defrule " " ?\e$A!!\e(B nil t))
+(eval-after-load "quail/Punct-b5"
+ '(quail-defrule " " ?\e$(0!!\e(B nil t))
+
+(autoload 'ucs-input-activate "quail/uni-input"
+ "Activate UCS input method.
+With arg, activate UCS input method if and only if arg is positive.
+
+While this input method is active, the variable
+`input-method-function' is bound to the function `ucs-input-method'.")
+
+(register-input-method "ucs" "UTF-8" 'ucs-input-activate "U+"
+ "Unicode input as hex in the form Uxxxx.")
+