pymander/evernote-mode — pull request #8 by hkurokawa (2014-02-16 02:45:23+00:00)
Title: Should solve issue #7

Hi,

I have encountered the same problem as issue #7 and created a patch to fix it. Could you check it and merge it to the master branch if it seems fine?

Firstly, I changed the Serializable.deserialize method so that it could handle field_type_object.

However, after that, I encountered another problem that a serialized string for a NoteAttributes object was failed to be deserialized because it contains a key-value pair, 'sourceApplication=emacs-enclient {:version => 0.21, :editmode => "TEXT"}', which could cause a deserialization error as it has a comma in it.

Then, I changed the separation character from a comma to a character (\u0000) which will not be likely used in a value of the attributes. As you might notice, users have to clean his local cache (~/.evernote-mode) after applying the patch.

If you have any better solution for this problem, please let me know.

Thanks.