{"action":"created","issue":{"url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/29","labels_url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/29/comments","events_url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/29/events","html_url":"https://github.com/mrkkrp/vimish-fold/issues/29","id":110453513,"number":29,"title":"Preserve code folding after  emacs  restart","user":{"login":"ChillarAnand","id":4463796,"avatar_url":"https://avatars.githubusercontent.com/u/4463796?v=3","gravatar_id":"","url":"https://api.github.com/users/ChillarAnand","html_url":"https://github.com/ChillarAnand","followers_url":"https://api.github.com/users/ChillarAnand/followers","following_url":"https://api.github.com/users/ChillarAnand/following{/other_user}","gists_url":"https://api.github.com/users/ChillarAnand/gists{/gist_id}","starred_url":"https://api.github.com/users/ChillarAnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChillarAnand/subscriptions","organizations_url":"https://api.github.com/users/ChillarAnand/orgs","repos_url":"https://api.github.com/users/ChillarAnand/repos","events_url":"https://api.github.com/users/ChillarAnand/events{/privacy}","received_events_url":"https://api.github.com/users/ChillarAnand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-08T13:39:44Z","updated_at":"2015-10-08T15:01:12Z","closed_at":null,"body":"Vimish fold  preserves code folding even  if i kill &  re open buffer. It would be   great if it can preserve it even after restarting emacs."},"comment":{"url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/comments/146572173","html_url":"https://github.com/mrkkrp/vimish-fold/issues/29#issuecomment-146572173","issue_url":"https://api.github.com/repos/mrkkrp/vimish-fold/issues/29","id":146572173,"user":{"login":"wvxvw","id":3147276,"avatar_url":"https://avatars.githubusercontent.com/u/3147276?v=3","gravatar_id":"","url":"https://api.github.com/users/wvxvw","html_url":"https://github.com/wvxvw","followers_url":"https://api.github.com/users/wvxvw/followers","following_url":"https://api.github.com/users/wvxvw/following{/other_user}","gists_url":"https://api.github.com/users/wvxvw/gists{/gist_id}","starred_url":"https://api.github.com/users/wvxvw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wvxvw/subscriptions","organizations_url":"https://api.github.com/users/wvxvw/orgs","repos_url":"https://api.github.com/users/wvxvw/repos","events_url":"https://api.github.com/users/wvxvw/events{/privacy}","received_events_url":"https://api.github.com/users/wvxvw/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T15:01:12Z","updated_at":"2015-10-08T15:01:12Z","body":"`vimish-fold--kill-emacs-hook` as its name suggests only runs when Emacs exits. IMO it'd be better if one could call `vimish-fold--save-folds` when they wanted to instead of relying on Emacs to run exit hooks.\r\n\r\nSecond: may I suggest not to use buffer names in the name of the file used to store folding information? I'm not sure what's the limit on the file name on Linux systems (I've got something like several thousands characters long file name). Instead having a fixed file name and having this info in that file instead. Optionally, it could be great to use SQLite to store this, as this could make targeted addition and removal of info faster."}}