From: Svend Tollak Munkejord <stm-direct_reply@pvv.org>
To: info-gnus-english@gnu.org
Subject: Re: Problems displaying attached images with spaces in the filename
Date: Mon, 25 Jun 2007 08:46:17 +0200 [thread overview]
Message-ID: <hdd4pkwr0p2.fsf@decibel.pvv.ntnu.no> (raw)
In-Reply-To: <b4md4zku3fc.fsf@jpl.org>
On 2007-06-25, Katsumi Yamaoka wrote:
>>>>>> In <mailman.2559.1182679223.32220.info-gnus-english@gnu.org>
>>>>>> Svend Tollak Munkejord wrote:
>
>> I have a problem with e-mails containing attached images with spaces
>> in the filename. Gnus launches the display program, but instead of
>> showing the image, display shows the "Browse and Select a File" menu.
>
>> In the *Message* buffer, I see something like
>
>> Displaying display 'jpeg:/tmp/emm.6484iRQ/a\ nice\ picture.jpg'...
>
> You seem to have an entry like the following in your mailcap file.
>
> image/jpeg; display 'jpeg:%s'
Not in ~/.mailcap -- I don't know where this is set.
> Gnus quotes spaces with `\' using `shell-quote-argument', so
> quoting a whole argument with '...' is excessive. Since Gnus
> treats '%s' and "%s" as just %s, you can modify it into:
>
> image/jpeg; display jpeg:'%s'
Thank you, this works very well!
> Furthermore, `display' seems to work without specifying image
> types, so it will be able to simplify as
>
> image/*; display '%s'
If I do this in ~/.mailcap, then the system seems to fall back to the
old and wrong default 'jpeg:%s', so I'll use the jpeg:'%s' option for
now.
Thank you,
--
Svend Tollak Munkejord
next prev parent reply other threads:[~2007-06-25 6:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2559.1182679223.32220.info-gnus-english@gnu.org>
2007-06-25 3:19 ` Katsumi Yamaoka
2007-06-25 6:46 ` Svend Tollak Munkejord [this message]
2007-06-24 9:55 Svend Tollak Munkejord
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=hdd4pkwr0p2.fsf@decibel.pvv.ntnu.no \
--to=stm-direct_reply@pvv.org \
--cc=info-gnus-english@gnu.org \
/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).