Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!decvax!decwrl!pyramid!uccba!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon Allbery) Newsgroups: comp.emacs Subject: Re: Using mh from emacs Message-ID: <5319@ncoast.UUCP> Date: Sun, 8-Nov-87 15:58:03 EST Article-I.D.: ncoast.5319 Posted: Sun Nov 8 15:58:03 1987 Date-Received: Wed, 11-Nov-87 05:17:26 EST References: <830002@hpcilzb.HP.COM> <437@ucdavis.ucdavis.edu> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.emacs Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 26 As quoted from <437@ucdavis.ucdavis.edu> by windley@iris.ucdavis.edu (Phil Windley): +--------------- | Does anyone use emacs with mh (mail handler)? I would like to be able | to invoke mh from within a currently running emacs process instead of | suspending emacs and typing comp, only to have to wait for another | emacs process to start. Any help would be appreciated. +--------------- Try M-X mh-smail. Or M-X mh-smail-other-window, if you prefer. I have rebound C-Xm, C-Xs, and C-X4s to invoke the MH stuff instead of RMAIL. In case you're interested, the lisp sources are in $EMACS/lisp/mh-e.el. I have a question about mh-e, by the way: I can't see a way to get out of it without doing a switch-to-buffer (C-xb) and naming the buffer; I have kluged around this for now by having C-xr call a function which saves the current buffer in a variable and calling mh-rmail, then setting up an mh-folder-mode-hook which binds 'q' to a function which restores the original buffer after doing a (bury-buffer (current-buffer)). But this leaves (other-buffer) as "scan-+inbox"; I could (bury-buffer (other-buffer)) as well, but what if there are other mh-rmail buffers as well? (Please don't tell me to RTFM; no manual as yet, I'll have to order one.) -- Brandon S. Allbery necntc!ncoast!allbery@harvard.harvard.edu {harvard!necntc,well!hoptoad,sun!mandrill!hal,uunet!hnsurg3}!ncoast!allbery Moderator of comp.sources.misc "This... is the helm." "Unless there've been some changes I don't know about!"