Re: display of image attachements

Ken Poulton <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
> I'm wondering how image display is controled in exmh (2.7.2). 

I have this in ~/.mailcap:
    image/tiff; xv %s
    image/gif; xv %s
    image/png; xv %s
    image/jpeg; xv %s
    image/bmp; xv %s

I don't recall if I had to do something to get exmh to look at
.mailcap or if that is the default.

Ken Poulton


What is the difference between Mechanical Engineers and Civil Engineers?
Mechanical Engineers build weapons.
Civil Engineers build targets.
    

-------------------
Subject: display of image attachements
From: "Robert Wirth" <[email protected]>
Date: Wed, 25 Apr 2007 14:13:12 +0200
To: [email protected]
Cc: [email protected]

Hi!

I'm wondering how image display is controled in exmh (2.7.2).  The behaviour 
is as follows, when I press "Display inline" in the context menu:

- image/gif: the image is (transformed and) displayed 
	in the main window on place

- image/jpg: the image is displayed in an external xv instance

- image/tif(f): nothing is displayed

I wish xv to be used also for image/tif(f).
I read the code and tried to understand where exmh decides to use 
a real inline display, or to start xv.  
My idea was to make exmh doing the same thing with tiff, as with jpg.
No chance.  There are only few places in the code where 'tiff' resides,
and there's always a 'jpg' close nearby.

Can anyone help me?

	Robert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.