Gnus development mailing list
 help / color / mirror / Atom feed
* [MAILCAP] filename quoting
@ 2001-02-27 18:23 Didier Verna
  2001-02-27 18:44 ` Didier Verna
  0 siblings, 1 reply; 7+ messages in thread
From: Didier Verna @ 2001-02-27 18:23 UTC (permalink / raw)



        On my debian system, I can't externally display images that contain
characters requiring quotation (e.g. spaces). The reason is that /etc/mailcap
(which I think is used by gnus) contains stuff like:

image/jpeg; display '%s';             <- note that %s is quoted

However, gnus also takes care of quoting the filename (with mm-quote-arg,
which shell-quote-arg under XEmacs). The filename ends up being quoted twice,
like this:

display '/foo/bar/file\\ name.jpg'


        I'd like suggestions on the better way to fix this. In order to avoid
complex trickery trying to decide whether gnus must quote the filenames, we
could provide a user-variable.

Thoughts ?

-- 
    /     /   _   _       Didier Verna       http://www.lrde.epita.fr/~didier
 - / / - / / /_/ /        EPITA / LRDE         mailto:didier@lrde.epita.fr
/_/ / /_/ / /__ /      14-16 rue Voltaire        Tel. +33 (1) 53 14 59 47
                   94276 Kremlin-Bicêtre cedex   Fax. +33 (1) 44 08 01 99



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-28 20:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27 18:23 [MAILCAP] filename quoting Didier Verna
2001-02-27 18:44 ` Didier Verna
2001-02-27 22:09   ` Kai Großjohann
2001-02-28  8:18     ` Didier Verna
2001-02-28 15:41       ` Kai Großjohann
2001-02-28 16:10         ` Toby Speight
2001-02-28 20:06           ` Kai Großjohann

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).