[comp.mail.mh] Emacs mh-e doesn't see messages in +inbox

fwp1@CC.MsState.Edu (Frank Peters) (11/08/90)

Hello,

I'm playing with mh-e in emacs 18.55.  I compiled mh with MHE defined
and have mhe: in my .mh_profile.  When I inc from the shell and look
in +inbox I see a file named ++.

But when I run mh-rmail in emacs I don't see any messages.  If I then use
META-f to rescan the inbox it finds the messages.

So my question is, why doesn't mh-e see the messages in my inbox when
it starts up?

Any suggestions deeply appreciated.

Regards,
FWP
--
--
Frank Peters   Internet:  fwp1@CC.MsState.Edu         Bitnet:  FWP1@MsState
               Phone:     (601)325-2942               FAX:     (601)325-8921

aks@HUB.UCSB.EDU (Alan Stebbens , ks@hub.ucsb.edu) (11/08/90)

> So my question is, why doesn't mh-e see the messages in my inbox when
> it starts up?

When "mh-rmail" starts up it does an "inc" only.  If there is no mail in
your system drop box, then "inc" will find nothing, and you'll get an
+inbox buffer with nothing in it.  All you have to do is M-r (ESC r) to
re-"scan" your inbox.  From this point on, your mh-e +inbox buffer is
synchronized with your MH +inbox folder.  If you thereafter "inc" your
new mail using "i" from the mh-e +inbox folder, you'll be fine.

Alan Stebbens        <aks@hub.ucsb.edu>             (805) 893-3221
     Center for Computational Sciences and Engineering (CCSE)
          University of California, Santa Barbara (UCSB)
           3111 Engineering I, Santa Barbara, CA 93106

brown@cs.utk.edu (Lance A. Brown) (11/09/90)

It is also possible to set a hook to automatically rescan the folder whenever
an "inc" is done to that folder.  The hook is "mh-inc-folder-hook".  I use the
following to set the hook up:

(setq mh-inc-folder-hook
    '(lambda () (mh-rescan-folder "all")) )

Lance
--
------------------------------------------------------------------------------
Lance A. Brown                            brown@cs.utk.edu 
3500 Sutherland Avenue, Apt. L-303	  Graduate Student in Computer Science
Knoxville, TN  37919                      Sun SparcStations are Neat!   
------------------------------------------------------------------------------