From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24518 Path: main.gmane.org!not-for-mail From: dsg@mitre.org (David S. Goldberg) Newsgroups: gmane.emacs.gnus.general Subject: Re: Fwd: E-mail attachments and local names Date: 27 Jul 1999 10:48:14 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87so6bgxg9.fsf@pc-hrvoje.srce.hr> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035162072 9182 80.91.224.250 (21 Oct 2002 01:01:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:01:12 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA29959 for ; Tue, 27 Jul 1999 10:53:13 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.3/8.9.3) with ESMTP id JAB28863; Tue, 27 Jul 1999 09:49:07 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 27 Jul 1999 09:49:37 -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 JAA22916 for ; Tue, 27 Jul 1999 09:49:27 -0500 (CDT) Original-Received: from linus.mitre.org (linus.mitre.org [129.83.10.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA29829 for ; Tue, 27 Jul 1999 10:48:17 -0400 (EDT) Original-Received: from blackbird.mitre.org (blackbird [129.83.65.14]) by linus.mitre.org (8.8.7/8.8.7) with ESMTP id KAA03026 for ; Tue, 27 Jul 1999 10:48:14 -0400 (EDT) Original-Received: (from dsg@localhost) by blackbird.mitre.org (8.8.7/8.8.7) id KAA05786; Tue, 27 Jul 1999 10:48:14 -0400 (EDT) Mail-Copies-To: never Original-To: The Gnus Mailing List X-Face: GUaHTH@nS>[7,ME@-gYZ4#Wl{z"99k@[[Y8AcP0x1paqu.,z9,XSV1WI>{q3f6^e5(zrit <4fV&VHhmE`uidRqtmG27;si9&r;#KSF~E#$%W8w(xdp)H4tW=\2XOk~3=@oGqqpj;m4xf Ow;y26396&,34@9#~4;@*S;E0cq"LM9N(us4P%F(Nxis'Vvfm9?KufH;:Q$dMa-QWGLR&K d0`LJZE8xb*>^yN>b]_NcU:E=Zn\1=#/(OS2 In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "27 Jul 1999 14:29:20 +0200" Original-Lines: 23 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24518 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24518 >>>>> Kai Großjohann writes: > In addition to the filename parameter there is a name (or was it > file?) parameter in the MML stuff. Filename gives the name of the > local file, and I guess Gnus just uses it for the file name in the > message if nothing else is specified. I thought that too. Then I tried it :-) Unfortunately, the name tag gets copied to the Content-Type part rather than Content-Disposition, where the filename tag goes. The latter gets preference for the suggested filename when saving. The former just shows up as a label in the button. What's needed is either an option that says if both name and filename are specified in MML, then after using filename to load the content, the filename tag in the Content-Disposition header gets the value of the name tag; or, invent a new tag if overloading name is a bad idea. I started to make a pass at doing just that (called `filesuggestion' for lack of a better idea) yesterday. I'll post a patch once its ready and I've had a chance to try it out. -- Dave Goldberg Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730 Phone: 781-271-3887 Email: dsg@mitre.org