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

Forward: [GitHub] Elmo treats IMAP4 messages flagged as both unseen and answered as seen [wanderlust/wanderlust GH-30]




--- Begin Message ---
I've found that when IMAP4 message is marked as both unseen and
answered, elmo forces it to be marked as seen. The following code
snipped is responsible for it (elmo-imap4.el:942,
elmo-imap4-fetch-callback-1-subr):

    (when (and (or (memq 'important flag-list)
                             (memq 'answered flag-list))
               (memq 'unread flag-list))
        (setq elmo-imap4-seen-messages
                 (cons (elmo-message-entity-number entity) 
                           elmo-imap4-seen-messages)))

I suppose that this behavior is wrong. Here is an example of situation
when this behavior complicates usage of wanderlust: I'm reading lots of
corporate mail lists accessed as IMAP4 shared folders.  When someone
posts reply to some message in such shared folder, it becomes flagged as
answered and unseen until I read it (after which it becomes marked as
answered only). elmo automatically clears 'unread' flag in this case,
which makes wl-summary-down to skip this message - despite the fact that
I haven't read it. So I need to look for such messages manually, which
is very inconvinient...

I don't know whether the behavior of IMAP4 shared folders described
above is common or not, but I still suggest removing of the fragment of
code cited above. Answered doesn't imply seen - because it could be
unseen by you, but answered by someone else - which is quite common in
case of shared folders.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/wanderlust/wanderlust/issues/30
-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com


--- End Message ---