comparison man/mule.texi @ 60800:06251e15fd5e

(Input Methods): Leim is now built-in. (Select Input Method): Document quail-show-key. (Specify Coding): Document revert-buffer-with-coding-system.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Mar 2005 18:54:00 +0000
parents 48aa868cde0b
children 3d8f9fc6a5e8 13796b0653c7
comparison
equal deleted inserted replaced
60799:bab476ff521c 60800:06251e15fd5e
437 most input methods---some disable this feature). If 437 most input methods---some disable this feature). If
438 @code{input-method-verbose-flag} is non-@code{nil}, the list of 438 @code{input-method-verbose-flag} is non-@code{nil}, the list of
439 possible characters to type next is displayed in the echo area (but 439 possible characters to type next is displayed in the echo area (but
440 not when you are in the minibuffer). 440 not when you are in the minibuffer).
441 441
442 @cindex Leim package
443 Input methods are implemented in the separate Leim package: they are
444 available only if the system administrator used Leim when building
445 Emacs. If Emacs was built without Leim, you will find that no input
446 methods are defined.
447
448 @node Select Input Method 442 @node Select Input Method
449 @section Selecting an Input Method 443 @section Selecting an Input Method
450 444
451 @table @kbd 445 @table @kbd
452 @item C-\ 446 @item C-\
525 Some input methods for alphabetic scripts work by (in effect) 519 Some input methods for alphabetic scripts work by (in effect)
526 remapping the keyboard to emulate various keyboard layouts commonly used 520 remapping the keyboard to emulate various keyboard layouts commonly used
527 for those scripts. How to do this remapping properly depends on your 521 for those scripts. How to do this remapping properly depends on your
528 actual keyboard layout. To specify which layout your keyboard has, use 522 actual keyboard layout. To specify which layout your keyboard has, use
529 the command @kbd{M-x quail-set-keyboard-layout}. 523 the command @kbd{M-x quail-set-keyboard-layout}.
524
525 @findex quail-show-key
526 You can use the command @kbd{M-x quail-show-key} to show what key
527 (or key sequence) to type in order to input the character following
528 point, using the selected keyboard layout.
530 529
531 @findex list-input-methods 530 @findex list-input-methods
532 To display a list of all the supported input methods, type @kbd{M-x 531 To display a list of all the supported input methods, type @kbd{M-x
533 list-input-methods}. The list gives information about each input 532 list-input-methods}. The list gives information about each input
534 method, including the string that stands for it in the mode line. 533 method, including the string that stands for it in the mode line.
901 900
902 @item C-x @key{RET} c @var{coding} @key{RET} 901 @item C-x @key{RET} c @var{coding} @key{RET}
903 Specify coding system @var{coding} for the immediately following 902 Specify coding system @var{coding} for the immediately following
904 command. 903 command.
905 904
905 @item C-x @key{RET} r @var{coding} @key{RET}
906 Revisit the current file using the coding system @var{coding}.
907
906 @item C-x @key{RET} k @var{coding} @key{RET} 908 @item C-x @key{RET} k @var{coding} @key{RET}
907 Use coding system @var{coding} for keyboard input. 909 Use coding system @var{coding} for keyboard input.
908 910
909 @item C-x @key{RET} t @var{coding} @key{RET} 911 @item C-x @key{RET} t @var{coding} @key{RET}
910 Use coding system @var{coding} for terminal output. 912 Use coding system @var{coding} for terminal output.
972 choice of coding system to use when you create a new file. It applies 974 choice of coding system to use when you create a new file. It applies
973 when you find a new file, and when you create a buffer and then save it 975 when you find a new file, and when you create a buffer and then save it
974 in a file. Selecting a language environment typically sets this 976 in a file. Selecting a language environment typically sets this
975 variable to a good choice of default coding system for that language 977 variable to a good choice of default coding system for that language
976 environment. 978 environment.
979
980 @kindex C-x RET r
981 @findex revert-buffer-with-coding-system
982 If you visit a file with a wrong coding system, you can correct this
983 with @kbd{C-x @key{RET} r} (@code{revert-buffer-with-coding-system}).
984 This visits the current file again, using a coding system you specify.
977 985
978 @kindex C-x RET t 986 @kindex C-x RET t
979 @findex set-terminal-coding-system 987 @findex set-terminal-coding-system
980 The command @kbd{C-x @key{RET} t} (@code{set-terminal-coding-system}) 988 The command @kbd{C-x @key{RET} t} (@code{set-terminal-coding-system})
981 specifies the coding system for terminal output. If you specify a 989 specifies the coding system for terminal output. If you specify a