nmh-workers
[Top] [All Lists]

Unexpected behaviour of `pick'

1998-02-16 18:31:03

My inbox currently contains 1-100 and 104.  I was rather
surprised to see this behaviour, where given this
.mh_profile entry:

previous-sequence: bang

(I call it bang by analogy with the csh history mechanism)
it appears that `pick' sets bang to all.

I don't think pick _should_ set previous sequence at all,
and if it does it should be to the sequence that is picked.

violet:/u/igb/oncore 09:40:39 (650)
$ cat ~/Mail/inbox/.mh_sequences 
cur: 104
violet:/u/igb/oncore 09:40:43 (651)
$ foo="`pick -from someuser`"
violet:/u/igb/oncore 09:40:47 (652)
$ cat ~/Mail/inbox/.mh_sequences 
cur: 104
bang: 1-100 104
violet:/u/igb/oncore 09:40:49 (653)
$ scan $foo
FOLDER inbox    Mon, 16 Feb 1998 09:40:58 GMT
  77 R   [details deleted]
  78 R   [details deleted]
violet:/u/igb/oncore 09:40:58 (654)
$ cat ~/Mail/inbox/.mh_sequences 
cur: 104
bang: 77-78
violet:/u/igb/oncore 09:40:59 (655)

Attachment: pgpxozN8kH3Ze.pgp
Description: PGP Information

<Prev in Thread] Current Thread [Next in Thread>