From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25078 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Workaround for quoted printable encoding of attachments Date: 11 Sep 1999 20:55:25 -0400 Organization: U of Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2niu5hymma.fsf@tiger.jia.vnet> References: <87zoytd3hp.fsf@renehl.ournet.dk> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162530 12187 80.91.224.250 (21 Oct 2002 01:08:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:08:50 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA19986 for ; Sat, 11 Sep 1999 20:54:21 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id TAB02027; Sat, 11 Sep 1999 19:54:14 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 11 Sep 1999 19:54:33 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id TAA05576 for ; Sat, 11 Sep 1999 19:54:22 -0500 (CDT) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id UAA19891 for ; Sat, 11 Sep 1999 20:52:19 -0400 (EDT) Original-Received: from heart.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by cayuga.cs.rochester.edu (8.9.3/Q) with ESMTP id UAA22432 for ; Sat, 11 Sep 1999 20:52:14 -0400 (EDT) Original-Received: (from zsh@localhost) by heart.cs.rochester.edu (8.9.3/8.9.3) id UAA01210; Sat, 11 Sep 1999 20:55:26 -0400 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: "Rene H. Larsen"'s message of "11 Sep 1999 14:41:54 +0200" Original-Lines: 31 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/21.2 (Shinjuku) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25078 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25078 >>>>> "R" == Rene H Larsen writes: R> If you, like me, have problems with binary attachments in pGnus being R> encoded as quoted printable instead of in base64, this may help you. R> Just insert this into your .gnus: R> (defun mm-qp-or-base64 () 'base64) R> This will effectively disable pGnus' (apparently broken) heuristics to R> determine whether a file is binary, and always choose base64 R> encoding. Unfortunately, "text/*" attachments will then also be base64 R> encoded. On the other hand, "message/rfc822" attachments are R> unaffected. R> This does not fix the underlying problem, but should merely be R> regarded as a workaround. I guess your solution is not appropriate. Why not try the following code in your .gnus? (setq mm-content-transfer-encoding-defaults '(("text/x-patch" 8bit) ("text/.*" qp-or-base64) ("message/rfc822" 8bit) ("application/emacs-lisp" 8bit) ("application/x-patch" 8bit) (".*" base64))) -- Shenghuo ZHU