Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: bug: mm-with-unibyte-buffer does not work
Date: 26 Sep 1998 03:12:52 -400	[thread overview]
Message-ID: <2nemszibyj.fsf@zsh.cs.rochester.edu> (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))))))


                 reply	other threads:[~1998-09-26  7:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2nemszibyj.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).