# HG changeset patch # User Kenichi Handa # Date 1104410722 0 # Node ID 6e385b257cef50b3ce62aece1698fb2d08001145 # Parent 51f8c6bcc746d6915bf5474bc10ec788464d7ce5 *** empty log message *** diff -r 51f8c6bcc746 -r 6e385b257cef lisp/ChangeLog --- a/lisp/ChangeLog Thu Dec 30 12:42:11 2004 +0000 +++ b/lisp/ChangeLog Thu Dec 30 12:45:22 2004 +0000 @@ -1,3 +1,15 @@ +2004-12-30 Kenichi Handa + + * files.el (basic-save-buffer-1): Set + explicit-buffer-file-coding-system to last-coding-system-used. + (revert-buffer): Pay attention to + explicit-buffer-file-coding-system (not buffer-file-coding-system) + on bind coding-system-for-read. + + * international/mule.el (explicit-buffer-file-coding-system): New + buffer local variable. + (after-insert-file-set-coding): Set it to coding-system-for-read. + 2004-12-29 Luc Teirlinck * autorevert.el (auto-revert-tail-mode): Doc fix for defvar. diff -r 51f8c6bcc746 -r 6e385b257cef src/ChangeLog --- a/src/ChangeLog Thu Dec 30 12:42:11 2004 +0000 +++ b/src/ChangeLog Thu Dec 30 12:45:22 2004 +0000 @@ -1,3 +1,28 @@ +2004-12-30 Kenichi Handa + + * fileio.c (Finsert_file_contents): Don't use + current_buffer->buffer_file_coding_system even if REPLACE is + non-nil. Call Qafter_insert_file_set_coding with the second arg + VISIT. + + * fontset.h (struct font_info): New members space_width and + average_width. + + * frame.h (struct frame): New member space_width. + (FRAME_SPACE_WIDTH): New macro. + + * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. + + * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to + fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to + fontp-?space_width.. + (x_load_font): Calculate fontp->space_width and + fontp->average_width. + (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. + + * xdisp.c (x_produce_glyphs): Calculate tab width by + FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. + 2004-12-29 Sanghyuk Suh * macterm.c (SelectionRange): Add Xcode position apple event struct.