Kenichi Handa
200c93e2af
(Funencodable_char_position): Set pend correctly.
2002-12-13 02:35:51 +00:00
Dave Love
15c8f9d1ad
(Vtranslation_table_for_input): New.
...
(syms_of_coding): DEFVAR it.
2002-11-09 12:49:31 +00:00
Dave Love
002fdb4486
Reformat some DEFUNs so that etags works.
2002-11-06 23:31:21 +00:00
Stefan Monnier
ea9d458bec
(decode_coding_emacs_mule, decode_coding_iso2022)
...
(decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL.
2002-11-02 08:16:57 +00:00
Juanma Barranquero
7d0393cf12
Fix typo in comment.
2002-10-18 10:09:43 +00:00
Kenichi Handa
b3385c2865
(code_convert_region): When we need more GAP for
...
conversion, pay attention to the case that coding->produced is not
greater than coding->consumed.
2002-10-08 00:57:59 +00:00
Kenichi Handa
3089d25c87
(decode_coding_emacs_mule): Check coding->cmp_data.
...
Only when it is non-nil, handle composition sequence.
(setup_coding_system) <0>: Don't force composition handling.
2002-09-30 06:28:31 +00:00
Richard M. Stallman
cf3b32fcfb
(run_pre_post_conversion_on_str): Save and restore Vdeactivate_mark.
2002-09-26 22:03:41 +00:00
Juanma Barranquero
5f90b4fbb2
(syms_of_coding): Fix spacing.
2002-09-06 09:02:11 +00:00
Gerd Moellmann
96d2e64dce
(Funencodable_char_position): Lisp_Object/int mixup.
2002-08-13 19:12:46 +00:00
Kenichi Handa
068a9dbdf6
(unencodable_char_position): New function.
...
(Funencodable_char_position): New function.
(syms_of_coding): Defsubr Funencodable_char_position.
2002-08-11 01:06:42 +00:00
Ken Raeburn
d90ed3b46f
(Ffind_operation_coding_system): Fix Lisp_Object/int mixup.
2002-08-08 16:59:23 +00:00
Kenichi Handa
7f787cfd76
(Ffind_operation_coding_system): For write-region, if
...
VISIT is a filename, make it the target.
2002-08-08 12:34:27 +00:00
Kenichi Handa
8d239c89c6
(detect_coding_iso2022): While checking a byte sequence
...
for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check
it in the normal loop.
2002-07-26 11:53:25 +00:00
Ken Raeburn
a424431367
(encode_eol, detect_coding, detect_eol):
...
(decode_coding, encode_coding, detect_coding_system): Source
strings now treated as const.
(decode_coding_string, encode_coding_string): Use STRING_COPYIN to
modify Lisp string contents.
2002-07-19 14:26:57 +00:00
Ken Raeburn
a90f2c3549
(Ffind_coding_systems_region_interval): Use const for
...
pointer to lisp string data.
2002-07-16 19:48:04 +00:00
Ken Raeburn
d5db40779d
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
...
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
2002-07-15 00:01:34 +00:00
Juanma Barranquero
aed1337830
Use macro SPECPDL_INDEX.
2002-07-11 14:18:02 +00:00
Juanma Barranquero
f458a8e091
Fix typo.
2002-07-03 09:49:28 +00:00
Kenichi Handa
1cd6b64ce8
(detect_eol): Preserve coding->cmp_data.
2002-06-24 00:35:59 +00:00
Ken Raeburn
57d25e6f09
* coding.c (Fread_coding_system, code_convert_region1)
...
(code_convert_string1, code_convert_string_norecord)
(Ffind_operation_coding_system): Use SYMBOL_NAME instead of
XSYMBOL and name field.
2002-05-20 08:05:15 +00:00
Eli Zaretskii
9861e77766
(decode_coding) <coding_type_ccl>: If a lone CR
...
characters is carried over from the previous block of text, adjust
coding->produced to account for the extra character.
2002-05-11 21:33:13 +00:00
Andreas Schwab
eef762fc0f
(intersection): Keep the elements of the returned list
...
in the same order as in the first list.
2002-05-11 16:00:10 +00:00
Eli Zaretskii
7371fe0a09
(encode_coding_sjis_big5): Enclose bitwise AND in
...
parens, to ensure correct evaluation order.
2002-05-10 08:51:44 +00:00
Richard M. Stallman
3fd9494be4
(run_pre_post_conversion_on_str):
...
Don't call temp_output_buffer_setup--do just part, by hand.
2002-04-13 17:49:00 +00:00
Andreas Schwab
ff955d9000
(syms_of_coding) <file-coding-system-alist>: Doc fix
2002-03-11 19:22:07 +00:00
Richard M. Stallman
b1887814c3
(decode_composition_emacs_mule):
...
Give up if NCOMPONENT gets too large to index `component'.
2002-02-01 04:34:21 +00:00
Richard M. Stallman
72d1a715ee
(code_convert_region): Don't copy old text if undo disabled.
2002-01-11 21:27:54 +00:00
Richard M. Stallman
0e79d66738
(code_convert_region): Update coding->cmp_data->char_offset
...
before calling decode_coding.
2001-12-17 15:33:32 +00:00
Sam Steingold
93dec0196b
(DECODE_COMPOSITION_END): Fixed a typo in the last
...
patch (COMPOSING_P, not COMPOSING).
2001-12-17 15:21:06 +00:00
Richard M. Stallman
c8446041d5
(DECODE_COMPOSITION_END): Check for ! COMPOSING (coding)
...
instead of only for COMPOSITION_DISABLED.
2001-12-17 14:05:07 +00:00
Pavel Janík
8732329486
(setup_coding_system, shrink_encoding_region)
...
(Fdecode_sjis_char): Likewise.
2001-12-09 00:56:24 +00:00
Dave Love
0192762cef
(syms_of_coding) <Qchar_coding_system>: Give it an
...
extra extra slot.
(detect_coding_mask): Fix call of detect_coding_iso2022.
2001-11-29 12:54:12 +00:00
Pavel Janík
55b43a6305
(decode_coding_string): Remove unused variable `gcpro1'.
2001-11-28 07:36:46 +00:00
Richard M. Stallman
7520597013
(syms_of_coding): Doc fix.
2001-11-14 00:04:57 +00:00
Pavel Janík
ddb67bdc78
Doc fix.
2001-11-13 11:56:24 +00:00
Pavel Janík
fabf4a91cf
(encode_coding): Use precomputed value of `src'.
...
(encode_coding): Remove unused variable `src_end'.
(code_convert_region): Remove unused variables `count'.
2001-11-09 08:02:08 +00:00
Pavel Janík
48b0f3aed7
Change doc-string comments to new style' [w/
doc:' keyword].
2001-11-04 17:43:52 +00:00
Pavel Janík
b782650360
Update usage of CHECK_ macros (remove unused second argument).
2001-11-02 20:46:55 +00:00
Eli Zaretskii
9048000044
(syms_of_coding): Document that locale-coding-system is
...
used for decoding input on X.
2001-10-29 19:37:06 +00:00
Miles Bader
a58d71cbdd
(Ffind_operation_coding_system): Add usage: string to doc string.
2001-10-21 15:20:20 +00:00
Ken Raeburn
f3fbd15535
Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimenting
...
with lisp system changes.
2001-10-16 09:09:51 +00:00
Gerd Moellmann
f5c1dd0dc5
Use SYMBOL_VALUE/SET_SYMBOL_VALUE macros instead of accessing
...
symbols' value directly.
2001-10-05 09:49:39 +00:00
Gerd Moellmann
70ad9fc448
(code_convert_region): Handle the multibyte case if
...
decoding ends with CODING_FINISH_INSUFFICIENT_SRC.
2001-07-23 09:26:46 +00:00
Ken Raeburn
928a85c1ba
* coding.c (setup_coding_system): Don't do any designation based on reg_bits if
...
charset is not yet defined.
2001-07-17 16:29:39 +00:00
Stefan Monnier
176c92e68f
(Ffind_coding_systems_region_internal): If safe_codings
...
is t, don't try to append anything to it.
2001-07-12 20:28:45 +00:00
Dave Love
ae5145c238
comment
2001-04-05 21:15:02 +00:00
Kenichi Handa
c210f766a0
(Fdetect_coding_region): Fix comments added by the previous change.
2001-03-08 04:42:43 +00:00
Kenichi Handa
67091e5974
(detect_coding_mask): Fix the incorrect handling of arg MULTIBYTEP.
2001-03-08 02:19:18 +00:00
Kenichi Handa
682169fe7f
(detect_coding_sjis): Do more rigid check.
...
(detect_coding_big5): Likewise.
(decode_coding_sjis_big5): Likewise.
(Fdetect_coding_region): Call detect_coding_system with tailing
anchor byte `\0' for more rigid detection.
(Fdetect_coding_string): Likewise.
2001-03-08 02:01:00 +00:00