]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKenichi Handa <handa@m17n.org>
Wed, 31 Jul 2002 07:15:29 +0000 (07:15 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 31 Jul 2002 07:15:29 +0000 (07:15 +0000)
lisp/ChangeLog
src/ChangeLog

index 5eaebcb12635bdffc455e44162c534d6c5b8d33f..b18d8d62cc9009bd3d70ce85b6634c4ccb456fe1 100644 (file)
@@ -1,3 +1,53 @@
+2002-07-31  Kenichi Handa  <handa@etl.go.jp>
+
+       * arc-mode.el (archive-file-name-coding-system): New variable.
+       Make it permanent-local.
+       (byte-after, bref, insert-unibyte): New function.  Change most of
+       char-after, aref, insert to them respectively.
+       (archive-mode): Set archive-file-name-coding-system.
+       (archive-summarize): Don't change the buffer's multibyteness.
+       (archive-extract): Inherit archive-file-name-coding-system from
+       archive-superior-buffer.  Bind coding-system-for-write to
+       archive-file-name-coding-system.
+       (archive-*-write-file-member): Encode ENAME by
+       archive-file-name-coding-system.  Bind coding-system-for-write to
+       no-conversion.
+       (archive-rename-entry): Encode the filename by
+       archive-file-name-coding-system.
+       (archive-mode-revert): Don't change the buffer's multibyteness.
+       (archive-arc-summarize, archive-lzh-summarize,
+       archive-zoo-summarize): Don't change the buffer's multibyteness.
+       Decode filenames by archive-file-name-coding-system.
+       (archive-arc-rename-entry, archive-zip-chmod-entry): Don't change
+       the buffer's multibyteness.
+
+       * tar-mode.el (tar-file-name-coding-system): New variable.  Make
+       it permanent-local.p
+       (tar-header-block-tokenize): Decode filename and linkname by
+       tar-file-name-coding-system.
+       (tar-header-block-checksum): Call multibyte-char-to-unibyte to get
+       the byte value of eight-bit chars.
+       (tar-summarize-buffer): Call set-buffer-multibyte with METHOD
+       `to'.  Delete unnecessary call of position-bytes.
+       (tar-mode): Set tar-file-name-coding-system.  Delete unnecessary
+       call of position-bytes.
+       (tar-extract): Simplified by calling decode-coding-region with
+       DESTINATION argument.  Don't toggle multibyteness of tar buffer.
+       (tar-copy): Don't toggle multibyteness of tar buffer.
+       (tar-expunge): Likewise.
+       (tar-clear-modification-flags): Delete unnecessary call of
+       position-bytes.
+       (tar-rename-entry): Call tar-alter-one-field with encoded new
+       name.
+       (tar-alter-one-field): Don't toggle multibyteness of tar buffer.
+       Convert new-data-string by string-to-multibyte before inserting
+       it.
+       (tar-subfile-save-buffer): Don't toggle multibyteness of tar
+       buffer.  Simplified by calling encoding-coding-region with
+       DESTINATION argument.
+       (tar-mode-write-file): Delete unnecessary call of
+       byte-to-position.
+
 2002-07-30  Dave Love  <fx@gnu.org>
 
        * international/titdic-cnv.el (quail-cxterm-package-ext-info): Doc
index 3f47f10bc7f3a3cc16269c012b54b0ca36c849d4..bbf18ef11f8d34071890bf25e7aa16f4e97445c1 100644 (file)
@@ -1,3 +1,41 @@
+2002-07-31  Kenichi Handa  <handa@etl.go.jp>
+
+       * buffer.c (Qas, Qmake, Qto): New variables.
+       (Fset_buffer_multibyte): New optional arg METHOD.  Caller changed.
+       (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto.
+
+       * callproc.c (Fcall_process): Don't call insert_1_both directly if
+       we are inserting a process output into a multibyte buffer.
+
+       * character.h (CHAR_TO_BYTE8): If C is not eight-bit char, call
+       multibyte_char_to_unibyte.
+
+       * character.c (Funibyte_char_to_multibyte): If C can't be decoded
+       by the primary charset, make it eight-bit char.
+       (Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8.
+
+       * charset.c: (charset_eight_bit, Qeight_bit_control): New
+       variables.
+       (charset_8_bit__control, charset_8_bit_graphic,
+       Qeight_bit_control, Qeight_bit_graphic): These variables deleted.
+       (define_charset_internal): New function.
+       (syms_of_charset): Call define_charset_internal for pre-defined
+       charsets.
+
+       * charset.h (charset_8_bit): Extern it.
+
+       * coding.c (make_conversion_work_buffer): Adjusted for the change
+       of Fset_buffer_multibyte.
+       (encode_coding_raw_text): Increment p0 in the loop.
+
+       * lisp.h (Fset_buffer_multibyte): Prototype adjusted.
+
+       * xdisp.c (setup_echo_area_for_printing, set_message_1): Adjusted
+       for the change of Fset_buffer_multibyte.
+
+       * fns.c (Fstring_to_multibyte): New function.
+       (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine.
+
 2002-07-30  Dave Love  <fx@gnu.org>
 
        * xfns.c (x_put_x_image): Declare args.