From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25079 Path: main.gmane.org!not-for-mail From: "Rene H. Larsen" Newsgroups: gmane.emacs.gnus.general Subject: Re: Workaround for quoted printable encoding of attachments Date: 12 Sep 1999 05:14:07 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: <87puzoddog.fsf@renehl.ournet.dk> References: <87zoytd3hp.fsf@renehl.ournet.dk> <2niu5hymma.fsf@tiger.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035162531 12188 80.91.224.250 (21 Oct 2002 01:08:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:08:51 +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 XAA23973 for ; Sat, 11 Sep 1999 23:16:48 -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 WAB03272; Sat, 11 Sep 1999 22:16:41 -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 22:16:53 -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 WAA06437 for ; Sat, 11 Sep 1999 22:16:42 -0500 (CDT) Original-Received: from mail-in1.inet.tele.dk (mail-in1.inet.tele.dk [194.182.148.158]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id XAA23890 for ; Sat, 11 Sep 1999 23:14:30 -0400 (EDT) Original-Received: (qmail 7829 invoked from network); 12 Sep 1999 03:14:22 -0000 Original-Received: from ip166.ronnxr1.ras.tele.dk (HELO izzlazz.ournet.dk) (195.249.54.166) by mail-in1.inet.tele.dk with SMTP; 12 Sep 1999 03:14:22 -0000 Original-Received: from renehl.ournet.dk [192.168.0.1] (mail) by izzlazz.ournet.dk with esmtp (Exim 2.11 #1 (Debian)) id 11Q05f-00041z-00; Sun, 12 Sep 1999 05:14:07 +0200 Original-Received: from renehl by renehl.ournet.dk with local (Exim 3.03 #1 (Debian)) id 11Q05f-0001Iw-00; Sun, 12 Sep 1999 05:14:07 +0200 Original-To: ding@gnus.org In-Reply-To: Shenghuo ZHU's message of "11 Sep 1999 20:55:25 -0400" Original-Lines: 31 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25079 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25079 Shenghuo ZHU writes: > >>>>> "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> 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))) This is much nicer, thanks. My workaround was just a desperate try at solving an immediate problem. Why is something like this not the default, by the way? It doesn't make sense to QP encode most binary formats since newlines might be screwed up at the receiving end. -- #!/usr/bin/perl -w for(0..12){$b[$_]="|".($_==6?"-":" ")x78}for(0..78){substr($b[- (sin($_*3.1415/22)-1)*6.499],$_,1)="*"}print join "\n",@b,"";