Re: Why V3

2012-07-07 Thread Johnny
Hi Roland,

Sorry to drag this up again, but...

Roland Winkler wink...@gnu.org writes:

 By now, unless someone on this list brings up problems with BBDB v3
 that remained unnoticed so far, I do not have plans to further
 modify the code of BBDB (except for fixing docstrings that could
 still be buggy / incomplete). In particular, I do not want to
 introduce any additional incompatible changes beyond the ones
 present in the current code.

I would really like to see the compatibility with lookout.el and csv.el
to be restored, if possible. This is the only way I see now for contacts
import/export with Outlook, unless on a Windows machine. [1] [2]


Thanks for your consideration!

Footnotes: 
[1]  http://www.emacswiki.org/emacs/BbdbImporters#toc7
[2]  
http://www.mail-archive.com.ar/bbdb-info@lists.sourceforge.net/msg05708.html

-- 
Johnny

--
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: bbdb-add-new-field missing in bbdb3 (using lookout.el and csv.el fails)

2012-06-04 Thread Johnny
Johnny yggdra...@gmx.co.uk writes:

 otherfields. It seems these are added to the 'bbdb-props' list, and I

This should be 'bbdb-propnames', sorry for the typo!


-- 
Johnny

--
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: BBDB 3 and lookout.el (importing .csv file into bbdb contacts)

2012-05-08 Thread Johnny
Hi Sriram!

Sriram ET. karra@gmail.com writes:

 I envisioned being able to sync my work contacts, normally managed
 by Outlook, with my personal contacts, managed normally through
 BBDB. Maybe having all (synced) Outlook contacts on a usb and
 carrying around.

 How is Outlooking managing your contacts if you are running Linux? The work
 flow I have built the application for is: On Windows (where you use your
 Outlook), you can sync to a .bbdb file that can be shared through a common
 partition on Linux - and access it via Emacs when you boot into Linux, or keep
 that file on Dropbox or some such thing. You do not really need anything else
 on Windows (not even Emacs or BBDB elisp files). In other words, instead of
 carrying around a synced PST, you would carry around a synched .bbdb file. 
 Does
 that make sense?


Yes, it makes sense and seems reasonable. The main problem I have with
using Windows, is that it is on a corporate machine I have no control
over and extremely limited access to (I guess, a standard office
computer these days) that I have to use for work, hence contacts getting
into Outlook. Some of those, I want to have access to at home on my
Linux box. Hence the idea to keep a contacts file in pst format on a
USB-stick and sync the data at home where I can configure the necessary
applications. 

Of course, if I could configure the Windows machine that would be a
daisy! :)

-- 
Johnny

--
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: BBDB 3 and lookout.el (importing .csv file into bbdb contacts)

2012-05-07 Thread Johnny
Sriram ET. karra@gmail.com writes:

 On Mon, May 7, 2012 at 12:39 AM, Johnny yggdra...@gmx.co.uk wrote:
  

 Just need some help getting it up and running on Linux please...

 Oops :)

 Outlook support in ASynK/Gout uses the MAPI API (through the python bindings 
 of
 the excellent pywin32 package), which means it was designed to run on Windows.

:(

No plans / possibilities to get it running on Linux in the future? I
guess a bi-directional sync on Linux may seem a little funny, but I
envisioned being able to sync my work contacts, normally managed by
Outlook, with my personal contacts, managed normally through BBDB. Maybe
having all (synced) Outlook contacts on a usb and carrying around.

It seems I have to get 'lookout.el' working after all... 

-- 
Johnny

--
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/

BBDB 3 and lookout.el (importing .csv file into bbdb contacts)

2012-05-06 Thread Johnny
Hi all,

I have tried for some time to get lookout.el to import my contacts from
a csv-file into bbdb, but am on the verge of giving up, so before
finally ditching the attempts (again); Is there *anyone*
out there that have successfully migrated .csv contacts into bbdb (bbdb
3), and how?


PROBLEM: I have a lot of legacy contacts in outlook, and want to get all
this into BBDB.

TRIED SOLUTION: The best method I have found seems to be to export
from outlook to .csv format and then use lookout.el (which requires
csv.el) to import the csv-file into bbdb. After failing to import the
csv-file generated by outlook, I tried a minimal example to get the
import working as below:

1. Obtain csv.el [1] and lookout.el [2], put these in emacs load path
and include them in init.el.

2. To make lookout read the csv-file, I created a new variable in
init.el and then set the lookout-bbdb-mapping-table to use it.
,
| (defconst lookout-bbdb-mapping-table-outlook-english
|   '(
| (firstname First Name)
| (lastname Last Name)
| (phones Home Phone)
| (net E-mail Addres)
| 
| (company company)
| (addr1 addr1)
| (addr2 addr2)
| (addr3 addr3)
| (notes notes)
| (otherfields otherfields)
| )
| this is a description of the variable
| )
`

,
| (setq lookout-bbdb-mapping-table 'lookout-bbdb-mapping-table-outlook-english)
`

