ASynK icon indicating copy to clipboard operation
ASynK copied to clipboard

BBDB field values can be arbitrary lisp expressions

Open girzel opened this issue 10 years ago • 3 comments

As of this BBDB commit, it's possible to use general lisp expressions as the value of BBDB contact fields. So a plain old list, or a struct, or what have you.

Understandably, this breaks ASynK's parsing of the record -- I don't expect there'd be any way of reliably parsing that stuff in Python.

Is there any way to gracefully fail in these situations, and simply omit the offending fields? Also, I checked the documentation, and there doesn't seem to be any way to specify BBDB fields to ignore, is that right? Of course, any ignoring would probably happen after parsing, so maybe that wouldn't help anyway...

Thanks for any suggestions.

girzel avatar Jan 13 '15 02:01 girzel

This is a problem and you are right that there is no solution in ASynK right now. I have toyed with the idea of a elisp "server" for parsing and updating of the bbdb database. But it is too much work right now and is not in line with my priorities for ASynK for 2015.

skarra avatar Jan 13 '15 17:01 skarra

Fair enough! I guess it shouldn't be too hard to automate a "cleaning" process for my BBDB database in the meantime.

girzel avatar Jan 15 '15 09:01 girzel

Related Bug: #35

skarra avatar Jan 23 '15 07:01 skarra