Gnus development mailing list
 help / color / mirror / Atom feed
* bug: mm-with-unibyte-buffer does not work
@ 1998-09-26  7:12 Shenghuo ZHU
  0 siblings, 0 replies; only message in thread
From: Shenghuo ZHU @ 1998-09-26  7:12 UTC (permalink / raw)



In multibyte language enviroment of XEmacs 20.4, press 'o' on a MIME
button of binary file, e.g. image file, the output file is not
identical to the original one.

The reason is that enable-multibyte-characters is not implemented in
XEmacs 20.4.

A patch attached.

-- 
Shenghuo
----------------------------------------------------------------------
--- ChangeLog	1998/09/26 07:05:04	1.3
+++ ChangeLog	1998/09/26 07:05:22
@@ -1,3 +1,8 @@
+Sat Sep 26 03:04:18 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+	* mm-util.el (mm-with-unibyte-buffer): Make it work in XEmacs
+ 	20.4.
+
 Sat Sep 26 02:03:00 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
 	* gnus-sum.el (gnus-multi-decode-encoded-word-string): Rewrite. 
--- mm-util.el	1998/09/26 06:42:04	1.1
+++ mm-util.el	1998/09/26 06:56:30
@@ -206,7 +206,8 @@
 	       (get-buffer-create (generate-new-buffer-name " *temp*")))
 	 (unwind-protect
 	     (with-current-buffer ,temp-buffer
-	       ,@forms)
+	       (let (buffer-file-coding-system)
+		 ,@forms))
 	   (and (buffer-name ,temp-buffer)
 		(kill-buffer ,temp-buffer))
 	   (setq-default enable-multibyte-characters ,multibyte))))))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-09-26  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-09-26  7:12 bug: mm-with-unibyte-buffer does not work Shenghuo ZHU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).