3. Creating a dummy file with only one entry below row with field specifiers
,
| First Name,Last Name,Home Phone,E-mail 
Address,company,addr1,addr2,addr3,notes,otherfields
| John,Doe,+1 (555) 555 
555,john@dummy.web,johns_company,johns_addr1,johns_addr2,johns_addr3,johns_notes,johns_otherfields
`

4. Running 'lookout-create-bbdb' from emacs and pointing to this file generates
 the following errormessage 
,
| Wrong number of arguments: #[(record field contents) Ä=ƒn   
‰ÆH)ƒÇÈ!ˆ;ƒÉÄ\ʉƒ^
@‰  Ë—(\)Ì)!ƒO   )J?…T))JBL‚T)CL)ˆ*A‰„%*  
*‰Æ*Iˆ*‚£Í=ƒÞ ‰ÎH)ƒÇÏ!ˆ;ƒ‹ÉÍ\Ê
‰ƒÎ
@‰
Ë—(\)Ì)!ƒ¿   )J?…Ä))JBL‚Ä)CL)ˆ*A‰„”*  
*‰Î*Iˆ*‚£Ð=ƒû ‰‰ÑH)C¤*‰Ñ*Iˆ*‚£Ò=ƒ  ‰‰ÓH)C¤*‰Ó*Iˆ*‚£Ô=ƒÏ  
‰ÕH)ƒ+ÇÖ!ˆ;ƒ5ÉÔ\+ƒtʉƒs
@× ‰…WØ—(\J)\‰,ƒkÇÙÚÛ,Ü##ˆ)A‰„C*ʉƒ·
@‰ Ë—(\)Ì)!ƒ¨   )J?…­))JBL‚­)CL)ˆ*A‰„}*  *-„ÅÝ-
| Õ*Iˆ*‚£Þ=ƒ~  ‰ßH)ƒâÇà!ˆ;ƒìÉÞ\+ƒ+ʉƒ*
@× ‰…Ø—(\J)\‰,ƒ\ÇáÚÛ,Ü##ˆ)A‰„ú*ʉƒn
@‰ Ë—(\)Ì)!ƒ_   )J?…d))JBL‚d)CL)ˆ*A‰„4*  
*‰ß*Iˆ*‚£.ƒž‰âH)žƒ•Çã\ˆä  #ˆ‚£Çå\ˆæ   !ˆÊ/ç   !)‡ [field 
record vector contents affix --dolist-tail-- 2 error Affix field exists 
already bbdb-split ...] 8 (/usr/local/share/emacs/bbdb3/bbdb-com.elc . 
30265) (let* ((_ (bbdb-editable)) (record (or (bbdb-current-record) (error 
Point not on a record))) (list (append bbdb-notes-label-list (quote (affix 
organization aka phone address mail (field ) (completion-ignore-case t) 
(present (mapcar (quote car) (bbdb-record-notes record))) init init-f) (if 
(bbdb-record-affix record) (push (quote affix) present)) (if 
(bbdb-record-organization record) (push (quote organization) present)) (if 
(bbdb-record-mail record) (push (quote mail) present)) (if (bbdb-record-aka 
record) (push (quote aka) present)) (dolist (field present) (setq list (remq 
field list))) (setq list (mapcar (quote symbol-name) list)) (while (string= 
field ) (setq field (downcase (completing-read Insert Field:  list (if 
(member (intern field) present) (error Field \%s\ already exists field)) 
...)], 1
`

