Recently, Jamie wrote:
Someone send me what they think is the best-working version of
bbdb-mhe.el. I haven't been able to keep track of all the
patches in the last few months.
Here's what I've been using. Everything's in the form of additional
defadvices for mh-e routines. This includes everything I've seen
suggested since I joined the list.
Jack Repenning M/S 1-875 [EMAIL PROTECTED]
Silicon Graphics, Inc. x3-3027 Off:(415) 390-3027
Visual Magic Division Fax:(415) 390-6056
***************
*** 188,193 ****
--- 188,249 ----
(bbdb-read-addresses-with-completion "Redist-Cc: ")
(mh-get-msg-num t))))
+ (defadvice mh-toggle-showing (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-inc-folder (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-visit-folder (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-previous-undeleted-msg (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-next-undeleted-msg (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-delete-msg (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-reply (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
+ (defadvice mh-forward (before mh-bbdb-toggle act)
+ "Turn off bbdb pop up window before the command. Used for commands
+ that (a) get confused by otherwindowness, and (b) will trigger a
+ re-pop-up when they're done."
+ (if (and mh-showing bbdb-use-pop-up)
+ (delete-windows-on bbdb-buffer-name t)))
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; mail from bbdb-mode using mh