On Friday, March 7, 2003 at 07:10:47, Stefan Reichör wrote: > I use the latest emacs from CVS under windows. I use bbdb > and I found out, that the bbdb append feature does not > work with my emacs. I tried the same feature on my debian > box with the latest debian emacs packages. It works on > debian. > > Here is the recipe for the test (in a bbdb buffer): > I type: > b search-string1 <RET> > + b search-string2 <RET> > > But the second search always clears the first one and I get only the > results of the second search. > > On linux (emacs21.2.2) I get the correct result: > records with search-string1 and search-string2 are shown. > > > I started to debug the bbdb query.
Cool, thanks! > Here is, what I found out: > * In the function bbdb-display-records-1, there is a call to > with-output-to-temp-buffer. > * Before the call to this function, the variable bbdb-records > contains the already visible bbdb-entries. > * After the call to with-output-to-temp-buffer, the variable > bbdb-records is nil > + On linux this variable has still the same value as before > + I fixed the problem with the new variable xbbdb-records > * My question is now, is this a bug of with-output-to-temp-buffer? Well, the docs of with-output-to-temp-buffer do not state if local variables are killed or not, thus there is no clear bug nor guarantee. In CVS there is a new version that does not use with-output-to-temp-buffer anymore. Bye Robert ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/