5. lookout.el is using a function 'bbdb-add-new-field'  which I cannot
find in bbdb-com.el; could this be related? 


Thanks in advance for any ideas!


Footnotes: 
[1]  http://ulf.epplejasper.de/downloads/csv.el
[2]  http://ulf.epplejasper.de/downloads/lookout.el

-- 
Johnny

--
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: BBDB 3 and lookout.el (importing .csv file into bbdb contacts)

2012-05-06 Thread Johnny
Sriram ET. karra@gmail.com writes:

 On Sun, May 6, 2012 at 8:54 PM, Johnny yggdra...@gmx.co.uk wrote:

 Hi all,

 I have tried for some time to get lookout.el to import my contacts from
 a csv-file into bbdb, but am on the verge of giving up, so before
 finally ditching the attempts (again); Is there *anyone*
 out there that have successfully migrated .csv contacts into bbdb (bbdb
 3), and how?

 I have not migrated a CSV, but...

 I am about 7-10 days from announcing a two way sync tool for BBDB/Outlook/
 Google Contacts, i.e. you can do bi-directional sync between any two folders
 across any two different databases. 

 If you are interested in trying out a bleeding edge version of my code, it is
 available at: https://github.com/skarra/Gout Documentation is very incomplete,
 but if you would like to try this out, we could talk offline and I can help 
 you
 get it set up.


Wow, this is what I first looked for, but found none available! I am
pulling your code now and will be excited to try it out - too long time
have I had contacts scattered in various places and it is time to bring
them all together. Clearly BBDB is the preferred tool, but a two-way
sync to Outlook is almost invaluable as this is where I have to spend
work. Altough I have deferred using google for contacts, this may
provide the wholy trinity with www-available contacts! 

Just need some help getting it up and running on Linux please...

Thanks, great initiative!

-- 
Johnny

--
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: State of the art of Bi-directional sync for BBDB and other contact apps

2012-03-10 Thread Johnny
Carson Chittom car...@wistly.net writes:

 Sriram ET. karra@gmail.com writes:

 Hi, I am trying to determine there is a recommended utility that does
 bi-directional sync between BBDB and any of the other popular contact apps
 like Outlook, Gmail, Apple Address Book, etc.?

 I see a number of export and import, which is typically uni-directional.
 Just checking what is out there, before I think of any heavy
 self-customization.

 I've wanted this also for a while.  Unfortunately, from what I've seen
 searching Google, what we want doesn't (yet) exist.  (Though I'd love to
 be corrected.) 


I have also been considering how to do this for a while, but have not
found a way. I am currently considering using 'lookout.el' [1] to import
my contacts to bbdb, but I don't think export is possible, so this would
be unidirectional only. Even so, I'd be curious to know if there is any
better / other option for contacts import?


Footnotes: 
[1]  http://ulf.epplejasper.de/downloads/lookout.el

-- 
Johnny

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Initial Texinfo Manual

2011-11-29 Thread Johnny
Philipp Moeller bootsare...@googlemail.com writes:

 I set up an initial texinfo manual and adjusted the Makefile to install
 it. The outline is based on what used to be in the old manual and I'll
 start writing the Introduction tomorrow. As I'm not yet very familiar
 with BBDB some help would be appreciated.

 Feel free to pull the commits you like from:
 https://github.com/bo0ts/bbdb-v3

Looks like a place to start, great! 

- Is the intention to mainly develop the doc in this repository and then
merge to Savannah?

- Presumably the old doc can still serve as an inspiration, or is there
any restrictions on replication?

I am happy to help out on this, but may take some time to get up to
speed, as I have limited (i.e. no) experience with collaborating through
revision control, so will learn as I go. I guess a start could be to
capture some of the issues from the list and just drop it into the
(approximately) appropriate sections and restructure and reorganise as
it develops, plus as mentioned inspiration from the old manual?

-- 
Johnny

--
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: Manual for BBDB 3

2011-11-20 Thread Johnny
Philipp Moeller bootsare...@googlemail.com writes:

 Carson Chittom car...@wistly.net writes:

 Philipp Möller bootsare...@googlemail.com writes:

 I'm new to BBDB and confused by which manual to use for which version.

 From interactions on this list, it appears that most-to-all of the old
 manual is invalid for BBDB3.

 So for now it is just looking at source and figuring things out.


