On Fri Jan 14 2011 Stefan Monnier wrote:
> > No surprise! -- I've never used a minibuffer-only frame.  What kind
> > of behavior would you consider appropriate?  Use a new frame?
> 
> Call display-buffer or pop-to-buffer (this has the major advantage of
> letting the user customize the resulting behavior via
> special-display-regexp).  There can probably be other circumstances
> where split-window fails (dedicated window, maybe, and unsplittable
> frames).  So better do it for all failure cases than only the ones you
> know about.

I've looked at your suggestions more closely. 

The spirit of the current approach in BBDB for displaying buffers is
still the one which I guess was implemented years ago. I guess the
above makes more sense. Yet implementing this properly might break
again some backward compatibility... (And it might take a little
while since I need to understand better how something like
special-display-regexp is supposed to work.)

Oh well, this new BBDB is still in an alpha stage!

> PS: BTW, I suggest the patch below to let users initialize BBDB in their
> .emacs with a single `load' (i.e. without messing with load-path
> themselves):
> 
>  bbdb-autoloads.el: $(DEPSRCS)
>       @-$(RM) $@;
>       @echo "(provide 'bbdb-autoloads)" > $@;
> +     @echo "(add-to-list 'load-path (or (file-name-directory
> load-file-name) (car load-path)))\n\n" >> $@;

Do I understand correctly that the idea underlying your patch is
that the only file the user loads explicitly is bbdb-autoloads.el?

The reason I am aksing is that currently bbdb.el loads
bbdb-autoloads.el and there are no autoload magic cookies in
bbdb.el. Therefore, having only the above patch would not simplify
anything. But with the above patch plus autoload cookies added to
bbdb.el loading bbd-autoloads.el should indeed be sufficient.

Roland

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to