From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46137 Path: main.gmane.org!not-for-mail From: "Simon Josefsson" Newsgroups: gmane.emacs.gnus.general Subject: Re: Fix displaying attachments with spaces etc. Date: Thu, 15 Aug 2002 16:02:04 +0200 (CEST) Sender: owner-ding@hpc.uh.edu Message-ID: <48096.62.255.241.113.1029420124.squirrel@yxa.extundo.com> References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1029420143 6642 127.0.0.1 (15 Aug 2002 14:02:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 Aug 2002 14:02:23 +0000 (UTC) Cc: 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 17fLCf-0001j1-00 for ; Thu, 15 Aug 2002 16:02:21 +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 17fLCv-000579-00; Thu, 15 Aug 2002 09:02:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Aug 2002 09:03:07 -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 JAA14360 for ; Thu, 15 Aug 2002 09:02:47 -0500 (CDT) Original-Received: (qmail 706 invoked by alias); 15 Aug 2002 14:02:12 -0000 Original-Received: (qmail 701 invoked from network); 15 Aug 2002 14:02:11 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 15 Aug 2002 14:02:11 -0000 Original-Received: from yxa.extundo.com (localhost.localdomain [127.0.0.1]) by yxa.extundo.com (8.12.5/8.12.5) with ESMTP id g7FE26i2020954; Thu, 15 Aug 2002 16:02:06 +0200 Original-Received: (from apache@localhost) by yxa.extundo.com (8.12.5/8.12.1/Submit) id g7FE26TU020953; Thu, 15 Aug 2002 16:02:06 +0200 X-Authentication-Warning: yxa.extundo.com: apache set sender to jas@extundo.com using -f Original-Received: from 62.255.241.113 (SquirrelMail authenticated user jas) by yxa.extundo.com with HTTP; Thu, 15 Aug 2002 16:02:04 +0200 (CEST) Original-To: In-Reply-To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46137 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46137 > 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. I think this is conceptually what Hrvoje's patch does. > 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. Send a patch. :-) The suggested filename contains some information though, and Gnus doesn't display it normally, I think, so you'll lose information. Gnus could display the filename below the MIME button or in the minibuffer though.