Please don't disregard the old manual completely, but read with caution!

I have learned to use BBDB 3 pretty much from the old manual, so it's
certainly a reasonable place to start. There are some breaking changes
in variable names, and that's where looking at the docstrings / source
or eventually the mailing list comes in.

If you have the time, keep notes of the changes as you learn; these will
be useful for updating the manual. I asked about this previously, but it
seems an update is (understandably) not on top of the todo list. 

I guess if the info files are included in git, maybe someone else than
the main developer(s?) could work on it? I wouldn't mind trying to help,
but have limited experience.

The only note (unfortunately) I have kept is below.

,
| ;(add-hook 'message-setup-hook 'bbdb-define-all-aliases)   ; BBDB 2.35
| (add-hook 'message-setup-hook 'bbdb-mail-aliases) ; BBDB 3.x
`

Also, I think the set-up has changed; see a recent message on the list
on this.

-- 
Johnny

--
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: stop bbdb from asking questions in gnus

2011-11-10 Thread Johnny
Thorsten quintf...@googlemail.com writes:

 I successfully installed bbdb 3 for the use with gnus. But the default
 behaviour might almost be considered a bug - the whole workflow in gnus
 is destroyed by bbdb constantly asking if I want to add some post or
 email author to the database. I almost never want to do that. 

 Therefore I have two questions:

 1. how can I turn this behaviour off? 

Does this setting do it?

,
| (setq bbdb-use-pop-up nil)
`


 2. is it reasonable to habe that kind of behaviour as a default? Is
there anybody who would want that?


Agree.

Regards
-- 
Johnny

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Johnny
Thorsten quintf...@googlemail.com writes:

 I think I found the culprit. I'll give it a try and let you know.

 ,-
 | bbdb/gnus-update-records-p is a variable defined in `bbdb-gnus.el'. 
 | Its value is
 | (lambda nil 
 | (let
 | ((bbdb-update-records-p 'query))
 | (bbdb-select-message))) 
 | 
 | 
 | Documentation:  
 | How `bbdb-mua-update-records' processes mail addresses in Gnus. 
 | Allowed values are: 
 | nil  Do nothing.
 | search   Search for existing records.   
 | queryUpdate existing records or query for creating new ones.
 | create or t  Update existing records or create new ones.
 | A function which returns one of the above values.   
 | 
 | You can customize this variable.
 `-

 Problem solved, now I can use gnus without any (unwanted) interference
 from bbdb again. Only have to find out, how the wanted interference
 works. 


Interesting, I will have to review my BBDB config properly some day, but
below is what I have today and I do not get queried about updating
records (without setting the above and using BBDB 3.02)?

Anyhow, FYI and if it makes sense (doesn't to me though..).

,
| (require 'bbdb)
| (require 'bbdb-autoloads)
| (bbdb-initialize 'gnus 'message)
| 
| (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus 'bbdb-insinuate-message)
| 
| (setq bbdb-north-american-phone-numbers-p nil)
| (setq bbdb-check-zip nil)
| 
| (setq bbdb-complete-name-allow-cycling t)
| (setq bbdb-complete-mail-allow-cycling t)
| 
| (setq bbdb-use-pop-up nil)
| 
| (setq bbdb-pop-up-window-size 5)
`

Best,

-- 
Johnny

--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: setting up BBDB 3 with Gnus on WinXP

