Re: Completing records with organization field
"Roland Winkler" writes: > On Sun Nov 20 2011 Philipp Haselwarter wrote: >>> When I try to complete entries without organization everything is >>> normal, I get " FirstName LastName ", but on entries that >>> have an organization set I just get " mail ". >> >> I attached an example bbdb file with a few entries and a recipe to >> reproduce the behavior. >> >> Possible completions are: >> alice@mail.org james.sm...@mail.org >> Emmanuel Leblanc >> emmanuel@uni.frAnon Ymos >> jane@mail.org > > I am sorry, this has nothing to do with the organization field. Yea, I saw that… > For example, Alice Doe does not have an organization field. > What matters is that some names are also part of the email address. > It seems you want bbdb-mail-allow-redundancy set to t. That does precisely what I want! > Actually, I do not know why this variable's default is nil > (well, I guess its default was always nil...) > > Would anybody mind if I set it to t? I guess that's more often > matching the users' expectations. > > Roland I'd strongly recommend changing the default, the way it is now is highly counter-intuitive (for me) and as often, it's hard to find the right option if you don't know what you're looking for (in my case the only obvious difference between the contacts the organization). thanks, -- Philipp Haselwarter -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
On Sun Nov 20 2011 Roland Winkler wrote: > It seems you want bbdb-mail-allow-redundancy set to t. > > Actually, I do not know why this variable's default is nil > (well, I guess its default was always nil...) > > Would anybody mind if I set it to t? I guess that's more often > matching the users' expectations. Actually, I am yet more tempted to replace this variable by bbdb-mail-avoid-redundancy as currently bbdb-mail-allow-redundancy supports not only nil and t, but also mail-only -- which is exactly the opposite you might expect from bbdb-mail-allow-redundancy. Roland -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
On Sun Nov 20 2011 Philipp Haselwarter wrote: >> When I try to complete entries without organization everything is >> normal, I get " FirstName LastName ", but on entries that >> have an organization set I just get " mail ". > > I attached an example bbdb file with a few entries and a recipe to > reproduce the behavior. > > Possible completions are: > alice@mail.org james.sm...@mail.org > Emmanuel Leblanc > emmanuel@uni.frAnon Ymos > jane@mail.org I am sorry, this has nothing to do with the organization field. For example, Alice Doe does not have an organization field. What matters is that some names are also part of the email address. It seems you want bbdb-mail-allow-redundancy set to t. Actually, I do not know why this variable's default is nil (well, I guess its default was always nil...) Would anybody mind if I set it to t? I guess that's more often matching the users' expectations. Roland -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
"Roland Winkler" writes: > On Sun Nov 20 2011 Philipp Haselwarter wrote: >> I got some weird behavior in bbdb3: >> >> When I try to complete entries without organization everything is >> normal, I get " FirstName LastName ", but on entries that have an >> organization set I just get " mail ". >> >> I don't suppose this is a feature? Or did I miss some customization >> variable? > > I guess you need to be more specific here. What command do you > execute under what circumstances? What are your BBDB settings? If > the command was bbdb-complete-mail, I do not quite see how you could > get a mail address not surrounded by "<...>". (Your mail says that > instead you had NO-BREAK SPACEs, which is yet more strange. BBDB > does not deal with the NO-BREAK SPACE character anywhere.) > > Roland I put in the NO-BREAK SPACE to avoid formatting quirks and ambiguity around the quotation marks, didn't actually avoid confusion, huh? :) I attached an example bbdb file with a few entries and a recipe to reproduce the behavior. The steps are: --8<---cut here---start->8--- mkdir fakehome # install bbdb into "fakehome/lisp" cp .bbdb recipe.el fakehome cd fakehome HOME=$(pwd) emacs -Q -l recipe.el --8<---cut here---end--->8--- Most of the contacts offer just the mail address on as completion: --8<---cut here---start->8--- In this buffer, type RET to select the completion near point. Possible completions are: alice@mail.org james.sm...@mail.org Emmanuel Leblanc emmanuel@uni.frAnon Ymos jane@mail.org --8<---cut here---end--->8--- Tested with GNU Emacs 24.0.91.1 and 23.3.1 -- Philipp Haselwarter .bbdb Description: Binary data recipe.el Description: application/emacs-lisp -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Completing records with organization field
On Sun Nov 20 2011 Philipp Haselwarter wrote: > I got some weird behavior in bbdb3: > > When I try to complete entries without organization everything is > normal, I get " FirstName LastName ", but on entries that have an > organization set I just get " mail ". > > I don't suppose this is a feature? Or did I miss some customization > variable? I guess you need to be more specific here. What command do you execute under what circumstances? What are your BBDB settings? If the command was bbdb-complete-mail, I do not quite see how you could get a mail address not surrounded by "<...>". (Your mail says that instead you had NO-BREAK SPACEs, which is yet more strange. BBDB does not deal with the NO-BREAK SPACE character anywhere.) Roland -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Completing records with organization field
Hi, I got some weird behavior in bbdb3: When I try to complete entries without organization everything is normal, I get " FirstName LastName ", but on entries that have an organization set I just get " mail ". I don't suppose this is a feature? Or did I miss some customization variable? BBDB version 3.02 ($Date: 2011/10/10 18:04:34 $) No Gnus v0.18 GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.8) -- Philipp Haselwarter -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/