[mew-int 00483] Re: Reloading of real status of folder names

Simon Vostry vostry at example.com
Mon Sep 10 02:12:38 JST 2001


> > I use that. mew is caching approx 20 minutes. Is there a variable,
> > which I can change so it caches 120 minutes?
> 
> (setq mew-passwd-lifetime 12)
> 

Does that mean, that 'mew-passwd-lifetime' accepts value which is 10
times number of minutes?

> > I have this in my .mew.el file:
> > 
> > (setq mew-use-cached-passwd t)
> > (setq mew-use-biff t)
> > (setq mew-pop-biff-interval 5)
> > Does this mean automatic mail checking every 5 minutes? It is not
> > doing anything :-(
> 
> Biff works only when a password cache is valid.
>
Now I have following in my .mew.el file:

(setq mew-use-cached-passwd t)
(setq mew-use-biff t)
(setq mew-pop-biff-interval 1)
(setq mew-passwd-lifetime 120)

The password caching works great now, I don't have to retype my
password anymore, but no automatic message popping works :-(

> > I would have one more question. I would like to use my favorite
> > antiword program to see .doc documents like text files. Is there a way
> > to tell mew when the attachment is .doc (Application/Msword) that on
> > <Space> it executes an external command on the mime attachment?
> 
> No. If you want, I will add a hook. Please suggest me where I should
> insert it.

Well I have the following idea. We all receive sometimes attachments,
that we want to see fast. I personally receive several Msword
documents a day :-( and I don't want to constantly save them
somewhere and then read them outside my mail program. The same applies
with .rtf .pdf and we could find many others...

So, my suggestion would be (if it is not partly implemented) to create
some kind of configuration array where we could specify based on
attachment type which 'filter' to apply before displaying as an
ordinary message.

What I mean is, that I use often great programs like pdftotext,
antiword etc. which are parsing the .pdf and .doc into a cleartext
standard output.

Now, when I receive a .doc file, I got the following screen:

To display this, install Mule-UCS for UTF-8.
To display this, install "wvHtml".
To display this, install "w3m.el".

To save this part, type 'y'.
To insert this part in Message mode, type 'C-c TAB'.
To execute a specified external command, type 'C-c C-y'.
To display this part as a specified Content-Type:, type 'C-u C-c C-e'.

I looked in mew sources and I found there the part, which is seeking
the Mule-UCS for UTF-8, wvHtml and w3m.el.

It would be nice, if users of mew could define themselves which
programs to apply on different attachment types.

Then the screen could offer next to the 'y', 'C-c TAB' and others also
something like:

To view the file in cleartext parsed by your selected filter type <space>
(or something like that).

I would like all mew users who are somehow interested in this feature
to contribute with ideas how it can be done. This is just a
suggestion.

I'm not familiar with elisp, but I'm happy to help with testing.

Just imagine -- viewing all these files in different formats without
leaving your emacs and mew ;-)

Simon Vostry



More information about the Mew-int mailing list