On 09/06/01 04:06 PM, Brendan Cully sat at the `puter and typed:
> I think what you want is the $move option, which you should set to
> 'no'. Also keep an eye out for any mbox-hooks you might have lying
> around.

I think you're right.  Turns out it was turned on.
> the '>'  switches to $mbox, which you aren't interested in. To get back
> to the spoolfile, use '!'.

Ok, will do.

> I don't know exactly what's happening here. Frankly I'm like you and
> have $move perpetually turned off (everything's already filtered to the
> right place), so bugs seem to crop up here more often than usual.
> 
> If you have $move off, $mbox shouldn't even be used. But, one thing I
> can say is mutt's mailbox comparison is exceedingly stupid (basically
> just a strcmp), so to it your $mbox and $spoolfile appear to be
> different mailboxes even though they're not. This is probably what's
> gotten mutt confused and acting weird.
> 
> I'd written about half of a proper mailbox comparison function a couple
> days ago (for a very similar problem), but scrapped it a couple of days
> ago for a less reliable fix (I tried to canonify paths when they were
> entered, so we could use the less expensive strcmp later). It may be
> that was the wrong approach.
> 
> But on the other hand, you might try current CVS and see if it works out
> for you. Oh, one final note: using the imap URL format
> (eg imap:[EMAIL PROTECTED]/INBOX) tends to work a bit
> better, since that's what mutt uses internally.
> 

As I suspected, this problem was mine.  I turned off the move
directive and mbox, and switched the folder and spoolfile to the
format you suggested.  So far it seems to have worked.

One bit of info I forgot to include that may have made it more
obvious, is that when I did change to '>', I wound up in a local file
(~/mbox).  Apparently, since I had move on, but didn't define mbox, it
defaulted to ~/mbox.  I was probably flirting with disaster having it
set back to my spoolfile.

> In short, I don't really know what happened :)

Oh, I don't know.  You seem to have hit the nail on the head! :)
Thanks!

Lou
-- 
Louis LeBlanc       [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://acadia.ne.mediaone.net                 ԿԬ

Of course you can't flap your arms and fly to the moon.  After a while you'd
run out of air to push against.

Reply via email to