Re: get subject and from on wl-biff-notify-hook function

Kazuhiro Ito <[email protected]> Fri, 26 Jul 2019 20:33:53 +0900
Newsgroups gmane.mail.wanderlust.general
Message-ID <86h879xc66.wl--xmue__1624.30183715827$1564140907$gmane$org@d1.dion.ne.jp>
> >> I have a notification function that advertises me about new
> >> email. But I have more than one email account. I would like to be
> >> notified with the account, sender, and subject.
>=20
> Kazuhiro> Wanderlust's biff does not get details of new messages.
> Kazuhiro> Probably your notification function need to go into each
> Kazuhiro> folder and update msgdb to get details.
>=20
> Any example to start with? Or something similar to change

[wl-en:04885]
From:Jozef =A9ev=E8=EDk <[email protected]>
Subject: Fwd: biff - auto updating summary view
Date: Mon, 12 Sep 2011 12:01:04 +0200
Message-ID: <87r53mgjvj.wl%[email protected]>

But I haven't read closely.

> Kazuhiro> But it takes much
> Kazuhiro> time and user has to wait while updating.
> Could I just launch an emacs-thread?

Basically Wanderlust is very old software and does not much care
recent Emacs's feature.  If you use concurrency in Emacs Lisp, I guess
there may be more complex problems to be resolved, for example mutual
exclusion between user operarion and biff.

FYI, Wanderlust's biff runs wl-biff-new-mail-hook when new mails are
available, so you could use it.  But the mutual exclusion also should
be considered.

--=20
Kazuhiro Ito