On Sun Sep 25 2011 Leo wrote:
> I am fine with anything that allows one to enter organisation-only
> records nicely. For example, dividing "Lucky Star Buffet Restaurant"
> into firstname and lastname is not nice. We should get rid of that.

Any suggestions what to do?

It seems that again this is a somewhat separate problem. I mean, by
default BBDB uses bbdb-divide-name to divide a name into first and
last name. If a record already exists, you can call
bbdb-record-edit-name with a prefix arg. This way you can edit the
first and last name separately so that you get for sure what you
want. But this requires that the record already exists. There should
also be a mechanism to do such a thing in the first place when the
record is created. (There will always be unusual names where
bbdb-divide-name is bound to fail.)

If a record is created "by hand" using bbdb-create, this command is
too complex for a prefix arg. (It's been using a prefix arg, but in
general it's rather confusing which part of the record creation
should be modified because of the prefix arg.)

A simple solution would be that if the user enters a name string
that contains a special character such as "%" as separator, then
this defines the first and last name. So then you would have to
enter the name as "%Lucky Star Buffet Restaurant". Would this be
useful?

A much fancier solution would be to reimplement bbdb-create from
scratch by using something like a form to fill, similar to what
customize is using. This could be done in a much more transparent
way than the current minibuffer-based approach. Yet I do not know
yet how to deal with things like the street part of an address. The
"customize" approach of adding lines appears a bit clumsy to me if
one wanted to enter more records; but maybe this would be just a
matter of getting used to such a scheme. A similar approach could
also be used for editing records in a more transparent way...

Roland

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of 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-d2dcopy2
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to