On 2012-05-29, Xylo Drum wrote:
> I have a pretty much default mutt setup including some very simple
> lines in my .mailcap such as:
> 
> image/jpg; xview %s
> image/jpeg; xview %s
> 
> these work fine for viewing images, but when trying to do a 'l' search
> with a pattern of ~bfoo mutt keeps throwing up
> 
> mailcap entry for type image/jpeg not found

Mutt is looking for a rule in your .mailcap for converting
image/jpeg attachments to plain text.  Such rules must contain the
'copiousoutput' flag.  Unless you have some meaningful way of
generating text from a JPEG image, you may need to add some sort of
no-op rule like this (untested):

    image/jpeg; true; copiousoutput

just to give mutt something to execute.

Regards,
Gary

Reply via email to