From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47711 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.gnus.general Subject: gnus-mime-copy-part and jka-compr Date: Mon, 18 Nov 2002 08:51:01 +1000 Sender: owner-ding@hpc.uh.edu Message-ID: <87n0o7ajze.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1037573527 28287 80.91.224.249 (17 Nov 2002 22:52:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 17 Nov 2002 22:52:07 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18DYGr-0007M0-00 for ; Sun, 17 Nov 2002 23:52:05 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18DYHc-0000Hh-00; Sun, 17 Nov 2002 16:52:52 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 17 Nov 2002 16:53:39 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA22742 for ; Sun, 17 Nov 2002 16:53:23 -0600 (CST) Original-Received: (qmail 19072 invoked by alias); 17 Nov 2002 22:52:19 -0000 Original-Received: (qmail 19067 invoked from network); 17 Nov 2002 22:52:18 -0000 Original-Received: from sunny.pacific.net.au (203.25.148.40) by gnus.org with SMTP; 17 Nov 2002 22:52:18 -0000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id gAHMqGp4003059 for ; Mon, 18 Nov 2002 09:52:16 +1100 (EST) Original-Received: from localhost (ppp90.dyn228.pacific.net.au [203.143.228.90]) by wisma.pacific.net.au with ESMTP id JAA09934 for ; Mon, 18 Nov 2002 09:52:13 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18DYFq-0000iC-00; Mon, 18 Nov 2002 08:51:02 +1000 Original-To: ding@gnus.org Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.1 (i386-debian-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47711 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47711 I wonder if it'd be possible for gnus-mime-copy-part (`c') to automatically decompress a file like foo.tar.bz2 in a message. It doesn't seem to cooperate with auto-compression-mode at the moment. It ends up with a buffer that's still got the compressed data but has been put into tar-mode, which of course is not right. It seems jka-compr works by hooking insert-file-contents with file-name-handler-alist, and leaving a do-nothing ("\\.bz2\\'" nil jka-compr) in auto-mode-alist, so the normal-mode call in gnus-mime-copy-part doesn't do the trick.