Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f967223b
Commit
f967223b
authored
May 22, 1998
by
Kenichi Handa
Browse files
Change term "character translation table" to "translation table".
parent
537efd8d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
80 additions
and
91 deletions
+80
-91
lisp/international/ccl.el
lisp/international/ccl.el
+4
-5
lisp/international/mule-conf.el
lisp/international/mule-conf.el
+4
-4
lisp/international/mule-util.el
lisp/international/mule-util.el
+2
-2
lisp/international/mule.el
lisp/international/mule.el
+20
-22
src/ccl.c
src/ccl.c
+3
-5
src/coding.c
src/coding.c
+43
-49
src/coding.h
src/coding.h
+4
-4
No files found.
lisp/international/ccl.el
View file @
f967223b
...
@@ -882,9 +882,8 @@
...
@@ -882,9 +882,8 @@
(
ccl-check-register
rrr
cmd
)
(
ccl-check-register
rrr
cmd
)
(
ccl-check-register
RRR
cmd
)
(
ccl-check-register
RRR
cmd
)
(
cond
((
symbolp
Rrr
)
(
cond
((
symbolp
Rrr
)
(
if
(
not
(
get
Rrr
'character-translation-table
))
(
if
(
not
(
get
Rrr
'translation-table
))
(
error
"CCL: Invalid character translation table %s in %s"
(
error
"CCL: Invalid translation table %s in %s"
Rrr
cmd
))
Rrr
cmd
))
(
ccl-embed-extended-command
'translate-character-const-tbl
(
ccl-embed-extended-command
'translate-character-const-tbl
rrr
RRR
0
)
rrr
RRR
0
)
(
ccl-embed-data
Rrr
))
(
ccl-embed-data
Rrr
))
...
@@ -1241,11 +1240,11 @@
...
@@ -1241,11 +1240,11 @@
(
insert
(
format
"write-multibyte-character r%d r%d\n"
RRR
rrr
)))
(
insert
(
format
"write-multibyte-character r%d r%d\n"
RRR
rrr
)))
(
defun
ccl-dump-translate-character
(
rrr
RRR
Rrr
)
(
defun
ccl-dump-translate-character
(
rrr
RRR
Rrr
)
(
insert
(
format
"
character
translation table(r%d) r%d r%d\n"
Rrr
RRR
rrr
)))
(
insert
(
format
"translation table(r%d) r%d r%d\n"
Rrr
RRR
rrr
)))
(
defun
ccl-dump-translate-character-const-tbl
(
rrr
RRR
Rrr
)
(
defun
ccl-dump-translate-character-const-tbl
(
rrr
RRR
Rrr
)
(
let
((
tbl
(
ccl-get-next-code
)))
(
let
((
tbl
(
ccl-get-next-code
)))
(
insert
(
format
"
character
translation table(%d) r%d r%d\n"
tbl
RRR
rrr
))))
(
insert
(
format
"translation table(%d) r%d r%d\n"
tbl
RRR
rrr
))))
(
defun
ccl-dump-iterate-multiple-map
(
rrr
RRR
Rrr
)
(
defun
ccl-dump-iterate-multiple-map
(
rrr
RRR
Rrr
)
(
let
((
notbl
(
ccl-get-next-code
))
(
let
((
notbl
(
ccl-get-next-code
))
...
...
lisp/international/mule-conf.el
View file @
f967223b
...
@@ -197,16 +197,16 @@
...
@@ -197,16 +197,16 @@
;; These are tables for translating characters on decoding and
;; These are tables for translating characters on decoding and
;; encoding.
;; encoding.
(
define-
character-
translation-table
(
define-translation-table
'oldjis-newjis-jisroman-ascii
'oldjis-newjis-jisroman-ascii
(
list
(
cons
(
make-char
'japanese-jisx0208-1978
)
(
list
(
cons
(
make-char
'japanese-jisx0208-1978
)
(
make-char
'japanese-jisx0208
))
(
make-char
'japanese-jisx0208
))
(
cons
(
make-char
'latin-jisx0201
)
(
make-char
'ascii
))))
(
cons
(
make-char
'latin-jisx0201
)
(
make-char
'ascii
))))
(
setq
standard-
character-
translation-table-for-decode
(
setq
standard-translation-table-for-decode
(
get
'oldjis-newjis-jisroman-ascii
'
character-
translation-table
))
(
get
'oldjis-newjis-jisroman-ascii
'translation-table
))
(
setq
standard-
character-
translation-table-for-encode
nil
)
(
setq
standard-translation-table-for-encode
nil
)
;;; Make fundamental coding systems.
;;; Make fundamental coding systems.
...
...
lisp/international/mule-util.el
View file @
f967223b
...
@@ -233,12 +233,12 @@ Optional 3rd argument NIL-FOR-TOO-LONG non-nil means return nil
...
@@ -233,12 +233,12 @@ Optional 3rd argument NIL-FOR-TOO-LONG non-nil means return nil
;;;###autoload
;;;###autoload
(
defun
coding-system-translation-table-for-decode
(
coding-system
)
(
defun
coding-system-translation-table-for-decode
(
coding-system
)
"Return the value of CODING-SYSTEM's translation-table-for-decode property."
"Return the value of CODING-SYSTEM's translation-table-for-decode property."
(
coding-system-get
coding-system
'
character-
translation-table-for-decode
))
(
coding-system-get
coding-system
'translation-table-for-decode
))
;;;###autoload
;;;###autoload
(
defun
coding-system-translation-table-for-encode
(
coding-system
)
(
defun
coding-system-translation-table-for-encode
(
coding-system
)
"Return the value of CODING-SYSTEM's translation-table-for-encode property."
"Return the value of CODING-SYSTEM's translation-table-for-encode property."
(
coding-system-get
coding-system
'
character-
translation-table-for-encode
))
(
coding-system-get
coding-system
'translation-table-for-encode
))
(
defun
coding-system-lessp
(
x
y
)
(
defun
coding-system-lessp
(
x
y
)
(
cond
((
eq
x
'no-conversion
)
t
)
(
cond
((
eq
x
'no-conversion
)
t
)
...
...
lisp/international/mule.el
View file @
f967223b
...
@@ -328,16 +328,15 @@ See also the documentation of make-char."
...
@@ -328,16 +328,15 @@ See also the documentation of make-char."
;; in `write-region-annotate-functions', i.e. FROM and TO specifying
;; in `write-region-annotate-functions', i.e. FROM and TO specifying
;; region of a text.
;; region of a text.
;;
;;
;; o
character-
translation-table-for-decode
;; o translation-table-for-decode
;;
;;
;; The value is a
character
translation table to be applied on
;; The value is a translation table to be applied on
decoding. See
;;
decoding. See
the function `make-translation-table' for the format
;; the function `make-translation-table' for the format
of translation
;;
of translation
table.
;; table.
;;
;;
;; o
character-
translation-table-for-encode
;; o translation-table-for-encode
;;
;;
;; The value is a character translation table to be applied on
;; The value is a translation table to be applied on encoding.
;; encoding.
;;
;;
;; o safe-charsets
;; o safe-charsets
;;
;;
...
@@ -987,7 +986,7 @@ or a function symbol which, when called, returns such a cons cell."
...
@@ -987,7 +986,7 @@ or a function symbol which, when called, returns such a cons cell."
network-coding-system-alist
)))))))
network-coding-system-alist
)))))))
(
defun
make-translation-table
(
&rest
args
)
(
defun
make-translation-table
(
&rest
args
)
"Make a
character
translation table (char table) from arguments.
"Make a translation table (char table) from arguments.
Each argument is a list of the form (FROM . TO),
Each argument is a list of the form (FROM . TO),
where FROM is a character to be translated to TO.
where FROM is a character to be translated to TO.
...
@@ -996,7 +995,7 @@ a generic character containing the same number of charcters or a
...
@@ -996,7 +995,7 @@ a generic character containing the same number of charcters or a
oridinal character. If FROM and TO are both generic characters, all
oridinal character. If FROM and TO are both generic characters, all
characters belonging to FROM are translated to characters belonging to TO
characters belonging to FROM are translated to characters belonging to TO
without changing their position code(s)."
without changing their position code(s)."
(
let
((
table
(
make-char-table
'
character-
translation-table
))
(
let
((
table
(
make-char-table
'translation-table
))
revlist
)
revlist
)
(
while
args
(
while
args
(
let
((
elts
(
car
args
)))
(
let
((
elts
(
car
args
)))
...
@@ -1045,33 +1044,32 @@ without changing their position code(s)."
...
@@ -1045,33 +1044,32 @@ without changing their position code(s)."
;; Return TABLE just created.
;; Return TABLE just created.
table
))
table
))
(
defun
define-
character-
translation-table
(
symbol
&rest
args
)
(
defun
define-translation-table
(
symbol
&rest
args
)
"Define SYMBOL as a name of
character
translation table makde by ARGS.
"Define SYMBOL as a name of translation table makde by ARGS.
See the documentation of the function `make-translation-table' for the
See the documentation of the function `make-translation-table' for the
meaning of ARGS.
meaning of ARGS.
This function sets properties
character-
translation-table and
This function sets properties translation-table and
character-
translation-table-id of SYMBOL to the created table itself
translation-table-id of SYMBOL to the created table itself
and
and
identification number of the table respectively."
identification number of the table respectively."
(
let
((
table
(
apply
'make-translation-table
args
))
(
let
((
table
(
apply
'make-translation-table
args
))
(
len
(
length
character-
translation-table-vector
))
(
len
(
length
translation-table-vector
))
(
id
0
)
(
id
0
)
(
done
nil
))
(
done
nil
))
(
put
symbol
'
character-
translation-table
table
)
(
put
symbol
'translation-table
table
)
(
while
(
not
done
)
(
while
(
not
done
)
(
if
(
>=
id
len
)
(
if
(
>=
id
len
)
(
setq
character-translation-table-vector
(
setq
translation-table-vector
(
vconcat
character-translation-table-vector
(
vconcat
translation-table-vector
(
make-vector
len
nil
))))
(
make-vector
len
nil
))))
(
let
((
slot
(
aref
translation-table-vector
id
)))
(
let
((
slot
(
aref
character-translation-table-vector
id
)))
(
if
(
or
(
not
slot
)
(
if
(
or
(
not
slot
)
(
eq
(
car
slot
)
symbol
))
(
eq
(
car
slot
)
symbol
))
(
progn
(
progn
(
aset
character-
translation-table-vector
id
(
cons
symbol
table
))
(
aset
translation-table-vector
id
(
cons
symbol
table
))
(
setq
done
t
))))
(
setq
done
t
))))
(
setq
id
(
1+
id
)))
(
setq
id
(
1+
id
)))
(
put
symbol
'
character-
translation-table-id
id
)
(
put
symbol
'translation-table-id
id
)
id
))
id
))
;;; Initialize some variables.
;;; Initialize some variables.
...
...
src/ccl.c
View file @
f967223b
...
@@ -442,8 +442,7 @@ Lisp_Object Vccl_program_table;
...
@@ -442,8 +442,7 @@ Lisp_Object Vccl_program_table;
1:ExtendedCOMMNDRrrRRRrrrXXXXX */
1:ExtendedCOMMNDRrrRRRrrrXXXXX */
/* Translate a character whose code point is reg[rrr] and the charset
/* Translate a character whose code point is reg[rrr] and the charset
ID is reg[RRR] by a character translation table whose ID is
ID is reg[RRR] by a translation table whose ID is reg[Rrr].
reg[Rrr].
A translated character is set in reg[rrr] (code point) and reg[RRR]
A translated character is set in reg[rrr] (code point) and reg[RRR]
(charset ID). */
(charset ID). */
...
@@ -452,8 +451,7 @@ Lisp_Object Vccl_program_table;
...
@@ -452,8 +451,7 @@ Lisp_Object Vccl_program_table;
1:ExtendedCOMMNDRrrRRRrrrXXXXX */
1:ExtendedCOMMNDRrrRRRrrrXXXXX */
/* Translate a character whose code point is reg[rrr] and the charset
/* Translate a character whose code point is reg[rrr] and the charset
ID is reg[RRR] by a character translation table whose ID is
ID is reg[RRR] by a translation table whose ID is ARGUMENT.
ARGUMENT.
A translated character is set in reg[rrr] (code point) and reg[RRR]
A translated character is set in reg[rrr] (code point) and reg[RRR]
(charset ID). */
(charset ID). */
...
@@ -1633,7 +1631,7 @@ resolve_symbol_ccl_program (ccl)
...
@@ -1633,7 +1631,7 @@ resolve_symbol_ccl_program (ccl)
if
(
EQ
(
result
,
ccl
))
if
(
EQ
(
result
,
ccl
))
result
=
Fcopy_sequence
(
ccl
);
result
=
Fcopy_sequence
(
ccl
);
prop
=
Fget
(
contents
,
Q
character_
translation_table_id
);
prop
=
Fget
(
contents
,
Qtranslation_table_id
);
if
(
NUMBERP
(
prop
))
if
(
NUMBERP
(
prop
))
{
{
XVECTOR
(
result
)
->
contents
[
i
]
=
prop
;
XVECTOR
(
result
)
->
contents
[
i
]
=
prop
;
...
...
src/coding.c
View file @
f967223b
...
@@ -367,18 +367,18 @@ char *coding_category_name[CODING_CATEGORY_IDX_MAX] = {
...
@@ -367,18 +367,18 @@ char *coding_category_name[CODING_CATEGORY_IDX_MAX] = {
categories. */
categories. */
struct coding_system *coding_system_table[CODING_CATEGORY_IDX_MAX];
struct coding_system *coding_system_table[CODING_CATEGORY_IDX_MAX];
/* Flag to tell if we look up
character
translation table on character
/* Flag to tell if we look up translation table on character
code
code
conversion. */
conversion. */
Lisp_Object Venable_character_translation;
Lisp_Object Venable_character_translation;
/* Standard
character
translation table to look up on decoding (reading). */
/* Standard translation table to look up on decoding (reading). */
Lisp_Object Vstandard_
character_
translation_table_for_decode;
Lisp_Object Vstandard_translation_table_for_decode;
/* Standard
character
translation table to look up on encoding (writing). */
/* Standard translation table to look up on encoding (writing). */
Lisp_Object Vstandard_
character_
translation_table_for_encode;
Lisp_Object Vstandard_translation_table_for_encode;
Lisp_Object Q
character_
translation_table;
Lisp_Object Qtranslation_table;
Lisp_Object Q
character_
translation_table_id;
Lisp_Object Qtranslation_table_id;
Lisp_Object Q
character_
translation_table_for_decode;
Lisp_Object Qtranslation_table_for_decode;
Lisp_Object Q
character_
translation_table_for_encode;
Lisp_Object Qtranslation_table_for_encode;
/* Alist of charsets vs revision number. */
/* Alist of charsets vs revision number. */
Lisp_Object Vcharset_revision_alist;
Lisp_Object Vcharset_revision_alist;
...
@@ -1010,11 +1010,11 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
...
@@ -1010,11 +1010,11 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
int charset0 = CODING_SPEC_ISO_PLANE_CHARSET (coding, 0);
int charset0 = CODING_SPEC_ISO_PLANE_CHARSET (coding, 0);
int charset1 = CODING_SPEC_ISO_PLANE_CHARSET (coding, 1);
int charset1 = CODING_SPEC_ISO_PLANE_CHARSET (coding, 1);
Lisp_Object translation_table
Lisp_Object translation_table
= coding->
character_
translation_table_for_decode;
= coding->translation_table_for_decode;
int result = CODING_FINISH_NORMAL;
int result = CODING_FINISH_NORMAL;
if (!NILP (Venable_character_translation) && NILP (translation_table))
if (!NILP (Venable_character_translation) && NILP (translation_table))
translation_table = Vstandard_
character_
translation_table_for_decode;
translation_table = Vstandard_translation_table_for_decode;
coding->produced_char = 0;
coding->produced_char = 0;
coding->fake_multibyte = 0;
coding->fake_multibyte = 0;
...
@@ -1758,11 +1758,11 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
...
@@ -1758,11 +1758,11 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
head of loop. */
head of loop. */
unsigned char *adjusted_dst_end = dst_end - 19;
unsigned char *adjusted_dst_end = dst_end - 19;
Lisp_Object translation_table
Lisp_Object translation_table
= coding->
character_
translation_table_for_encode;
= coding->translation_table_for_encode;
int result = CODING_FINISH_NORMAL;
int result = CODING_FINISH_NORMAL;
if (!NILP (Venable_character_translation) && NILP (translation_table))
if (!NILP (Venable_character_translation) && NILP (translation_table))
translation_table = Vstandard_
character_
translation_table_for_encode;
translation_table = Vstandard_translation_table_for_encode;
coding->consumed_char = 0;
coding->consumed_char = 0;
coding->fake_multibyte = 0;
coding->fake_multibyte = 0;
...
@@ -2175,11 +2175,11 @@ decode_coding_sjis_big5 (coding, source, destination,
...
@@ -2175,11 +2175,11 @@ decode_coding_sjis_big5 (coding, source, destination,
head of loop. */
head of loop. */
unsigned char *adjusted_dst_end = dst_end - 3;
unsigned char *adjusted_dst_end = dst_end - 3;
Lisp_Object translation_table
Lisp_Object translation_table
= coding->
character_
translation_table_for_decode;
= coding->translation_table_for_decode;
int result = CODING_FINISH_NORMAL;
int result = CODING_FINISH_NORMAL;
if (!NILP (Venable_character_translation) && NILP (translation_table))
if (!NILP (Venable_character_translation) && NILP (translation_table))
translation_table = Vstandard_
character_
translation_table_for_decode;
translation_table = Vstandard_translation_table_for_decode;
coding->produced_char = 0;
coding->produced_char = 0;
coding->fake_multibyte = 0;
coding->fake_multibyte = 0;
...
@@ -2364,11 +2364,11 @@ encode_coding_sjis_big5 (coding, source, destination,
...
@@ -2364,11 +2364,11 @@ encode_coding_sjis_big5 (coding, source, destination,
head of loop. */
head of loop. */
unsigned char *adjusted_dst_end = dst_end - 1;
unsigned char *adjusted_dst_end = dst_end - 1;
Lisp_Object translation_table
Lisp_Object translation_table
= coding->
character_
translation_table_for_encode;
= coding->translation_table_for_encode;
int result = CODING_FINISH_NORMAL;
int result = CODING_FINISH_NORMAL;
if (!NILP (Venable_character_translation) && NILP (translation_table))
if (!NILP (Venable_character_translation) && NILP (translation_table))
translation_table = Vstandard_
character_
translation_table_for_encode;
translation_table = Vstandard_translation_table_for_encode;
coding->consumed_char = 0;
coding->consumed_char = 0;
coding->fake_multibyte = 0;
coding->fake_multibyte = 0;
...
@@ -2816,26 +2816,23 @@ setup_coding_system (coding_system, coding)
...
@@ -2816,26 +2816,23 @@ setup_coding_system (coding_system, coding)
/* Initialize remaining fields. */
/* Initialize remaining fields. */
coding->composing = 0;
coding->composing = 0;
coding->
character_
translation_table_for_decode = Qnil;
coding->translation_table_for_decode = Qnil;
coding->
character_
translation_table_for_encode = Qnil;
coding->translation_table_for_encode = Qnil;
/* Get values of coding system properties:
/* Get values of coding system properties:
`post-read-conversion', `pre-write-conversion',
`post-read-conversion', `pre-write-conversion',
`character-translation-table-for-decode',
`translation-table-for-decode', `translation-table-for-encode'. */
`character-translation-table-for-encode'. */
plist = XVECTOR (coding_spec)->contents[3];
plist = XVECTOR (coding_spec)->contents[3];
coding->post_read_conversion = Fplist_get (plist, Qpost_read_conversion);
coding->post_read_conversion = Fplist_get (plist, Qpost_read_conversion);
coding->pre_write_conversion = Fplist_get (plist, Qpre_write_conversion);
coding->pre_write_conversion = Fplist_get (plist, Qpre_write_conversion);
val = Fplist_get (plist, Q
character_
translation_table_for_decode);
val = Fplist_get (plist, Qtranslation_table_for_decode);
if (SYMBOLP (val))
if (SYMBOLP (val))
val = Fget (val, Qcharacter_translation_table_for_decode);
val = Fget (val, Qtranslation_table_for_decode);
coding->character_translation_table_for_decode
coding->translation_table_for_decode = CHAR_TABLE_P (val) ? val : Qnil;
= CHAR_TABLE_P (val) ? val : Qnil;
val = Fplist_get (plist, Qtranslation_table_for_encode);
val = Fplist_get (plist, Qcharacter_translation_table_for_encode);
if (SYMBOLP (val))
if (SYMBOLP (val))
val = Fget (val, Qcharacter_translation_table_for_encode);
val = Fget (val, Qtranslation_table_for_encode);
coding->character_translation_table_for_encode
coding->translation_table_for_encode = CHAR_TABLE_P (val) ? val : Qnil;
= CHAR_TABLE_P (val) ? val : Qnil;
val = Fplist_get (plist, Qcoding_category);
val = Fplist_get (plist, Qcoding_category);
if (!NILP (val))
if (!NILP (val))
{
{
...
@@ -5140,21 +5137,18 @@ syms_of_coding ()
...
@@ -5140,21 +5137,18 @@ syms_of_coding ()
}
}
}
}
Qcharacter_translation_table = intern ("character-translation-table");
Qtranslation_table = intern ("translation-table");
staticpro (&Qcharacter_translation_table);
staticpro (&Qtranslation_table);
Fput (Qcharacter_translation_table, Qchar_table_extra_slots,
Fput (Qtranslation_table, Qchar_table_extra_slots, make_number (0));
make_number (0));
Q
character_
translation_table_id = intern ("
character-
translation-table-id");
Qtranslation_table_id = intern ("translation-table-id");
staticpro (&Q
character_
translation_table_id);
staticpro (&Qtranslation_table_id);
Qcharacter_translation_table_for_decode
Qtranslation_table_for_decode = intern ("translation-table-for-decode");
= intern ("character-translation-table-for-decode");
staticpro (&Qtranslation_table_for_decode);
staticpro (&Qcharacter_translation_table_for_decode);
Qcharacter_translation_table_for_encode
Qtranslation_table_for_encode = intern ("translation-table-for-encode");
= intern ("character-translation-table-for-encode");
staticpro (&Qtranslation_table_for_encode);
staticpro (&Qcharacter_translation_table_for_encode);
Qsafe_charsets = intern ("safe-charsets");
Qsafe_charsets = intern ("safe-charsets");
staticpro (&Qsafe_charsets);
staticpro (&Qsafe_charsets);
...
@@ -5312,18 +5306,18 @@ See also the function `find-operation-coding-system'.");
...
@@ -5312,18 +5306,18 @@ See also the function `find-operation-coding-system'.");
eol_mnemonic_undecided = ':';
eol_mnemonic_undecided = ':';
DEFVAR_LISP ("enable-character-translation", &Venable_character_translation,
DEFVAR_LISP ("enable-character-translation", &Venable_character_translation,
"Non-nil
means ISO 2022 encoder/decoder do character translation
.");
"
*
Non-nil
enables character translation while encoding and decoding
.");
Venable_character_translation = Qt;
Venable_character_translation = Qt;
DEFVAR_LISP ("standard-
character-
translation-table-for-decode",
DEFVAR_LISP ("standard-translation-table-for-decode",
&Vstandard_
character_
translation_table_for_decode,
&Vstandard_translation_table_for_decode,
"Table for translating characters while decoding.");
"Table for translating characters while decoding.");
Vstandard_
character_
translation_table_for_decode = Qnil;
Vstandard_translation_table_for_decode = Qnil;
DEFVAR_LISP ("standard-
character-
translation-table-for-encode",
DEFVAR_LISP ("standard-translation-table-for-encode",
&Vstandard_
character_
translation_table_for_encode,
&Vstandard_translation_table_for_encode,
"Table for translationg characters while encoding.");
"Table for translationg characters while encoding.");
Vstandard_
character_
translation_table_for_encode = Qnil;
Vstandard_translation_table_for_encode = Qnil;
DEFVAR_LISP ("charset-revision-table", &Vcharset_revision_alist,
DEFVAR_LISP ("charset-revision-table", &Vcharset_revision_alist,
"Alist of charsets vs revision numbers.\n\
"Alist of charsets vs revision numbers.\n\
...
...
src/coding.h
View file @
f967223b
...
@@ -375,8 +375,8 @@ struct coding_system
...
@@ -375,8 +375,8 @@ struct coding_system
Lisp_Object
pre_write_conversion
;
Lisp_Object
pre_write_conversion
;
/* Character translation tables to look up, or nil. */
/* Character translation tables to look up, or nil. */
Lisp_Object
character_
translation_table_for_decode
;
Lisp_Object
translation_table_for_decode
;
Lisp_Object
character_
translation_table_for_encode
;
Lisp_Object
translation_table_for_encode
;
};
};
#define CODING_REQUIRE_FLUSHING_MASK 1
#define CODING_REQUIRE_FLUSHING_MASK 1
...
@@ -530,8 +530,8 @@ extern Lisp_Object Qraw_text;
...
@@ -530,8 +530,8 @@ extern Lisp_Object Qraw_text;
extern
Lisp_Object
Qbuffer_file_coding_system
;
extern
Lisp_Object
Qbuffer_file_coding_system
;
extern
Lisp_Object
Vcoding_category_list
;
extern
Lisp_Object
Vcoding_category_list
;
extern
Lisp_Object
Q
character_
translation_table
;
extern
Lisp_Object
Qtranslation_table
;
extern
Lisp_Object
Q
character_
translation_table_id
;
extern
Lisp_Object
Qtranslation_table_id
;
/* Mnemonic character to indicate each type of end-of-line. */
/* Mnemonic character to indicate each type of end-of-line. */
extern
int
eol_mnemonic_unix
,
eol_mnemonic_dos
,
eol_mnemonic_mac
;
extern
int
eol_mnemonic_unix
,
eol_mnemonic_dos
,
eol_mnemonic_mac
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment