From: Toby Speight <streapadair@gmx.net>
Subject: Re: Fix displaying attachments with spaces etc.
Date: 15 Aug 2002 13:47:16 +0100 [thread overview]
Message-ID: <s8n0roe1bf.fsf_-_@suilven.cam.eu.citrix.com> (raw)
In-Reply-To: <m3d6smtx2a.fsf@multivac.cwru.edu>
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.
0> In article <m3d6smtx2a.fsf@multivac.cwru.edu>,
0> Paul R. Jarc <URL:mailto:prj@po.cwru.edu> ("Paul") wrote:
Paul> If mailcap weren't so badly designed, it wouldn't be necessary to
Paul> quote anything.
Paul> image/jpeg: display "$filename"
Paul> Then the application would set $filename in the environment. Gnus
Paul> could do this substitution in a similar way to this patch, although I
Paul> don't know whether it's worthwhile since the quoting code is already
Paul> written.
Yeah. I think it's safer (from silly mistakes in the quoting code,
perhaps) to use environmental substitution. This would still require
removal of the single quotes as above, though.
next prev parent reply other threads:[~2002-08-15 12:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 16:02 [patch] " Hrvoje Niksic
2002-08-13 18:28 ` Simon Josefsson
2002-08-13 18:45 ` Alan Shutko
2002-08-13 19:33 ` Simon Josefsson
2002-08-13 18:45 ` Hrvoje Niksic
2002-08-13 18:47 ` Paul Jarc
2002-08-15 12:47 ` Toby Speight [this message]
2002-08-15 14:02 ` Simon Josefsson
2002-08-18 19:30 ` Kai Großjohann
2002-08-19 15:49 ` Toby Speight
2002-08-19 15:54 ` list copies (was Re: Fix displaying attachments with spaces etc.) Sean Neakums
2002-08-19 16:04 ` list copies Toby Speight
2002-08-13 18:52 ` [patch] Fix displaying attachments with spaces etc Björn Torkelsson
2002-12-29 22:50 ` Lars Magne Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s8n0roe1bf.fsf_-_@suilven.cam.eu.citrix.com \
--to=streapadair@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).