]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 12:45:22 +0000 (12:45 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 30 Dec 2004 12:45:22 +0000 (12:45 +0000)
lisp/ChangeLog
src/ChangeLog

index 6d7d428d0c2e07361bc31a202928d6666d2d300b..8c4b059b589e706c68a564de9345b5fdc5bb2991 100644 (file)
@@ -1,3 +1,15 @@
+2004-12-30  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <teirllm@auburn.edu>
 
        * autorevert.el (auto-revert-tail-mode): Doc fix for defvar.
index 4bc9e69ce1210186f4474f340ceb0e205132a1a1..eabe023a24ebbd339b5caa3666bc5600dfc8952c 100644 (file)
@@ -1,3 +1,28 @@
+2004-12-30  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <han9kin@mac.com>
 
        * macterm.c (SelectionRange): Add Xcode position apple event struct.