From: Didier Verna <didier@lrde.epita.fr>
Subject: [MAILCAP] filename quoting
Date: 27 Feb 2001 19:23:33 +0100 [thread overview]
Message-ID: <muxlmqsnfx6.fsf@uzeb.lrde.epita.fr> (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
next reply other threads:[~2001-02-27 18:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-27 18:23 Didier Verna [this message]
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
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=muxlmqsnfx6.fsf@uzeb.lrde.epita.fr \
--to=didier@lrde.epita.fr \
/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).