2011-09-13 Thread Johnny
Carson Chittom carson.chit...@mspb.ms.gov writes:

 Antoine Levitt antoine.lev...@gmail.com writes:

 13/09/11 15:27, Carson Chittom
 -=-=-=-=-
 (add-to-list 'load-path C:/Documents and
 Settings/carson/Utilities/bbdb/lisp)
 (require 'bbdb)
 (bbdb-initialize 'gnus 'message)
 (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)
 -=-=-=-=-

 That setup is obsolete, just remove

 (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus)

 Removing this line doesn't change anything; I get the same error.

 and it should be fine. If that helps, my setup is

 (require 'bbdb)
 (bbdb-initialize 'gnus 'message)
 (bbdb-mua-auto-update-init 'gnus 'message)

My setup is

(require 'bbdb)
(require 'bbdb-autoloads)
(add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus 'bbdb-insinuate-message)
(bbdb-initialize 'gnus 'message)

Slight variation here, not sure which is more correct, and without any
further consideration of obsoleteness, this setup works. On BBDB 3.02
that is.

 Adding the last line you have here gives me an error also.  Running
 emacs --debug-init gives me 

 -=-=-=-
 Debugger entered--Lisp error: (void-function bbdb-mua-auto-update-init)
   (bbdb-mua-auto-update-init (quote gnus) (quote message))
   eval-buffer(#buffer *load* nil c:/Documents and
 Settings/carson/Application Data/.emacs nil t) ; Reading at buffer
 position 578
   load-with-code-conversion(c:/Documents and
 Settings/carson/Application Data/.emacs c:/Documents and
 Settings/carson/Application Data/.emacs t t)
   load(~/.emacs t t)
   #[nil \205\264
 -=-=-=-

 I'm not sure what that means.  I'm going to try updating to the latest
 in the git repository and see if that fixes things (when I started
 trying to get this working this morning, I thought I had a fairly recent
 checkout, but it actually seems to be from about a month ago).

For what it's worth, I don't use that function either. 


-- 
Johnny

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerryreg; mobile platform with sessions, labs  more.
See new tools and technologies. Register for BlackBerryreg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Aliases questions (autocompletion)

2011-08-01 Thread Johnny
Roland Winkler wink...@gnu.org writes:

 On Sun Jul 31 2011 Johnny wrote:
 I have started using aliases in bbdb and wonder if there is any setup to
 autocomplete on defined aliases in the headers? Say, I have an alias
 named listofmembers and want to mail them. I add this mail-alias field
 to all relevant contacts, then in the To header type the full alias
 listofmembers followed by TAB, this fills in the To header with the
 group members email as expected. However, I would like to enable TAB
 completion on alias names, e.g. if I type lis and TAB this should
 ideally fill in the rest. Is this possible to achieve?

 This has (almost) nothing to do with BBDB. The mailabbrev package is
 doing this (both when you define aliases via a .mailrc file or via
 BBDB).

 You can use mail-abbrev-complete-alias from that package (I think,
 usually bound to M-Tab). If you also want to use bbdb-complete-mail
 things get a bit more complicated, as you need to specify some order
 for completion (whether mail-abbrev-complete-alias or
 bbdb-complete-mail should try first). Try something like

 (defun my-bbdb-complete-mail ()
   (interactive)
   (or (mail-abbrev-complete-alias)
   (bbdb-complete-mail)))

This got me on the right track in learning about abbrevs, thanks! I
could get this working by binding in .gnus.el as: 

(setq message-setup-hook
  '(lambda ()
 (define-key message-mode-map \M-\t 'my-bbdb-complete-mail)))

This will of course only complete on the first match, i.e. if there is
an alias starting with 'lis', any bbdb record starting with 'lis' will
not be displayed. However, pure TAB completion works on bbdb records
only (Is this default bbdb or have I put something in my init to change,
I am not sure? Note to self: Have to clean these out someday).

Thus, I ended up just binding M-TAB to mail-abbrev-complete-alias. If I
want to complete on a name, I use *TAB*, if an alias just *M-TAB*. It
might be nice to make aliases and names all appear by the same
completion (like cycling), but this seems like overkill at the moment.

 Second question, is there a clever way to list all mail aliases in BBDB,
 and subsequently list all members of o select mail alias?

 How about bbdb-search-notes (bound to S N)?  If you want to list just
 the aliases, but not the records using them, you might have to write
 your own code.
Yes, this is exactly what I was looking for! I now can use this to get
my desired records (i.e. aliases) in the BBDB buffer, then return to my
Message buffer and do bbdb-yank-addresses to do the same as above, in a
different way!

Thanks for your accurate pointers Roland, right on target!

-- 
Johnny

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Aliases questions (autocompletion)

2011-07-31 Thread Johnny
Hi all,

I have started using aliases in bbdb and wonder if there is any setup to
autocomplete on defined aliases in the headers? Say, I have an alias
named listofmembers and want to mail them. I add this mail-alias field
to all relevant contacts, then in the To header type the full alias
listofmembers followed by TAB, this fills in the To header with the
group members email as expected. However, I would like to enable TAB
completion on alias names, e.g. if I type lis and TAB this should
ideally fill in the rest. Is this possible to achieve?

Second question, is there a clever way to list all mail aliases in BBDB,
and subsequently list all members of o select mail alias?

I am using bbdb 3.02 with No Gnus 0.18.

Thanks!
-- 
Johnny

--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-pop-up-target-lines

2011-06-24 Thread Johnny
Masaru Nomiya nom...@galaxy.dti.ne.jp writes:
 I'm using the very latest bzr of Emacs (24.0.50).
Which version of bbdb are you using?

 On it, I'm setting;

 (setq bbdb-use-pop-up t)
 (setq bbdb-po-up-target-lines 7)
In bbdb 3 this variable is changed and should be 

(setq bbdb-pop-up-window-size 5)

 Has anyone solved this problem?
If you still use bbdb 2.35, it looks ok to me (except your typo (?) that
should be 'bbdb-pop-up-target-lines').

Cheers,
-- 
Johnny

--
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. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


org-bbdb-anniversaries gives error 'bad sexp'

2011-05-14 Thread Johnny
I just went back to bbdb 3.02 after having lingered with bbdb 2.35 for a
while. 

I have set up an org-agenda that includes anniversaries in the agenda
view from the bbdb database, but this breaks with bbdb 3.02 giving the
error 'bad sexp'. 

I set up the agenda file using (from org-mode 6.33x info section 10.3.1):

* Anniversaries
:PROPERTIES:
:CATEGORY: Anniv
:END
%%(org-bbdb-anniversaries)

Any ideas?

Thanks!
-- 
Johnny

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


BBDB 3.02 bbdb/gnus-edit-notes not working

2011-02-16 Thread Johnny
Ok, so I have reverted to bbdb 2.35 to test the ';'
(bbdb/gnus-edit-notes) functionality, and using this function adds the
sender to the database if not already present, as explained in the info files. 

This function is broken in bbdb 3.02 as the ';' does not add the sender
to the database. 

Cross-posting (let me know if this is wrong) to the gnus mailing list,
if some experience Gus user has resolved this. 

Previous said on this topic as below...

Roland Winkler wink...@gnu.org writes:
 On Wed Feb 2 2011 Johnny wrote:
 Roland Winkler wink...@gnu.org writes:
 
 Further, I don't understand how to get the bbdb/gnus-show-sender to add
 unknown addresses; 
 [snip]

 However, browsing the lisp code, I assume that the following is actually
 invoked (?) which seems to simply return nothing if the sender is not
 found, as opposed to adding the sender:
 
  (defun bbdb/gnus-summary-sender-in-bbdb (header)
Given a Gnus message header, return a mark if the poster is in the BBDB,
  \ \ otherwise.  The mark itself is the value of the field indicated
  by `bbdb/gnus-message-marker-field' (`mark-char' by default) if the
 indicated field
  is in the poster's record, and `bbdb/gnus-summary-known-poster-mark'
 otherwise.
  
 
 Is there something I am missing here, as I believe there ought to be a
 fast and easy method to do exactly what is stated in the manual;
 i.e. look up an address, and if it doesn't exist, volunteer to add
 it.

 The generic command for this is now bbdb-mua-display-sender.
 In Gnus, BBDB binds this command to ;.

 Unfortunately I am not a more experienced Gnus user, and there is a
 nasty technicality about keybindings in Gnus that I do not yet
 understand myself:

 While bbdb-insinuate-gnus contains the line

   (define-key gnus-summary-mode-map : 'bbdb-mua-display-sender)

 the command `gnus-article-read-summary-keys provides an additional
 wrapper for bbdb-mua-display-sender which restores the windwo
 configuration if this command is invoked from within a Gnus
 *Article* buffer.  So the command bbdb-mua-display-sender has not
 quite the intended effect of displaying a BBDB window for the record
 matching the sender of a Gnus message.  

 Currently, the command bbdb-mua-display-sender only works as
 intended from within a Gnus *Summary* buffer.

 Comments from more experienced Gnus users are appreciated.
 Possibly, we should continue this thread on the Gnus mailing list.

 Roland

-- 
Johnny

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: making address formatting more flexible

2011-02-08 Thread Johnny
Luca Capello l...@pca.it writes:

 I do not think there is even a *used* standard within a single country,
 at least here in Switzerland I saw different layouts sometime according
 to where the sender lives (French/German/Italian part).  And none of the
 examples at the UPU website uses this ISO-3166 supposed standard:

   
 http://www.upu.int/en/activities/addressing/postal-addressing-systems-in-member-countries.html
This is an international problem of cooperation. If there is an
International Standard, supported by an Organisation (yes, ISO was
intentionally capitalised), it should be adhered to, unless there is
compelling evidence to the contrary (of outstanding benefit). I think,
in this case, it is merely a topic of custom and practice I think, and
if any practice is to be adopted for an application with international
usage, an internationally accepted standard should be adhered to, if at
least to support and strengthen the collaborative effort, which I
believe FOSS and Gnu is all about.

If bbdb is going to use any country abbreviations, they should be
according to ISO is my opinion. However, as far as I am aware, postcodes
do not appear in ISO and should be locally (user) specified.
-- 
Johnny

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-popup-target-window-size (Re: BBDB 3.x documentation)

2011-02-04 Thread Johnny
Roland Winkler wink...@gnu.org writes:

 The doc string of bbdb-pop-up-window-size says:
The doc strings (that's the ones in the lisp code, right?) are good for
BBDB 3.x. It's just that I am used to read the info files to get
up to speed, being a lisp neophyte. But it's a good learning experience!

 The only thing that changed has been the default value.
 It used to be the integer 5 (i.e., 5 lines).
 Now it is 0.5.  I'll be happy to go back to the default 5
 if that's what people prefer (or anything else like 0.324)
The default is fine as whatever. Just pointed it out for documentation
purposes (i.e. when updating the info file, the default value should
also be updated).

-- 
Johnny

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: making address formatting more flexible

2011-02-02 Thread Johnny
Roland Winkler wink...@gnu.org writes:

 I am thinking about ways to make the formatting of snail mail
 addresses more flexible. 
This is a good idea; the current BBDB handling seems very
US-centered. For one, I think Postal code should replace the American
term Zip code as default naming, as this seems to be the generic term.

 I am thinking about replacing this scheme by a generic function
 bbdb-format-address that uses some kind of format strings for
 addresses from different countries.
...
 If I remember correctly, Europe introduced zip codes like CH-8052,
 NL-2300RA, and SE-132 54
I guess this stems from ISO-3166? It does seem appealing to use this
standard, but it could take some effort to implement; e.g. would a
lookup table be necessary?

 I am not yet sure what is the best way how to combine a look-up table
 based on country names with a zip-based scheme.
Wikipedia lists a few formattings of postal codes; however this is not
defined in ISO-3166. Maybe there's some other source for this though...


-- 
Johnny

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


BBDB 3.x documentation

2011-01-29 Thread Johnny
As I am occasionaly fiddling around with the new BBDB (3.02) to get a
nice set-up and using the old documentation to get around, every now and
then I encounter the changes in e.g. parameter names. I guess the new
version will reside on Savannah also in the future (and not Sourceforge
that seems to hold the previous development branch), but currently
there's no documentation on Savannah (right?).

Being fairly new to the Gnu/Linux world, I wouldn't mind attempting to
improve on documentation for the new BBDB as I go along, but would need
some initial guidance and pointers to get started; any volunteer mentors?
-- 
Johnny

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: BBDB beginners guide?

2010-11-04 Thread Johnny
Bruno Tavernier tavernier.br...@gmail.com writes:

 Regardless of method, BBDB keeps asking me to add mails! How can I make
 it stop doing that?

 Here is what I use

 | ; Stop showing when updates occur
 | (setq bbdb-message-pop-up nil)

Thanks Bruno, this solves the query popping up! Regarding fine tuning of
the initialisation parameters, I will have to keep your settings example
to play around with and understand the tuning of BBDB and Gnus.

Cheers,

Johnny

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book Blueprint to a 
Billion shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/