aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKenichi Handa2013-05-22 23:53:21 +0900
committerKenichi Handa2013-05-22 23:53:21 +0900
commite6d2f1553635a746396f2f4261dde31e03e0fdd1 (patch)
tree00882ebfc0d82b37593f64bee4aee51c49b5f19b /src/ChangeLog
parent59c886717271b57d661027685d203a3dd5cfafa7 (diff)
downloademacs-e6d2f1553635a746396f2f4261dde31e03e0fdd1.tar.gz
emacs-e6d2f1553635a746396f2f4261dde31e03e0fdd1.zip
Fix the setting of buffer-file-coding-system on, for instance, C-x RET c unix RET _FILE_OF_DOS_EOL_TYPE_ RET.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index b05ee5efd9d..cc6194ac467 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,24 @@
12013-05-22 Kenichi Handa <handa@gnu.org>
2
3 The following changes are to fix the setting of
4 buffer-file-coding-system on, for instance, C-x RET c unix RET
5 _FILE_OF_DOS_EOL_TYPE_ RET.
6
7 * coding.h (struct coding_system): New member detected_utf8_chars.
8
9 * coding.c (detect_coding_utf_8): Count characters and check EOL
10 format. Include CATEGORY_MASK_UTF_8_AUTO in detect_info->found if
11 BOM is there.
12 (setup_coding_system): Do not initialize coding->head_ascii.
13 (check_ascii): Do not set coding->eol_seen but update it. Do not
14 call adjust_coding_eol_type here.
15 (detect_coding): Fix detection of BOM for utf-8 and utf-16. If
16 the eol-type of CODING is already specified, adjust the eol type
17 of the found coding-system.
18 (decode_coding_gap): Cancel previous change. Utilize the
19 character numbers counted by detect_coding_utf_8. Fix detection
20 of BOM for utf-8.
21
12013-05-08 Paul Eggert <eggert@cs.ucla.edu> 222013-05-08 Paul Eggert <eggert@cs.ucla.edu>
2 23
3 * xterm.h (GTK_PREREQ): New macro. 24 * xterm.h (GTK_PREREQ): New macro.