Date: Thu, 28 Jul 94 11:33:34 +0200
    From: Paul Rensing <[EMAIL PROTECTED]>

    Is anyone out there using BBDB with MH? I started using it a few
    days ago and had some problems when I started.  BBDB was not
    capturing the addresses from my mail messages; it turned out to be
    a problem of being in the wrong buffer, and I fixed that.

Yes.  I'm assuming that you mean that it wasn't autocapturing, right?
That is, if you type colon (:) in mh-folder-mode, it works, but always
prompts regardless of the value of bbdb-always-add-addresses and/or
bbdb/mail-auto-create-p, right?  Yeah, I've seen that.  Could you
forward your patch?

    Also M-TAB was not bound in mh-letter-mode, and I fixed that.

Hmm.  I hacked up a function which I bind to TAB.  It tries to infer
whether you are in an address field.  If so, it does
bbdb-complete-name, otherwise it inserts a tab (actually it does self
insert).  I've included it at the end of this message.
    
    However, now, if I use mh-reply (ie push "r" in mh), some routine
    fails with "wrong argument type: stringp nil". This occurs after
    the empty reply has created for me, but before the buffer has been
    switched to mh-letter-mode. Also, once I fix the mode, C-c C-y
    (ie. mh-yank-current-message) does not work (it does not have a
    current message).

I do not see these problems.

                        Rick

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

(defun rfb:maybe-bbdb-complete-name ()
  (interactive)
  (cond ((save-excursion
           (beginning-of-line)
           (while (and (/= (point) (point-min))
                       (looking-at "^[ \t]"))
             (forward-line -1))
           (let ((case-fold-search t))
             (looking-at
              (concat "^\\(\\(anon-send-to\\)\\|\\(anon-to\\)\\|"
                      "\\(bcc\\)\\|\\(cc\\)\\|\\(from\\)\\|"
                      "\\(request-remailing-to\\)\\|\\(to\\)\\):"))))
         (bbdb-complete-name))
        (t (self-insert-command 1))))

Reply via email to