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

Issue with Filter Folder and wl-folder-empty-trash



Hi,

I've added the follwing filter folders to my config:

/flag:unread/%INBOX	       "Unread"
/subject:[Spam]/%INBOX	       "Spam"

While the first folder works, the 2nd one does not show the correct
message numbers:

Inbox:0/275/1977
Unread:0/275/275
Spam:*/*/1977

When I open&close the Spam folder I get the correct counter:

Spam:0/0/1

But after pressing "s" the counter is wrong again (*/*/1977).
With "S" (wl-folder-sync-current-entity) it also works.

And why does '[Spam]' also match 'Spam'?
Do I need some regex magic here?

There is a bug in wl-folder-empty-trash in Emacs 24.x.
The folder stays open in Folder buffer.


What's the best way to disable the "*trace of SMTP session" buffer in
flim? At the moment I use:

diff --git a/smtp.el b/smtp.el
index fe511e9..dfa07b0 100644
--- a/smtp.el
+++ b/smtp.el
@@ -374,7 +374,8 @@ BUFFER may be a buffer or a buffer name which contains mail 
          (smtp-open-connection (current-buffer) server smtp-service))
        (make-local-variable 'smtp-read-point)
        (setq smtp-read-point (point-min))
-       (funcall smtp-submit-package-function package)))))
+       (funcall smtp-submit-package-function package)
+       (kill-buffer)))))

Thanks.

-- 
Herbert