aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog13
-rw-r--r--src/process.c2
2 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index eb4768379b3..132f1b08c1b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,7 +1,20 @@
12000-08-04 Kenichi Handa <handa@etl.go.jp> 12000-08-04 Kenichi Handa <handa@etl.go.jp>
2 2
3 * process.c (read_process_output): Big simplification. Handle
4 composition and post-read-conversion of coding system correctly.
5 (send_process): Handle composition correctly.
6
7 * callproc.c (Fcall_process): Handle post-read-conversion of
8 coding system if any.
9
3 * coding.c (decode_coding_iso2022): More strict check for handling 10 * coding.c (decode_coding_iso2022): More strict check for handling
4 single shifting. 11 single shifting.
12 (coding_restore_composition): Pay attention to the case that
13 cmp_data is not set properly (because of invalid code in the
14 source text).
15 (run_pre_post_conversion_on_str): Include text properties in the
16 resulting string.
17 (decode_coding_string): Set members of coding correctly.
5 18
62000-08-03 Gerd Moellmann <gerd@gnu.org> 192000-08-03 Gerd Moellmann <gerd@gnu.org>
7 20
diff --git a/src/process.c b/src/process.c
index ce6ea82cffa..540b10681a5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -2952,6 +2952,7 @@ read_process_output (proc, channel)
2952 2952
2953 text = decode_coding_string (make_unibyte_string (chars, nbytes), 2953 text = decode_coding_string (make_unibyte_string (chars, nbytes),
2954 coding, 0); 2954 coding, 0);
2955 Vlast_coding_system_used = coding->symbol;
2955 /* A new coding system might be found. */ 2956 /* A new coding system might be found. */
2956 if (!EQ (p->decode_coding_system, coding->symbol)) 2957 if (!EQ (p->decode_coding_system, coding->symbol))
2957 { 2958 {
@@ -3064,6 +3065,7 @@ read_process_output (proc, channel)
3064 the buffer's mark is, and the user's next command is Meta-y. */ 3065 the buffer's mark is, and the user's next command is Meta-y. */
3065 text = decode_coding_string (make_unibyte_string (chars, nbytes), 3066 text = decode_coding_string (make_unibyte_string (chars, nbytes),
3066 coding, 0); 3067 coding, 0);
3068 Vlast_coding_system_used = coding->symbol;
3067 /* A new coding system might be found. See the comment in the 3069 /* A new coding system might be found. See the comment in the
3068 similar code in the previous `if' block. */ 3070 similar code in the previous `if' block. */
3069 if (!EQ (p->decode_coding_system, coding->symbol)) 3071 if (!EQ (p->decode_coding_system, coding->symbol))