[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sylpheed
Subject:    [sylpheed:23882] Re: how does sylpheed figure out whether a
From:       Vladi Belperchinov-Shabanski <cade () datamax ! bg>
Date:       2005-01-23 16:52:42
Message-ID: 20050123185242.3c9a97b5.cade () datamax ! bg
[Download RAW message or body]


in each directory (folder) there is file .sylpheed_mark which is list
of integers (4 byte ones). first one is version. then pairs of message
number and flags follow:

VERSION
MSGNUM-1
FLAGS-1
MSGNUM-2
FLAGS-2
...
MSGNUM-N
FLAGS-N

flags are:

    NEW       if flag & ( 1 << 0 );
    UNREAD    if flag & ( 1 << 1 );
    MARKED    if flag & ( 1 << 2 );
    DELETED   if flag & ( 1 << 3 );
    REPLIED   if flag & ( 1 << 4 );
    FORWARDED if flag & ( 1 << 5 );

hope this helps :)

P! Vladi.

On Mon, 3 Jan 2005 11:23:29 +0100
Godwin Stewart <gstewart@bonivet.net> wrote:

> On Sun, 2 Jan 2005 15:54:16 -0800 (PST), Globe Trotter <itsme_410@yahoo.com>
> wrote:
> 
> > I am wondering how sylpheed figures out which of the messages in a folder
> > are unread?
> 
> That information is probably held in the .sylpheed_{mark,cache} files within
> each mail directory.
> 
> -- 
> G. Stewart - gstewart@bonivet.net
> 
> BOFH excuse #82:
> 
> Yeah, yo mama dresses you funny and you need a mouse to delete files
> 


-- 
Vladi Belperchinov-Shabanski <cade@biscom.net> <cade@datamax.bg>
http://cade.datamax.bg/
Cross the ocean deep, wake now from your sleep
Kiss the past goodbye, don't follow empty skies...
                                                    

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic