On Friday, October 25, 2002 at 10:47:58, Patrick Campbell-Preston
wrote:
> 
> A year and a while ago, Robert Fenk dripped support for multiple
> display layouts onto the bleeding edge of BBDB.  At the time, he
> said:
> 
> > The old variables bbdb-elided-display and
> > bbdb-pop-up-elided-display are obsolete now,
> > but still supported by a wrapper.

If I recall it right, I removed it after the "last" official
release Waider hase published.

[...]
>   There still seems to be confusion over 'phone' vs. 'phones' etc -
>   the custom settings use one, the display-layout code seems to use
>   the other.

Oh, that is a bug indeed. 

>   Setting bbdb-display-layout to non-nil, even when you want the
>   default multi-line display, seems to fix a minor bug where
>   bbdb-toggle-records-display-layout fails to do anything the first
>   time you try to toggle in a new BBDB buffer.

Could you provide more info on that, I am not able to
reproduce it.  

>   In using the 'pop-up-multi-line' layout it looks like I'm relying
>   on vestigial code which ended up incompletely supported - but at
>   least it saved me from having to write any new functions.  By far
>   the best thing would be to add 'pop-up-multi-line' to the default
>   bbdb-display-layout-alist and document it properly.

Sure.

>   It might be neat if layout types could inherit behaviour from each
>   other - so you could define multi-line layout as being just the
>   same as full-multi-line but with specific omissions, for example.
>   Not that I'm suggesting that every emacs package of sufficient
>   complexity should end up reimplementing cc-mode, you understand...
> 
>   The instructions above are too complicated.  Upward compatibility
>   is important (even if it's not as important as sensible defaults
>   or coherent documentation).  And we really need some documentation
>   on how to write your own formatting functions.

These are both for the ToDo-List, but probably I have no
time to do it withing the next time/months ... :/

> And lastly, a couple of questions:  
> 
> If a record has several phone fields, is there any way to get only a
> subset of them in my layout?  For instance, imagine I want only
> 'office' phone numbers to appear in the pop-up listing - do I have
> to write my own special purpose formatting function?

No there is no option for this, so this is also for the
ToDo, but you could provide a patch doing it and contribuite
it.  Something like an option (phones-filter
LABEL-REGEXP|FUNCTION)

> I haven't found out how (again, short of hacking the layout
> functions) to get back the blank line which used to be between each
> multi-line record in the BBDB buffer.  Could this be implemented as
> yet another layout option?

This should be a quick one ... 

CU Robert



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to