From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/49235 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-mime-copy-part and jka-compr Date: Wed, 15 Jan 2003 10:34:20 +1000 Organization: Bah Humbug Sender: owner-ding@hpc.uh.edu Message-ID: <873cnvb69f.fsf@zip.com.au> References: <87n0o7ajze.fsf@zip.com.au> <84of75pzc0.fsf@lucy.cs.uni-dortmund.de> <844r8xpwzi.fsf@lucy.cs.uni-dortmund.de> <874r8rxij6.fsf@zip.com.au> <87bs2yexs8.fsf@zip.com.au> <87el7tg3ba.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1042590874 6538 80.91.224.249 (15 Jan 2003 00:34:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 15 Jan 2003 00:34:34 +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 18YbVo-0001hK-00 for ; Wed, 15 Jan 2003 01:34:32 +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 18YbWL-00060Q-00; Tue, 14 Jan 2003 18:35:05 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 14 Jan 2003 18:36:00 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id SAA06416 for ; Tue, 14 Jan 2003 18:35:46 -0600 (CST) Original-Received: (qmail 54901 invoked by alias); 15 Jan 2003 00:34:46 -0000 Original-Received: (qmail 54889 invoked from network); 15 Jan 2003 00:34:45 -0000 Original-Received: from sunny.pacific.net.au (203.25.148.40) by 66.230.238.6 with SMTP; 15 Jan 2003 00:34:45 -0000 Original-Received: from wisma.pacific.net.au (wisma.pacific.net.au [210.23.129.72]) by sunny.pacific.net.au with ESMTP id h0F0YdKR005536 for ; Wed, 15 Jan 2003 11:34:39 +1100 (EST) Original-Received: from localhost (ppp61.dyn228.pacific.net.au [203.143.228.61]) by wisma.pacific.net.au with ESMTP id LAA23877 for ; Wed, 15 Jan 2003 11:34:37 +1100 (EST) Original-Received: from gg by localhost with local (Exim 3.35 #1 (Debian)) id 18YbVd-0001KV-00; Wed, 15 Jan 2003 10:34:21 +1000 Original-To: ding@gnus.org 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:49235 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:49235 --=-=-= Some doco for this change, mainly to get a cross reference to auto-compression-mode so one knows how to enable the decompression. * gnus-art.el (gnus-mime-copy-part): Mention auto-compression-mode in docstring. * gnus.texi (Using MIME): Mention auto-compression-mode with gnus-mime-copy-part. --=-=-= Content-Disposition: attachment; filename=gnus-art.el.copy-part-doc.diff --- gnus-art.el.~6.274.~ 2003-01-15 10:17:40.000000000 +1000 +++ gnus-art.el 2003-01-15 10:24:27.000000000 +1000 @@ -3986,7 +3986,9 @@ (defun gnus-mime-jka-compr-maybe-uncompr (jka-compr-delete-temp-file err-file))))))) (defun gnus-mime-copy-part (&optional handle) - "Put the MIME part under point into a new buffer." + "Put the MIME part under point into a new buffer. +If `auto-compression-mode' is enabled, compressed files like .gz and .bz2 +are decompressed." (interactive) (gnus-article-check-buffer) (let* ((handle (or handle (get-text-property (point) 'gnus-data))) --=-=-= Content-Disposition: attachment; filename=gnus.texi.copy-part.diff --- gnus.texi.~6.388.~ 2003-01-15 10:14:25.000000000 +1000 +++ gnus.texi 2003-01-15 10:28:30.000000000 +1000 @@ -10563,7 +10563,10 @@ @item c (Article) @kindex c (Article) Copy the @sc{mime} object to a fresh buffer and display this buffer -(@code{gnus-mime-copy-part}). +(@code{gnus-mime-copy-part}). Compressed files like @file{.gz} and +@file{.bz2} are automatically decompressed if +@code{auto-compression-mode} is enabled (@pxref{Compressed Files,, +Accessing Compressed Files, emacs, The Emacs Editor}). @findex gnus-mime-print-part @item p (Article) --=-=-=--