Mercurial > emacs
comparison src/coding.h @ 19279:3217a3ba8ef7
(CODING_FLAG_ISO_SAFE): New macro.
(CODING_INHIBIT_CHARACTER_SUBSTITUTION): New macro.
coding.h (safe_terminal_coding): Extern it.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Sun, 10 Aug 1997 04:13:19 +0000 |
parents | 0724276f0e01 |
children | dd1d7096f59d |
comparison
equal
deleted
inserted
replaced
19278:50f47ef6ce9a | 19279:3217a3ba8ef7 |
---|---|
133 | 133 |
134 /* If set, designation sequence should be placed at beginning of line | 134 /* If set, designation sequence should be placed at beginning of line |
135 on output. */ | 135 on output. */ |
136 #define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400 | 136 #define CODING_FLAG_ISO_DESIGNATE_AT_BOL 0x0400 |
137 | 137 |
138 /* If set, do not encode unexpected charactes on output. */ | |
139 #define CODING_FLAG_ISO_SAFE 0x0800 | |
140 | |
141 /* A character to be produced on output if encoding of the original | |
142 character is prohibited by CODING_FLAG_ISO_SAFE. */ | |
143 #define CODING_INHIBIT_CHARACTER_SUBSTITUTION 077 /* `?' */ | |
144 | |
138 /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ | 145 /* Structure of the field `spec.iso2022' in the structure `coding_system'. */ |
139 struct iso2022_spec | 146 struct iso2022_spec |
140 { | 147 { |
141 /* The current graphic register invoked to each graphic plane. */ | 148 /* The current graphic register invoked to each graphic plane. */ |
142 int current_invocation[2]; | 149 int current_invocation[2]; |
420 /* Coding-system to be used for encoding terminal output. This | 427 /* Coding-system to be used for encoding terminal output. This |
421 structure contains information of a coding-system specified by the | 428 structure contains information of a coding-system specified by the |
422 function `set-terminal-coding-system'. */ | 429 function `set-terminal-coding-system'. */ |
423 extern struct coding_system terminal_coding; | 430 extern struct coding_system terminal_coding; |
424 | 431 |
432 /* Coding system to be used to encode text for terminal display when | |
433 terminal coding system is nil. */ | |
434 extern struct coding_system safe_terminal_coding; | |
435 | |
425 /* Coding-system of what is sent from terminal keyboard. This | 436 /* Coding-system of what is sent from terminal keyboard. This |
426 structure contains information of a coding-system specified by the | 437 structure contains information of a coding-system specified by the |
427 function `set-keyboard-coding-system'. */ | 438 function `set-keyboard-coding-system'. */ |
428 extern struct coding_system keyboard_coding; | 439 extern struct coding_system keyboard_coding; |
429 | 440 |