Me again; I really seem to have trouble with this.
GNU emacs 19.22, BBDB 1.50
I use
(add-hook 'vm-mode-hook 'bbdb-insinuate-vm)
but putting
(bbdb-insinuate-vm) in "~/.vm" seems to produce the same results.
When I try to enter a VM mail folder, I get the following backtrace:
Signalling: (invalid-function (macro lambda (message) (list (quote aref) (list (quote
aref) message 0) 0)))
vm-start-of([[#<marker at 1 in postkasse> #<marker at 34 in postkasse> #<marker at
2124 in postkasse> #<marker at 2125 in postkasse> #<marker at 4382 in postkasse>
#<marker at 4383 in postkasse>] ["1" " 1" nil nil nil <<>> <-- From_ "0" #<buffer
postkasse> nil nil nil nil nil nil] [nil nil nil nil nil nil nil nil nil] ["2257"
"Thu" "30" "June" "1994" "08:25:59" "+0100" "Bill Benedetto" "[EMAIL PROTECTED]"
"<[EMAIL PROTECTED]>" "49" "Re: How to deal with Smartkey and
Lemacs-button2 \"native\" functions ?" nil nil nil "6" "1994063007:25:59" "How to deal
with Smartkey and Lemacs-button2 \"native\" functions ?" nil
"<[EMAIL PROTECTED]>"] [nil <v> t nil nil]])
bbdb/vm-update-record()
funcall(bbdb/vm-update-record)
mapcar(funcall (bbdb/vm-update-record))
run-hooks(vm-select-message-hook)
[Rest of *Backtrace* deleted]
"(defun bbdb/vm-update-record" contains the following code which I
assume is where the error originates:
;; Select the buffer containing the message.
;; Needed to handle VM virtual folders.
(set-buffer (marker-buffer (vm-start-of msg)))
(widen)
(narrow-to-region (vm-start-of msg) (vm-end-of msg))
(let ((from (mail-fetch-field "from")))
In a Lisp Interaction buffer I find the following
(vm-start-of msg)
#<marker at 1 in postkasse>
(vm-end-of msg)
#<marker at 4383 in postkasse>
(marker-buffer (vm-start-of msg))
#<buffer postkasse>
(set-buffer (marker-buffer (vm-start-of msg)))
#<buffer postkasse>
(list (quote aref) (list (quote aref) message 0))
(aref (aref [[#<marker at 1 in postkasse> #<marker at 34 in postkasse> #<marker at
2124 in postkasse> #<marker at 2125 in postkasse> #<marker at 4382 in postkasse>
#<marker at 4383 in postkasse>] ["1" " 1" nil nil nil <<>> <-- From_ "0" #<buffer
postkasse> nil nil nil nil nil nil] [nil nil nil nil nil nil nil nil nil] ["2257"
"Thu" "30" "June" "1994" "08:25:59" "+0100" "Bill Benedetto" "[EMAIL PROTECTED]"
"<[EMAIL PROTECTED]>" "49" "Re: How to deal with Smartkey and
Lemacs-button2 \"native\" functions ?" nil nil nil "6" "1994063007:25:59" "How to deal
with Smartkey and Lemacs-button2 \"native\" functions ?" nil
"<[EMAIL PROTECTED]>"] [nil <v> t nil nil]] 0))
Trying to evaluate:
(macro (lambda (message) (list (quote aref) (list (quote aref) message 0) 0)))
gives the error message: "Symbol's function definition is void: macro"
so I guess the problem is that this gets funcalled.
Since there are a lot of people who use BBDB without trouble, I wonder
what it is about my setup that causes this. Frankly, I'm stumped.
Could some kind soul please give me some tips about how to proceed
with the investigation?
-- H�vard Fosseng
[EMAIL PROTECTED]