[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] attribute_set_seen() in mailbox.c:mailbox_flush, why
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] attribute_set_seen() in mailbox.c:mailbox_flush, why? |
Date: |
Mon, 10 Jan 2005 11:45:42 +0200 |
Andy <address@hidden> wrote:
> all messages are set to "seen" in flush(). Is this right?
I believe it is.
> Also, can anyone say why the "seen" attribute is set in the mailbox
> flush function?
Attribute "seen" indicates that the user is aware of existence of the
message, although he may not necessarily have read it. Mailbox_flush()
is called to flush changes to the mailbox, which means that the mailbox
have been opened and scanned[1], which in turn means that the user has
become aware of the existence of any message in it.
> Is the attached code the right way for doing what i want, as described
> above?
Yes, it is.
Regards,
Sergey
[1] The function was intended for use in interactive applications (MUA),
hence this supposition.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-mailutils] attribute_set_seen() in mailbox.c:mailbox_flush, why?,
Sergey Poznyakoff <=