Re: Fwd: bbdb kanji being corrupped on save

2012-07-05 Thread Randy Bush
 when i have kanji in a name and then save the .bbdb, i end up with \mush
 in the file and lose the kanji.  i tried saving in mule,
 iso-this-and-that, etc.  no love.  same problem for extended latin
 alphabets.
 
 BBDB has gone through a major rewrite to bring the code up-to-date.
 (For me, it works fine with chinese characters. Haven't tried kanji yet.)
 
 Currently BBDB 3 does not support wanderlust. But it is possibly
 easier to add sypport for wanderlust to BBDB 3 than trying to fix
 problems with kanji characters in bbdb 2.35.

thanks to Yamamoto Taku wavekid...@gmail.com

--- /cygdrive/c/Users/taku/Downloads/bbdb-2.35/lisp/bbdb.el
2007-01-02 17:01:18.0 +0900
+++ /usr/local/share/emacs/23.4/site-lisp/bbdb/bbdb.el  2010-01-09
21:01:05.0 +0900
@@ -761,8 +761,8 @@
 ;; emacs-mule would be better) with both Emacs 21 and XEmacs.
 (defconst bbdb-file-coding-system
   (if (fboundp 'coding-system-p)
-  (cond ((coding-system-p 'utf-8-emacs)
- 'utf-8-emacs)
+  (cond ((coding-system-p 'utf-8-unix)
+ 'utf-8-unix)
 (t 'iso-2022-7bit)))
   Coding system used for reading and writing `bbdb-file'.
 This should not be changed by users.)

randy

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


Announcing ASynK release v0.3.0

2012-07-05 Thread Sriram Karra
Hi,

I have just pushed release v0.3.0 out. Visit the project page at:
http://karra-asynk.appspot.com/ to get the latest downloads and
documentation.

Key improvements are:

   1. ASynK now ships with two default sync profiles called: defgcbb and
   defgcol, so there is out of the box support for what should be the most
   common use cases - synching entire ~/.bbdb or outlook contacts folder with
   google contacts. (Thanks to John Wiegley for the idea)
   2. ASynK now uses ~/.asynk/ as the directory to store all state
   information, logs and backups. Thus you can now have a single installation
   of ASynK for all users in your system, and they will each get .asynk/
   directory in their home directories. If you have any existing sync profiles
   and state, ASynK will notice this, and migrate your current sync state to
   the ~/.asynk/ directory. You can override the default directory name by
   passing the --user-dir command argument to any invocation of ASynK. (Thanks
   to Ivan Miljenovic for the idea)
   3. ASynK can now be invoked from anywhere; earlier you had to ensure the
   present working directory was the root of the asynk source directory.
   (Thanks to Ivan Miljenovic for the idea)

   *Important Note*: The above two changes together imply that if you have
   existing sync state you want migrated, the first run after your upgrade to
   v0.3.0 should be from inside ASynK directory for us to be able to locate
   your config and state. Subsequent runs can be done from anywhere and we
   will pick up your stuff from ~/.asynk/
   4. Bug fix: Google Contacts' multiple group membership information is
   now correctly synched back and forth to BBDB and Outlook.
   5. Bug fix: The first email address in the BBDB email list is treated as
   the primary address, and marked accordingly in Google Contacts. Without
   this the order the email addresses in BBDB could have appeared random, and
   changing from one sync to another.


Complete ChangeLog is as follows:

===

Cardassia:ASynK sriramkarra$ git log v0.2.2..v0.3.0
commit 9754ba863aa9ac753cae8724c02c3dd2f70d2640
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 15:12:47 2012 +0530

Bumping up version to v0.3.0 for release

commit 3f13dc331e7e758641d066d5f304a463e00a976f
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 15:09:11 2012 +0530

Updates to the project website related v0.3.0 releaes

commit 825ec98d8eef67ea8c6e83f3598852c855de5f11
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 15:07:14 2012 +0530

Stashing away code to track primary phone number

Similar to an earlier commit where we tracked the primary email
address and made it the first email in the BBDB list, we should be
tracking phone numbers as well. However the primary field for phone
numbers is not really set by Google properly (as best as I can see).

This diff is really an attempted patch which can come in handy if
and when we decide to explore this problem in more detail at some
point.

commit bf3c4a6d7d7afe0cea16da2396a1c481b5ee53a4
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 14:42:27 2012 +0530

new test_print_item in test_gc.py to print google contacts.

commit d055a49dbd44709cd15b93a363e6705b852f396c
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 12:58:21 2012 +0530

First element of email list in BBDB will be treated as the primary
address

Gmail has a flag to identify the primary email address. In Emacs,
bbdb sets the first email address for tab completion and for completing
using the mail-alias field etc. So preserving this semantics is good.
This is what we acheive with this commit - ensure that the first
email is treated as the primary address - while reading as well as
when writing out to the BBDB database.

commit 039a6a370c9139b6649b83fde41ce8215fd37e27
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 08:27:25 2012 +0530

Doc update for default profile run in the Recipes section.

commit e7747466dcced7a2329dead9ff140c7d18f4e2be
Author: Sriram Karra karra@gmail.com
Date:   Thu Jul 5 08:19:52 2012 +0530

Doc and README updates for recent changes

- Mention the ~/.asynk/ directory stuff
- Mention the defaut sync profiles

commit 9e486688fc4ba69fb04bc6f3979dc7e440892174
Author: Sriram Karra karra@gmail.com
Date:   Tue Jul 3 11:31:01 2012 +0530

Create a test/gold/ regression test suite - albeit with limited
coverage for now

commit 2c6a01b2ae0ad0982bd739dbc431dfc38fd1bcf6
Author: Sriram Karra karra@gmail.com
Date:   Tue Jul 3 08:17:15 2012 +0530

Update test_state.py to work with recent changes to state/config jsons

commit 32f1ed7d7f504e9a9dd922da5b7ae5c1ea9d271a
Author: Sriram Karra karra@gmail.com
Date:   Tue Jul 3 07:46:42 2012 +0530

Move the unit test code from pimdb_gc.py to test/test_gc.py

commit 3ad3b9f3bc3781018b59f346a256e8be9dfa3ab2
Author: Sriram Karra karra@gmail.com

bbdb fails with emacs 24

2012-07-05 Thread Göran Uddeborg
The return value of run-hook-with-args changed in emacs 24.  This is
apparently not a regression in emacs, since the documentation for the
function says It is best not to depend on the value returned by
`run-hook-with-args', as that may change.  But bbdb does depend on
this return value, and fails because of the change.

A discussion about the topic can be found here:

https://groups.google.com/forum/?fromgroups#!topic/gnu.emacs.bug/jD2BIBSWG8U

The bug report that pointed out the problem in Fedora to me can be
found here:

https://bugzilla.redhat.com/show_bug.cgi?id=835318

As I understand it, bbdb has to be modified slightly to work with
emacs 24.  For example in the way suggested by a patch in the bug
report.

--
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 fails with emacs 24

2012-07-05 Thread Roland Winkler
On Thu Jul 5 2012 Göran Uddeborg wrote:
 As I understand it, bbdb has to be modified slightly to work with
 emacs 24.  For example in the way suggested by a patch in the bug
 report.

Please note that BBDB recently went through a major re-write and
I hope that a proper release of the new BBDB 3 will take place soon.
BBDB 3 is fully compatible with GNU Emacs 23 and 24 (but not with
older versions of GNU Emacs nor -so far- with Xemacs).

BBDB is available at
http://savannah.nongnu.org/projects/bbdb/
To check it out, use
git clone git://git.savannah.nongnu.org/bbdb.git

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