comparison man/mule.texi @ 46236:b3a9c5fdc73a

keyboard-coding-system is initialized from the locale.
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Jul 2002 23:24:49 +0000
parents dfc0a989ae61
children 487968d71def
comparison
equal deleted inserted replaced
46235:3fade010f334 46236:b3a9c5fdc73a
990 specifies the coding system for keyboard input. Character-code 990 specifies the coding system for keyboard input. Character-code
991 translation of keyboard input is useful for terminals with keys that 991 translation of keyboard input is useful for terminals with keys that
992 send non-ASCII graphic characters---for example, some terminals designed 992 send non-ASCII graphic characters---for example, some terminals designed
993 for ISO Latin-1 or subsets of it. 993 for ISO Latin-1 or subsets of it.
994 994
995 By default, keyboard input is not translated at all. 995 By default, keyboard input is translated based on your system locale
996 setting. If your terminal does not really support the encoding
997 implied by your locale (for example, if you find it inserts a
998 non-ASCII character if you type @kbd{M-i}), you will need to set
999 @code{keyboard-coding-system} to @code{nil} to turn off encoding.
1000 You can do this by putting
1001
1002 @lisp
1003 (set-keyboard-coding-system nil)
1004 @end lisp
1005
1006 @noindent
1007 in your @file{~/.emacs} file.
996 1008
997 There is a similarity between using a coding system translation for 1009 There is a similarity between using a coding system translation for
998 keyboard input, and using an input method: both define sequences of 1010 keyboard input, and using an input method: both define sequences of
999 keyboard input that translate into single characters. However, input 1011 keyboard input that translate into single characters. However, input
1000 methods are designed to be convenient for interactive use by humans, and 1012 methods are designed to be convenient for interactive use by humans, and