Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!jarthur!ucivax!gateway From: jns@fernwood.mpk.ca.US (Jerry Sweet) Newsgroups: comp.mail.mh Subject: Re: mh and sequences Message-ID: <9012210938.AA03646@fernwood.mpk.ca.us> Date: 21 Dec 90 09:43:51 GMT Lines: 48 In-Reply-To: Your message of 20 Dec 90 18:21:00 +0000. Well, as far as going one-at-a-time through a sequence, most persons tell me to use mh-e with Gnu Emacs, but I have this csh script, called "consider", that sort of gives you what you want. To use it, just type something like this: consider `pick -subject cerebus` It then creates and pushes to the folder +consider. This folder contains symbolic links to all the selected messages. You can then step through the messages any way that you like. When you're done, just use folder -pop cut here ------------------------------------------------------------------------ #!/bin/csh -f # consider - create a folder for a sequence of messages # jns, 5/9/89 # modified 6/21/90 by jns to do a few sanity checks. # modified yet again 10/12/90 to display only the top folder set considerf=~/Mail/consider if (-e $considerf) then rm -rf $considerf endif if ( $#argv > 0 ) then set messages = ( `mhpath $*` ) else echo "no messages to consider" exit 1 endif if ( $#messages > 0 ) then mkdir $considerf ln -s $messages $considerf folder -push +consider > /dev/null folder first > /dev/null else echo "no messages to consider" exit 1 endif folder -fast