From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/17537 Path: main.gmane.org!not-for-mail From: "Edward J. Sabol" Newsgroups: gmane.emacs.gnus.general Subject: Re: pgnus-0.33: multipart/mixed: usage of filename? Date: Thu, 1 Oct 1998 14:33:17 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: <199810011833.OAA19436@alderaan.gsfc.nasa.gov> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156219 1448 80.91.224.250 (20 Oct 2002 23:23:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:23:39 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA16365 for ; Thu, 1 Oct 1998 14:34:13 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id NAF06444; Thu, 1 Oct 1998 13:05:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 01 Oct 1998 13:33:44 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id NAA05644 for ; Thu, 1 Oct 1998 13:33:31 -0500 (CDT) Original-Received: from alderaan.gsfc.nasa.gov (alderaan.gsfc.nasa.gov [128.183.16.213]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id OAA16348 for ; Thu, 1 Oct 1998 14:33:21 -0400 (EDT) Original-Received: by alderaan.gsfc.nasa.gov (950413.SGI.8.6.12/951211.SGI.AUTO) id OAA19436; Thu, 1 Oct 1998 14:33:17 -0400 Original-To: Gnus Mailing List In-reply-to: (message from Lars Magne Ingebrigtsen on 01 Oct 1998 16:18:13 +0200) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:17537 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:17537 Excerpts from mail: (01-Oct-98) Re: pgnus-0.33: multipart/mixed: usage of filename? by Lars Magne Ingebrigtsen > Jan Vroonhof writes: >>>> Just use ONLY the base name in a auto generated tempdir, like gnus-uu >>>> does. >>> >>> You mean only the suffix? >> >> Thats probably even better. > > Doing so would make sense, but if the file name characters are > properly translated and quoted, wouldn't it be nice to have the full > real names of the files available in the external viewer? I would much rather have the real file name! I think that if you get an e-mail with a MIME object whose name is "/foo/bar/blah/whatever", then Gnus should save the file as "whatever" in a directory that you specify in a configuration variable. I.e., parse out the filename and override any directory specification in the name. This way if someone sends root a text/plain MIME object with Content-Disposition set to attachment and name set to "/etc/passwd", the won't get saved in /etc/passwd, but will instead be saved in /tmp/passwd (or whereever you have your gnus-mime-save-directory configuration variable set to). Later, Ed