Re: Pine and Folder Overviews
- From: NM Public <agorae@xxxxxxxxxxxxxxxx>
- Date: Mon, 20 Mar 2006 08:41:05 +0000
Sur 2006-03-19, Eduardo Chappa skribis:
*** Andreas Haase (baspam@xxxxxxxxxxxxxx) wrote in comp.mail.pine today:
:) Another issue in the patch on your site is, that there isn't displayed
:) the number on unread mails but the one of newly inserted messages since
:) the last "visit" to the folder. I do not really recognize the sense of
:) such a behaviour. But may be I'm the only one who thinks so :-)
This is just what the patch is designed to do. You only get to see when new messages have arrived. This is useful, for me, because I get to see when I have new messages to take care of, instead of the old messages, which I am not interested of anymore. Is it more useful for you to see how many old messages you have in your folders?
Maybe some of the confusion in the above is terminology. Andreas is using these terms:
unread
newly inserted since the last visit
And Eduardo is using these terms:
old
new
Here's what I think you guys mean, using the IMAP terms RECENT and SEEN:
A's "unread" means NOT SEEN
A's "newly inserted since the last visit" means RECENT
E's "old" means NOT RECENT
E's "new" means RECENT
Of course, only you guys know what you mean, but it might help if you both use the IMAP terminology. (Yes, it's true that I have studied too much math & philosophy, and spend too much time thinking about terminology!)
:) > You have to open the folder up to the point to process it, that is
:) > called "read only" mode. In this mode you make minimal parsing of the
:) > folder, up to the point that you can get all the information that is
:) > requested. In some formats this involves to parse the folder
:) > completely (mbox), in some others you only need to count messages
:) > (maildir).
:) >
:) > Maybe you know of a better way to check for the number of new messages
:) > without ever opening a folder (or an index file, etc), but in my opinion
:) > some parsing has to be done and how much has to be done depends on the
:) > storage system.
:)
:) Maybe there are technical reasons for doing it this way. Regarding pine
:) I'm an end user whoh didn't have a look in the code. The feature is one
:) I'd like to have, but I don't know enough about imap server internals.
:) But if it is of any help, the server I'm using is Cyrus IMAPd.
I still do not understand. You have to know, somehow, how many messages there are, and of those how many are unread/recent/etc. Somehow a server or any program has to do its magic. It's not black magic, it's code that runs in the server. If the server maintains a database which can access to give you this report, that's a different issue, but somehow this report must be produced. I still do not understand what you mean.
I think what Andreas is asking for (*) is to be able to specify a Pine collection, let's call it Active, and whenever Pine opens that collection, it automatically checks all the mailboxes in that collection and determines the number of RECENT, NOT SEEN, and total messages and displays this information, e.g. the Pine FOLDER LIST screen would look like this:
mailbox1 (recent/unseen/total)
mailbox2 (recent/unseen/total)
etc.
I don't think he's trying to tell you how to code this, just that this is what he wants and please do whatever needs to be done in the code to do this.
(*) I would like this too!
My guess is that this is much easier to do in Thunderbird than in Pine because Thunderbird caches a lot of mailbox information between sessions.
Just some thoughts, hope it makes sense,
Nancy
--
Nancy McGough ~ <http://www.ii.com> ~ <http://deflexion.com>
.
- Follow-Ups:
- Re: Pine and Folder Overviews
- From: Eduardo Chappa
- Re: Pine and Folder Overviews
- From: NM Public
- Re: Pine and Folder Overviews
- References:
- Pine and Folder Overviews
- From: Andreas Haase
- Re: Pine and Folder Overviews
- From: Eduardo Chappa
- Re: Pine and Folder Overviews
- From: Andreas Haase
- Re: Pine and Folder Overviews
- From: Eduardo Chappa
- Pine and Folder Overviews
- Prev by Date: Re: Pine and Folder Overviews
- Next by Date: Re: Pine and Folder Overviews
- Previous by thread: Re: Pine and Folder Overviews
- Next by thread: Re: Pine and Folder Overviews
- Index(es):
Relevant Pages
|