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

Fwd: biff - auto updating summary view



Hi all,

I have a problem with Wanderlust not updating my summary view.
When I receive new mail, Folders are updated (i.e. I see '0/1/msgcount') for 'inbox',
but summary does not show new message until I press 's' (wl-summary-sync).

Here is the relevant part of my .emacs.
Seems like wl-biff-notify-hook or my-wl-update-current-summaries
does not work as expected.

(defun my-wl-update-current-summaries ()
  (let ((buffers (wl-collect-summary)))
    (while buffers
      (with-current-buffer (car buffers)
        (save-excursion
          (wl-summary-sync-update)))
      (setq buffers (cdr buffers)))))

(setq
; biff
wl-biff-check-folder-list '("%inbox")
wl-biff-check-interval 5
)

(add-hook
 'wl-biff-notify-hook
 '(lambda ()
    (my-wl-update-current-summaries)
    ))

    
Thank you for you help,


Jozef