[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disable automatic display of image attachments?



At Fri, 04 Dec 2009 11:40:50 -0800,
Erik Hetzner wrote:
> 
> [1  <text/plain; US-ASCII (7bit)>]
> At Fri, 04 Dec 2009 11:22:47 -0500,
> Bill Powell wrote:
> >
> >
> > Hi! I've just started using Wanderlust, and I'm excited. Thanks for
> > this great program!
> >
> > I'd like to know how to disable the display of image attachments. It's
> > a real pain as I browse through email and stumble on spam.
> >
> > I found one message about this here:
> >
> > http://lists.airs.net/wl-en/archive/200410/msg00032.html
> >
> > But this didn't seem to make a differenc for me. Since that
> > message is from 2004, I thought perhaps the MIME handling has
> > changed since then.
> >
> > What variable would I check to see whether this should happen?
> > Attached PDF files, for instance, are simply listed, and I can view
> > them if I like. It must just be some particular setting to do the
> > same for images, but I'm stumped.
> >
> > Thanks for your help.
> 
> Hi Bill -
> 
> You can try:
> 
> (setq mime-image-format-alist nil)
> 
> in your ~/.emacs file (that is, *before* wl is loaded; ~/.wl does not
> seem to work).
> 
> This may have some negative side-effects, but it seems to work.
> 
> The variable mime-preview-condition controls mime viewing. Setting
> mime-image-format-alist to nil simply inhibits the population of the
> mime-preview-condition with image/* mimetype information.
> 
> best,
> Erik Hetzner
> [2  <application/pgp-signature (7bit)>]
> 

Erik -- thanks so much for the quick response! This works perfectly;
thanks particularly for specifying that this needs to be called in
.emacs before wl is loaded.

Bill Powell