Re: Pine and Folder Overviews



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>
.



Relevant Pages

  • Re: Does arrow navigation work with IMAP folders?
    ... I've been using pine for 8 years by ... ssh'ing to the linux server and keeping my local mailboxes there. ... corporate decisions decomissioned that server and set up an IMAP ... will disappear from the Pine FOLDER LIST when you delete the last ...
    (comp.mail.pine)
  • Re: [kde] Kmail - read messages wont stay read
    ... Kmail - 'read' messages won't stay 'read'': ... those messages instantly change to blue 'unread' again. ... local changes before the local chages are sent to the server. ... It could also happen in IMAP if you end up refreshing the folder before all ...
    (KDE)
  • lost messages
    ... Exchange 2000 Server ... On Sunday two more arrived and I transferred them to the same folder. ... The unread message is still triggering Entourage to mark the folder as ...
    (microsoft.public.mac.office.entourage)
  • Re: how to troubleshoot delayed emails??
    ... another folder now and then seems like a kludgey workaround. ... Firewalls between the client and Exch Server. ... Would you recommend inquiring on an Outlook forum?? ... Outlook client that the "unread count" in folders has changed. ...
    (microsoft.public.exchange.admin)
  • Re: New problem changing servers
    ... Going on NM Public's suggestion, I solved that but now I have to login a second time to the server where the folder collection is stored for a sent message to be saved in my sent mail folder or if I want to move a message out of the inbox to another folder. ... It is usable but enough of an annoyance that my PC Pine users will complain and this only happens with PC Pine. ...
    (comp.mail.pine)