smoot@roger-rabbit.Berkeley.EDU (Stephen [Steve] R. Smoot) (04/13/91)
I just discovered repl -annotate to mark messages as replied to. Is there a particular reason for no show -annotate to make them as having been read? I guess the obvious reason is to make show more efficient. Is there actually a better one (like a philosophical justification)? And yes I know, I could write my own showproc which does it. I just don't want to. -s
khera@cs.duke.edu (Vivek Khera) (04/15/91)
In article <1991Apr13.000254.18825@agate.berkeley.edu> smoot@roger-rabbit.Berkeley.EDU (Stephen [Steve] R. Smoot) writes:
I just discovered repl -annotate to mark messages as replied to.
Is there a particular reason for no show -annotate to make them as
having been read?
I guess the obvious reason is to make show more efficient. Is
there actually a better one (like a philosophical justification)?
And yes I know, I could write my own showproc which does it. I
just don't want to.
-s
here's how i know when i have or have not read a message. in my
.mh_profile, i add the line
Unseen-Sequence: unseen
which puts new messages in the sequence unseen in each folder (as put
there by inc or rcvstore). then a 'scan unseen' will list out the
unseen messages in the current folder. as a convenience feature, i
wrote the following script which i call usmail:
#!/bin/csh -f
# V. Khera
# print out listing of unseen mail in mh folder +inbox
# $Id: usmail.csh,v 1.1 90/11/15 17:36:24 khera Exp $
set foo = `mark +inbox -list -sequence unseen`
if ("$foo[2]" != "(null)") then
echo "Unseen mail (inbox):"
scan unseen
else
echo "No unseen mail in inbox."
endif
when i do a show on the message, it automagically gets removed from
the unseen sequence.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vick Khera, Gradual Student/Systems Guy Department of Computer Science
ARPA: khera@cs.duke.edu Duke University
UUCP: ...!mcnc!duke!khera Durham, NC 27706 (919) 660-6528
allbery@NCoast.ORG (Brandon S. Allbery KB8JRR/AA) (04/16/91)
As quoted from <1991Apr13.000254.18825@agate.berkeley.edu> by smoot@roger-rabbit.Berkeley.EDU (Stephen [Steve] R. Smoot): +--------------- | I just discovered repl -annotate to mark messages as replied to. | Is there a particular reason for no show -annotate to make them as having | been read? +--------------- Look at Unseen-Sequence: in mh-profile(5). (I think that's the name of the manpage.) ++Brandon -- Me: Brandon S. Allbery Ham: KB8JRR/AA on 2m, 220, 440, 1200 Internet: allbery@NCoast.ORG (QRT on HF until local problems fixed) America OnLine: KB8JRR // Delphi: ALLBERY AMPR: kb8jrr.AmPR.ORG [44.70.4.88] uunet!usenet.ins.cwru.edu!ncoast!allbery KB8JRR @ WA8BXN.OH