* Roland Winkler jvax...@tah.bet [2011-12-31 07:50:14 -0600]:
On Fri Dec 30 2011 Sam Steingold wrote:
In that case you might appreciate my shrink-window-if-larger-than-buffer
patch: v2 created a fixed height *BBDB* window, v3 creates a *BBDB*
window half the height of the tallest one. Did you see the
e-mail?
I saw your email. I am simply trying to understand better what kind
of issue (occuring in which context) you want to address.
That specific patch was trying to address the problem where the *BBDB*
window was exactly the same size as the *Article* window, i.e., it would
split the tallest window in half and take of the halves.
Because the horiz-p argument is not always passed, which means that the
my (bbdb-message-pop-up 'horiz) setting is ignored unless *BBDB* window
is popped from a very specific place (which it is not always is).
Also, a function which takes 6 (optional!) arguments is brittle by
design.
Are you talking about bbdb-display-records? When are you using it?
I don't think I am ever calling it directly.
All its args are optional. You must insist on some kind of
non-default behavior when you use its optional args.
My problem with 6 positional arguments is that they are very easy to get
wrong: you have to count them carefully when using, say, the fifth.
The arg horiz-p is really used only by the function
bbdb-mua-auto-update.
And this is the problem. This means that my bbdb-message-pop-up setting
is only respected by bbdb-mua-auto-update, which is wrong.
if you do not want to drop horiz-p altogether, please use my tallest
window approach when horiz-p is nil.
Under what circumstances does it not fit your needs and you want to
call the command bbdb-display-records instead?
Every now and then the *BBDB* window is created by a vertical split
instead of a horizontal one despite bbdb-message-pop-up == horiz.
Happy new year!
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000
http://palestinefacts.org http://www.PetitionOnline.com/tap12009/
http://mideasttruth.com http://honestreporting.com http://www.memritv.org
Good judgment comes from experience and experience comes from bad judgment.
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/