]> git.eshelyaron.com Git - emacs.git/commitdiff
(auto-coding-alist): Use
authorKenichi Handa <handa@m17n.org>
Sun, 16 Mar 2008 01:54:07 +0000 (01:54 +0000)
committerKenichi Handa <handa@m17n.org>
Sun, 16 Mar 2008 01:54:07 +0000 (01:54 +0000)
no-conversion-multibyte for archive files.

lisp/ChangeLog
lisp/international/mule.el
src/ChangeLog

index 958b01e475a8d30c4c3bae5ca3080142614cfb67..770aebf8a5fd83d214ca8d0b00c7a47adf2a1fb6 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-16  Kenichi Handa  <handa@m17n.org>
+
+       * international/mule.el (auto-coding-alist): Use
+       no-conversion-multibyte for archive files.
+
 2008-03-16  Glenn Morris  <rgm@gnu.org>
 
        * calendar/diary-lib.el (calendar-mark-complex, calendar-mark-1):
index d6305814a09f83ff42c7e7df42846fdb771a8a98..732c58367b31261235f3925ad53d0c8fedd69cb7 100644 (file)
@@ -1578,8 +1578,10 @@ text, and convert it in the temporary buffer.  Otherwise, convert in-place."
   ;; .exe and .EXE are added to support archive-mode looking at DOS
   ;; self-extracting exe archives.
   '(("\\.\\(\
-arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|exe\\|rar\\|\
-ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|EXE\\|RAR\\)\\'" . no-conversion)
+arc\\|zip\\|lzh\\|lha\\|zoo\\|[jew]ar\\|xpi\\|rar\\|\
+ARC\\|ZIP\\|LZH\\|LHA\\|ZOO\\|[JEW]AR\\|XPI\\|RAR\\)\\'"
+     . no-conversion-multibyte)
+    ("\\.\\(exe\\|EXE\\)\\'" . no-conversion)
     ("\\.\\(sx[dmicw]\\|odt\\|tar\\|tgz\\)\\'" . no-conversion)
     ("\\.\\(gz\\|Z\\|bz\\|bz2\\|gpg\\)\\'" . no-conversion)
     ("\\.\\(jpe?g\\|png\\|gif\\|tiff?\\|p[bpgn]m\\)\\'" . no-conversion)
index c8989be51ed47293798b831dde91dcebc22b980f..687951808f36027488c42b2fae93dc65504a4461 100644 (file)
@@ -1,3 +1,19 @@
+2008-03-16  Kenichi Handa  <handa@m17n.org>
+
+       * coding.c (CHAR_STRING_ADVANCE_NO_UNIFY)
+       (STRING_CHAR_ADVANCE_NO_UNIFY): New macros.
+       (coding_alloc_by_making_gap): Fix the way to preserve data in the
+       gap.
+       (alloc_destination): Fix the 2nd arg to
+       coding_alloc_by_making_gap.
+       (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of
+       CHAR_STRING_ADVANCE.
+       (produce_chars): Fix for the case that the source and the
+       destination are the same buffer.  Use CHAR_STRING_ADVANCE_NO_UNIFY
+       instead of CHAR_STRING_ADVANCE.
+       (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of
+       STRING_CHAR_ADVANCE.
+
 2008-03-15  Andreas Schwab  <schwab@suse.de>
 
        * regex.c (re_match_2_internal): Correct matching of eight bit