On 2007-06-25, Katsumi Yamaoka wrote:

>>>>>> In <[EMAIL PROTECTED]>
>>>>>>  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 
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to