Gregg Morris writes:
> Before posting this question to the emacs list, start emacs from a
> command line with "emacs --debug-init" -- you may or may not get any
> interesting messages in stderr output.[...]

thanks for your debugging hints.

> Oh -- and what, exactly, happens when emacs "crashes".

Well, emacs with all frames disappears and on the command line I get
an "Abort" message.

I suppose the problem is somewhere in the function 
bbdb/vm-pop-up-bbdb-buffer. If I replace the version in bbdb-2.32 with
the following - suggested in another thread on the mailing list -
everthing is ok.


(defun bbdb/vm-pop-up-bbdb-buffer (&optional offer-to-create)
  "Make the *BBDB* buffer be displayed along with the VM window(s).
Displays the records corresponding to the sender respectively
recipients of the current message.
See `bbdb/vm-get-from-headers' and 'bbdb/vm-get-only-first-from-p' for
configuration of what is being displayed."
  (save-excursion
    (let ((bbdb-gag-messages t)
          (bbdb-electric-p nil)
          (records (bbdb/vm-update-records offer-to-create))
          (bbdb-elided-display (bbdb-pop-up-elided-display)))
      (if (and bbdb-use-pop-up records)
          (progn
            (bbdb-pop-up-bbdb-buffer
             (function (lambda (w)
                         (let ((b (current-buffer)))
                           (set-buffer (window-buffer w))
                           (prog1 (eq major-mode 'vm-mode)
                             (set-buffer b))))))
            ;; Always update the records; if there are no records, empty the
            ;; BBDB window. This should be generic, not VM-specific.
            (if records
                (bbdb-display-records records)
              (bbdb-undisplay-records))

            ;; Without the following, VM's summary buffer tends to get upset
            ;; and stuck in a loop. This may well be an Emacs bug; it goes
            ;; away if you try to (debug) it.
            ;(sit-for 0)
            ))
      )))

_______________________________________________
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to