Hi! First of all, sorry for the late response. I just recently got adopted into the upstream team and am looking through patches now that make sense to incorporate there directly instead of having them potential rot within Debian alone. ;)
* markus schnalke <mei...@marmaro.de> [2008-01-09 17:37:11 CET]: > Package: abook > Version: 0.5.6-3 > Severity: wishlist > > The following command > > abook --convert --infile ~/.abook/addressbook --informat abook > --outfile mutt.aliases_test --outformat mutt > > does only export the first (primary) email address of each contact. > All further (secondary) email addresses are simply ignored. > If you want to generate mutt.aliases from abook, you have to create > multiple entries for one person in abook - for every email address > one. > > Also, contacts without email addresses at all, are exported. This > leads to entries in the aliases file that are useless. I agree that these are both an annoyance and am taking a look at your patch now and trying to bring it up to the 0.6.0 pre2 codebase, quite some things have changed, so it isn't a straight forward patch. I got a working version so far, though somehow I got for the rotated email as realname all the email addresses, have to check again wether I have adjusted something wrongly here, or wether there is some logic error involved. Also, the exit you did for no email did make the function quit on the first addressbook entry that didn't had an email address attached to it - I somehow guess this wasn't your attention. ;) Fixed that in my local copy already (moved the "if (*email) {" level to the outermost part of the loop). Again, thanks for your suggestion, sorry for the delay, and a fix for it will be soon get applied upstream. Enjoy! Rhonda -- "Lediglich 11 Prozent der Arbeitgeber sind der Meinung, dass jeder Mensch auch ein Privatleben haben sollte." -- http://www.karriere.at/artikel/884/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org