Re: First and last names

2012-08-09 Thread Julien Cubizolles
 I just realized that I switched first and last names in my bbdb
 records : I used to use the first field for the last name... Is there an
 easy way to make the switch back on a record, something like a
 bbdb-switch-first-last-name ?

I'm pretty sure you'd have to write this yourself…

Given my (lack of) talent with lisp, I think I'll stick to using macros.

 Also, how to tell where the first name ends and where the last name
 starts when there are spaces in the fields (like John Jack Mc
 Something) ? It seems that bbdb-create prompts for a complete name (both
 first and last names)

See the variable `bbdb-read-name-format', you can set it to ask for
first and last separately.

Thanks, that's exactly what I needed.

Julien.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: First and last names

2012-08-09 Thread Roland Winkler
On Wed Aug 8 2012 Julien Cubizolles wrote:
 I just realized that I switched first and last names in my bbdb
 records : I used to use the first field for the last name... Is there an
 easy way to make the switch back on a record, something like a
 bbdb-switch-first-last-name ?

I am a bit surprised how you possibly achieved this (with either
BBDB v2 or v3). It's hard-coded into BBDB that the first field of a
record holds the first name and the second field holds the last
name. Changing this requires substantial changes in the code.

A completely different thing:

BBDB v3 allows you to display names in different ways, see
bbdb-name-format.  See also bbdb-read-name-format.

Roland

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: First and last names

2012-08-09 Thread Julien Cubizolles
Roland Winkler wink...@gnu.org writes:

 On Wed Aug 8 2012 Julien Cubizolles wrote:
 I just realized that I switched first and last names in my bbdb
 records : I used to use the first field for the last name... Is there an
 easy way to make the switch back on a record, something like a
 bbdb-switch-first-last-name ?

 I am a bit surprised how you possibly achieved this (with either
 BBDB v2 or v3). It's hard-coded into BBDB that the first field of a
 record holds the first name and the second field holds the last
 name. Changing this requires substantial changes in the code.

It's just that I didn't know how it was supposed to be done and I used
to type Kennedy John instead of John Kennedy.

 A completely different thing:

 BBDB v3 allows you to display names in different ways, see
 bbdb-name-format.  See also bbdb-read-name-format.

That's what Eric suggested, and I'm now using this setting.

Thanks.

Julien.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

First and last names

2012-08-08 Thread Julien Cubizolles
I just realized that I switched first and last names in my bbdb
records : I used to use the first field for the last name... Is there an
easy way to make the switch back on a record, something like a
bbdb-switch-first-last-name ?

Also, how to tell where the first name ends and where the last name
starts when there are spaces in the fields (like John Jack Mc
Something) ? It seems that bbdb-create prompts for a complete name (both
first and last names)

Julien.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: First and last names

2012-08-08 Thread Eric Abrahamsen
On Wed, Aug 08 2012, Julien Cubizolles wrote:

 I just realized that I switched first and last names in my bbdb
 records : I used to use the first field for the last name... Is there an
 easy way to make the switch back on a record, something like a
 bbdb-switch-first-last-name ?

I'm pretty sure you'd have to write this yourself…

 Also, how to tell where the first name ends and where the last name
 starts when there are spaces in the fields (like John Jack Mc
 Something) ? It seems that bbdb-create prompts for a complete name (both
 first and last names)

See the variable `bbdb-read-name-format', you can set it to ask for
first and last separately.

Eric


 Julien.

 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 bbdb-info@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bbdb-info
 BBDB Home Page: http://bbdb.sourceforge.net/


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/