On Wednesday, May 30, 2007 at 00:38:03, Leo wrote:
> > After restarting Emacs, I caught another error:
> >
> > ,----[ error ] | Debugger entered--Lisp error: (error "No buffer
> > named *BBDB*") | bbdb-display-records-1((["eddies" nil nil nil nil
> > nil ("[EMAIL PROTECTED]") (... ...) ["eddies" nil #<marker at 7257 in
> > bbdb> nil]]) nil nil) | bbdb-display-records((["eddies" nil nil
> > nil nil nil ("[EMAIL PROTECTED]") (... ...) ["eddies" nil #<marker at
> > 7257 in bbdb> nil]])) | bbdb("eddies" nil) |
> > call-interactively(bbdb) | execute-extended-command(nil) |
> > call-interactively(execute-extended-command) `----
> 
> Does the following patch looks good:
> 
> 
> --- bbdb.el   30 May 2007 00:05:04 +0100      1.246
> +++ bbdb.el   30 May 2007 00:28:34 +0100      
> @@ -1873,8 +1873,8 @@
>      (if bbdb-multiple-buffers (bbdb-pop-up-bbdb-buffer))
>  
>      (save-excursion 
> -      (set-buffer bbdb-buffer-name)
> -
> +      (set-buffer (get-buffer-create bbdb-buffer-name))

This line does look good, but

> +      (let ((inhibit-read-only t)) (erase-buffer))

this one not.  Why do you want to erase the buffer, it
should not be necessary.

I have committed a sightly different bugfix where the buffer
is created in bbdb-pop-up-bbdb-buffer where I IMHO caused the
problem.

While I was not able to reproduce it here (I always have a
BBDB buffer around :), I hope it fixes it for you.

Thanks for reporting this,
Robert

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to