Subject: first unread message

From: [email-masked]
Date: Thu, 25 May 2000 16:13:42 -0700 (PDT)

Hello all, Is there a way to program default action keys when you enter a
mail folder?  Something like the present "startup keys"?

I want to program a key combination  "j 1 <tab>" in each folder so that
when I enter the folder, I'll start with the first unread message, given
that they are sorted by arrival...

-- 
Nemo

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

---

From: Scott Leibrand <[email-masked]>
Date: Thu, 25 May 2000 17:50:47 -0700 (PDT)

You can't do programmable key combos in Pine itself, although some Telnet
programs will do them.

If you use Incoming Folders, you can set:

incoming-startup-rule    =
            Set    Rule Values
            ---  ----------------------
            (*)  first-unseen
            ( )  first-recent
            ( )  first
            ( )  last

But that will only apply to folers in the Incoming Folders collection,
AFAIK.

-- 
Scott Leibrand
[email-masked]            (Yes, that is a valid address.)
http://students.washington.edu/leibrand
* RCW 19.190 notice: This email address is located in Washington State. *
* Unsolicited commercial email may be billed $500 per message.          *

---

From: "Eduardo Chappa L." <[email-masked]>
Date: Thu, 25 May 2000 21:33:57 -0700 (PDT)

*** [email-masked] wrote in the pine-info list today:

:) I want to program a key combination  "j 1 <tab>" in each folder so that
:) when I enter the folder, I'll start with the first unread message, given
:) that they are sorted by arrival...

As Scott pointed out this can only be done with incoming folders only, but
you can change Pine's behavior if you apply that I wrote called "define
your own rules and make pine flexible!" which among ther things allow you
to do so. (actually you can define for each folder which startup position
you want to use). For example if you wanted the same rule to apply to
every folder you would have to define in yout new-rules variable a rule
like:

  _FOLDER_ >> {} => _STARTUP_{first}

  There is a help file with the patch that hopefully teaches you how to
use it. If you have problems/qustions contact me.

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