The attached very minor patch seems to make bbdb-mhe work with both
mh-e 3.8.2 and 4.0. The problem was that 4.0's show-msg leaves us in
the folder window, whereas 3.* left us in the message window (and
later restored us to the folder window via a save-excursion, but that
was outside of the defadvice). This actually seems to work a little
better than the old form under 3.8.2, as there is less confusion over
other-windowness (the bane of bbdb-pop-up).
Jack Repenning M/S 1-875 [EMAIL PROTECTED]
Silicon Graphics, Inc. x3-3027 Off:(415) 390-3027
Visual Magic Division Fax:(415) 390-6056
*** /usr/people/jackr/homeVob/emacs/bbdb/bbdb-mhe.el@@/main/3 Fri Jan 28 11:23:00
1994
--- /usr/people/jackr/homeVob/emacs/bbdb/bbdb-mhe.el Wed Mar 16 21:55:34 1994
***************
*** 149,155 ****
;; Modify mh-display-msg to call mh-show-message-hook after setting up
;; the message
! (defadvice mh-display-msg (after mh-bbdb-display-msg act)
(run-hooks 'mh-show-message-hook))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
--- 149,157 ----
;; Modify mh-display-msg to call mh-show-message-hook after setting up
;; the message
! (defadvice mh-display-msg (around mh-bbdb-display-msg act)
! (save-excursion
! ad-do-it)
(run-hooks 'mh-show-message-hook))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Process diff exited abnormally with code 1