[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Forward: [GitHub] Elmo treats IMAP4 messages flagged as both unseen and answered as seen [wanderlust/wanderlust GH-30]
- To: wl-en@lists.airs.net
- Subject: Re: Forward: [GitHub] Elmo treats IMAP4 messages flagged as both unseen and answered as seen [wanderlust/wanderlust GH-30]
- From: Vitaly Mayatskikh <v.mayatskih@gmail.com>
- Date: Wed, 06 Apr 2011 09:20:35 -0400
- Cc: David Maus <dmaus@ictsoc.de>, Erik Hetzner <egh@e6h.org>, "Herbert J. Skuhra" <hskuhra@fastmail.fm>
- Delivered-to: wl-en@lists.airs.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:message-id:from:to:cc:subject:in-reply-to :references:user-agent:mime-version:content-type :content-transfer-encoding; bh=kY++Bs83xPaUTxSY8O6ASfx+xQV0du+O6jFc+/eVtyk=; b=FteYIprdxavNei/aps1Hkn1o2amoHzvC4IkVdvKcevFcVqssJIJ0guUcsnUs/V8sBN 6puRWpOGz/HTNAOmKrQwE5yCkyBLGqYN4v4MBYmjehZsX8RsfSuFcEXnuDnYdrML3EzO e1WASOtuYhVoxMTgzut62ZJCl0ZsCfR9l6b08=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:message-id:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type:content-transfer-encoding; b=OnWa66WUm6Kcfbw5lOQsIq7PjGplxSPW6Ks407JPtjBEbdV6uqifcIoswXVBalIXKh BokBuPy7+o4B5hd+ivP6vIQrCKm9t1pNkEzmCITpQwJLy4pYoNfNrWlEPH4PXXkvdhkc 47QqrGcpYu5qNfktO6IpiCkvh1TBPOXZdKTrg=
- In-reply-to: <m2zkoji76n.wl%dave@boostpro.com>
- List-help: <mailto:wl-en-ctl@lists.airs.net?body=help>
- List-id: wl-en.lists.airs.net
- List-owner: <mailto:wl-en-admin@lists.airs.net>
- List-post: <mailto:wl-en@lists.airs.net>
- List-software: fml [fml stable 20011102.2100]
- List-unsubscribe: <mailto:wl-en-ctl@lists.airs.net?body=unsubscribe>
- References: <wanderlust/wanderlust/issues/30@github.com> <m2zkoji76n.wl%dave@boostpro.com>
- Reply-to: wl-en@lists.airs.net
- User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.3 Mule/6.0 (HANACHIRUSATO)
At Fri, 25 Mar 2011 10:52:16 -0400, Dave Abrahams wrote:
> From: sgrb <reply+i-703493-079d034f3628f17179246b9a8857caaa4b3e6e9e@reply.github.com>
> To: dave+gitmirror@boostpro.com
> Date: Fri, 25 Mar 2011 02:20:14 -0700
> Subject: [GitHub] Elmo treats IMAP4 messages flagged as both unseen and answered as seen [wanderlust/wanderlust GH-30]
>
> 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.
Looks reasonable. I'm ok to commit change, but would like to hear
people opinion on it.
Guys?
--
wbr, Vitaly