[comp.mail.elm] Request For 'Read Next Unread' Command

scs@lokkur.UUCP (Steve Simmons) (05/13/89)

In the course of discussing the behavior of ' ', it pointed up
something else useful.  That's a 'read next unread' command.  Consider
this situation:

I use my pending mailbox (/usr/spool/mail/scs, /usr/mail/scs) as
a work tracking tool.  It's kept in reverse date sent order.  Any
unresolved user requests stay in there so I'm always aware of them.
It works pretty well -- I don't lose near as many requests as I used
to, and it requires zero action on my part to maintain the list in
date order.

A lot of mail comes in from users, but a lot also comes from mailing
lists.  Thus items which arrive at the same time may have been posted
as much as five days apart.  This tends to scatter the new mail thru
the mailbox.  My incoming box might look like:

    N  1  May 6  Sender   Topic
    N  2  May 5  Sender   Topic
       3  May 4  Sender   Topic
    N  4  May 4  Sender   Topic
       ...
    O 11  May 4  Sender   Topic
      12  May 4  Sender   Topic
 -> N 13  May 4  Sender   Topic
      14  May 4  Sender   Topic

I like to move from message to message in pager mode, not continually
redrawing the index.  But after reading message 13, I'd like an
equivelent to the 'j/k' or 'k/K' command that would skip up to the next
unread message -- ie, I'd start with 13 and then get 11, 4, 2, and 1.
I'd suggest control-j and control-k as logical candidates.
-- 
Steve Simmons		...sharkey!lokkur!scs      scs@lokkur.dexter.mi.us
  "Gordon Way's astonishment at suddenly being shot dead was nothing to
       his astonishment at what happened next."  -- Douglas Adams

rob@PacBell.COM (Rob Bernardo) (05/15/89)

In article <1463@lokkur.UUCP> scs@lokkur.dexter.mi.us (Steve Simmons) writes:
+  That's a 'read next unread' command.
+I'd suggest control-j and control-k as logical candidates.

Problem with control-j: it's another name for newline, which is already
an elm command.
-- 
Rob Bernardo, Pacific Bell UNIX/C Reusable Code Library
Email:     ...![backbone]!pacbell!pbhyf!rob   OR  rob@pbhyf.PacBell.COM
Office:    (415) 823-2417  Room 4E850O San Ramon Valley Administrative Center
Residence: (415) 827-4301  R Bar JB, Concord, California