From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46161 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Fix displaying attachments with spaces etc. Date: Sun, 18 Aug 2002 21:30:26 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1029699047 22646 127.0.0.1 (18 Aug 2002 19:30:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 18 Aug 2002 19:30:47 +0000 (UTC) Cc: The Gnus Mailing List 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 17gVl7-0005sm-00 for ; Sun, 18 Aug 2002 21:30:45 +0200 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 17gVlc-0004xq-00; Sun, 18 Aug 2002 14:31:16 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 18 Aug 2002 14:31:47 -0500 (CDT) 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 OAA21325 for ; Sun, 18 Aug 2002 14:31:35 -0500 (CDT) Original-Received: (qmail 953 invoked by alias); 18 Aug 2002 19:30:59 -0000 Original-Received: (qmail 948 invoked from network); 18 Aug 2002 19:30:59 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 18 Aug 2002 19:30:59 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g7IJUWb02257; Sun, 18 Aug 2002 21:30:32 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id VAA28288; Sun, 18 Aug 2002 21:30:27 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id C76643B1C5; Sun, 18 Aug 2002 21:30:26 +0200 (CEST) Original-To: Toby Speight Mail-Followup-To: Toby Speight , The Gnus Mailing List In-Reply-To: (Toby Speight's message of "15 Aug 2002 13:47:16 +0100") Original-Lines: 21 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46161 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46161 Toby Speight writes: > I wonder if it's sufficient to (when (search-forward "'%s'" nil t) > (replace-match "%s" t t command)) to take care of this particular > case. Personally, I'd feel a lot more comfortable if Gnus ignored the > sender's suggested filename except when saving to a permanent file, > and used a randomly-generated name for viewing, in the same way that > W3 does. I don't like the idea of trusting the author, no matter how > careful Gnus is. I guess the filename is needed for some programs. Maybe some programs look at the filename to decide what to do with it? But Gnus could mangle the filename to be somewhat harmless. For example, it could replace spaces with underscores and ticks of all kinds and sizes, too. That would keep the extension intact which is probably what those programs are looking at... kai -- A large number of young women don't trust men with beards. (BFBS Radio)