]> code.delx.au - gnu-emacs/blobdiff - doc/emacs/mule.texi
Merge from emacs--rel--22
[gnu-emacs] / doc / emacs / mule.texi
similarity index 98%
rename from man/mule.texi
rename to doc/emacs/mule.texi
index 22f102106fd8ceaee9aef78ec685ba9f7a6fc027..a5d4e4620071c7fb0f37e296e2d7261e8825abbc 100644 (file)
@@ -536,6 +536,18 @@ set-language-environment-hook}).  For example:
 This sets the default input method to be @code{chinese-tonepy}
 whenever you choose a Chinese-GB language environment.
 
+You can instruct Emacs to activate a certain input method
+automatically.  For example:
+
+@lisp
+(add-hook 'text-mode-hook
+  (lambda () (set-input-method "german-prefix")))
+@end lisp
+
+@noindent
+This activates the input emthod ``german-prefix'' automatically in the
+Text mode.
+
 @findex quail-set-keyboard-layout
   Some input methods for alphabetic scripts work by (in effect)
 remapping the keyboard to emulate various keyboard layouts commonly used
@@ -1076,6 +1088,20 @@ you override it by using the command again.  The command @kbd{C-x
 @key{RET} X} (@code{set-next-selection-coding-system}) specifies the
 coding system for the next selection made in Emacs or read by Emacs.
 
+@vindex x-select-request-type
+  The variable @code{x-select-request-type} specifies the data type to
+request from the X Window System for receiving text selections from
+other applications.  If the value is @code{nil} (the default), Emacs
+tries @code{COMPOUND_TEXT} and @code{UTF8_STRING}, in this order, and
+uses various heuristics to choose the more appropriate of the two
+results; if none of these succeed, Emacs falls back on @code{STRING}.
+If the value of @code{x-select-request-type} is one of the symbols
+@code{COMPOUND_TEXT}, @code{UTF8_STRING}, @code{STRING}, or
+@code{TEXT}, Emacs uses only that request type.  If the value is a
+list of some of these symbols, Emacs tries only the request types in
+the list, in order, until one of them succeeds, or until the list is
+exhausted.
+
 @kindex C-x RET p
 @findex set-buffer-process-coding-system
   The command @kbd{C-x @key{RET} p} (@code{set-buffer-process-coding-system})