Subject: Sort order INBOX/folder

From: Dan Peterson <[email-masked]>
Date: Thu, 19 Oct 2000 19:55:32 -0400 (Eastern Daylight Time)

Is there anyway to use a different sort order in my INBOX (or INBOX) and
folders?

I like to have my INBOX sorted by "arrival", so I can look at the bottom
to see what the latest mail is.

Often times I let email (that I'm supposed to do something with) sit in my
inbox for a while, before I save it to a folder.  But when I go look in
the folder, it appears the "arrival" date is the date it was saved in the
folder, not the date it originally received in the INBOX.

So, I end up sorting a folder by Date every time I go into it.

It would be nice to have a default sort-order for folders (not including
INBOX) that was by "Date", instead of "Arrival".

Anyway to do that?

--
---------------------------------------------------------------
 Dan Peterson ([email-masked]) - AOL, Dulles, VA  703-265-0226
---------------------------------------------------------------

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: "Christopher F. Martin" <[email-masked]>
Date: Thu, 19 Oct 2000 20:30:11 -0400 (EDT)

> INBOX) that was by "Date", instead of "Arrival".

Along these lines, using PC-Pine 4.20, I find that when I sort non-INBOX
folders by 'Date' ($,D), I get an index sorted by true date sent, but when
I sort by 'Arrival' ($,A), it seems to ignore year so that, for instance,
April 1999 and April 2000 messages are sorted one after another, followed
by May 1999. What was the intended difference between sorting by 'Date'
versus 'Arrival'? What is the purpose of 'Arrival' ignoring year or is
this a bug? 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christopher F. Martin
School of Medicine
Center for Gastrointestinal Biology and Disease
University of North Carolina at Chapel Hill
Phone: 919.966.9340	  Fax: 919.966.7592
email: [email-masked]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

---

From: Frank Tobin <[email-masked]>
Date: Thu, 19 Oct 2000 19:41:39 -0500 (CDT)

Christopher F. Martin, at 20:30 -0400 on Thu, 19 Oct 2000, wrote:

> Along these lines, using PC-Pine 4.20, I find that when I sort
> non-INBOX folders by 'Date' ($,D), I get an index sorted by true date
> sent, but when I sort by 'Arrival' ($,A), it seems to ignore year so
> that, for instance, April 1999 and April 2000 messages are sorted one
> after another, followed by May 1999. What was the intended difference
> between sorting by 'Date' versus 'Arrival'? What is the purpose of
> 'Arrival' ignoring year or is this a bug?

Arrival is the order in which messages exist in your Inbox as-is; this box
is simply appended to when new messages arrive.  When sorting by arrival,
Pine likely does not look at any headers whatesover, including the Date.

Sorting by date is sorting by the time which a message was sent.

Both of these bits of information can be found by looking into the help of
the sort-key option in the Configuration.

- -- 
Frank Tobin		http://www.uiuc.edu/~ftobin/

---

From: Frank Tobin <[email-masked]>
Date: Thu, 19 Oct 2000 19:43:19 -0500 (CDT)

> to see what the latest mail is.

According to the help of the "sort-key" option in the Configuration (Main
Menu->Setup->Configuaration), arrival is the default, but it might have
been overriden by a global configuaration for your system, so you can just
re-set your sorting desire in the "sort-key" option.

- --

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 19 Oct 2000 18:24:01 -0700 (PDT)

*** Dan Peterson ([email-masked]) wrote today:

:) Is there anyway to use a different sort order in my INBOX (or INBOX) and
:) folders?

 You can use a patch that I wrote which allows you to do this, (pick the
patch from the address in my signature). It is called "define your own
rules... etc", and in particular you can define specific sort orders for
specific folders, so for example you can have any newsgroup sorted by
OrderedSubject, Inbox, sorted by arrival and saved-messages sorted by
date.

  Once you apply the patch you have to add to your "new-rules"
configuration variables some rules that specify which action is to be
taken. You can add as many rules as you like, only the first one which is
satisfied at any time will be executed.

  For example, this one sorts every folder that is not INBOX by Date.
INBOX will be sorted in the way you specify your default sort, which
is usually by Arrival

_FOLDER_ != {INBOX} => _SORT_{Date}

or this sorts every newsgroup by OrderedSubject

_FOLDER_ == {_NEWS_} => _SORT_{OrderedSubj}

or this sorts saved-messages by From

_FOLDER_ == {saved-messages} => _SORT_{From}

etc, there are much more things you can do with it. I have much more
examples in my web page.

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/

---

From: Dan Peterson <[email-masked]>
Date: Fri, 20 Oct 2000 09:29:23 -0400 (Eastern Daylight Time)

On Thu, 19 Oct 2000, Eduardo Chappa wrote:

>  You can use a patch that I wrote which allows you to do this, (pick
> the patch from the address in my signature). It is called "define your
> own rules... etc", and in particular you can define specific sort
> orders for specific folders, so for example you can have any newsgroup
> sorted by OrderedSubject, Inbox, sorted by arrival and saved-messages
> sorted by date.
> 
> taken. You can add as many rules as you like, only the first one which
> is satisfied at any time will be executed.
> 

This sounds very cool.  Unfortunately, I'm once again hampered by the fact
that I'm using PC-PINE and don't have the source.

Why is it the source for PC-PINE isn't available?

---

From: Gopi Sundaram <[email-masked]>
Date: Fri, 20 Oct 2000 10:29:00 -0400 (EDT)

> Why is it the source for PC-PINE isn't available?

There's a copyright issue with the bundled spellchecker, tha tonly
allows for binary distribution.

-- 
Gopi Sundaram
[email-masked]
http://www.cse.sc.edu/~gopalan/Pine/

---

From: "Daniel Sands" <[email-masked]>
Date: Tue, 24 Oct 2000 13:06:19 -0600

So use a different spell checker, or offer a source version without it.  Or is
it too much integrated into the program?