{"action":"created","issue":{"url":"https://api.github.com/repos/joostkremers/ebib/issues/100","repository_url":"https://api.github.com/repos/joostkremers/ebib","labels_url":"https://api.github.com/repos/joostkremers/ebib/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/joostkremers/ebib/issues/100/comments","events_url":"https://api.github.com/repos/joostkremers/ebib/issues/100/events","html_url":"https://github.com/joostkremers/ebib/issues/100","id":170843164,"number":100,"title":"Problem with file field ","user":{"login":"Enrico68","id":7678106,"avatar_url":"https://avatars.githubusercontent.com/u/7678106?v=3","gravatar_id":"","url":"https://api.github.com/users/Enrico68","html_url":"https://github.com/Enrico68","followers_url":"https://api.github.com/users/Enrico68/followers","following_url":"https://api.github.com/users/Enrico68/following{/other_user}","gists_url":"https://api.github.com/users/Enrico68/gists{/gist_id}","starred_url":"https://api.github.com/users/Enrico68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Enrico68/subscriptions","organizations_url":"https://api.github.com/users/Enrico68/orgs","repos_url":"https://api.github.com/users/Enrico68/repos","events_url":"https://api.github.com/users/Enrico68/events{/privacy}","received_events_url":"https://api.github.com/users/Enrico68/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-12T10:28:48Z","updated_at":"2016-08-22T11:39:12Z","closed_at":null,"body":"Hello,\r\n\r\nWhen I edit the `file` field and insert the file (say `barth2009.pdf`) I got the file field as `barth2009.pdf`. In order to use this bib file with other programs I need that the field file will be updated with the full path (e.g. `:/Users/enricopirani/Dropbox/PDF/barth2009.pdf:PDF`) Is there a way to get this solution. Thanks"},"comment":{"url":"https://api.github.com/repos/joostkremers/ebib/issues/comments/241387780","html_url":"https://github.com/joostkremers/ebib/issues/100#issuecomment-241387780","issue_url":"https://api.github.com/repos/joostkremers/ebib/issues/100","id":241387780,"user":{"login":"joostkremers","id":191630,"avatar_url":"https://avatars.githubusercontent.com/u/191630?v=3","gravatar_id":"","url":"https://api.github.com/users/joostkremers","html_url":"https://github.com/joostkremers","followers_url":"https://api.github.com/users/joostkremers/followers","following_url":"https://api.github.com/users/joostkremers/following{/other_user}","gists_url":"https://api.github.com/users/joostkremers/gists{/gist_id}","starred_url":"https://api.github.com/users/joostkremers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joostkremers/subscriptions","organizations_url":"https://api.github.com/users/joostkremers/orgs","repos_url":"https://api.github.com/users/joostkremers/repos","events_url":"https://api.github.com/users/joostkremers/events{/privacy}","received_events_url":"https://api.github.com/users/joostkremers/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T11:39:12Z","updated_at":"2016-08-22T11:39:12Z","body":"You seem to have set the function definition as the value of the option `ebib-file-name-mod-function`, but you should just set it to the name of the function, and the function should be defined in your init file.\r\n\r\nAlternatively, you could set the option to an anonymous lambda function:\r\n\r\n```emacs-lisp\r\n(lambda (filename direction)\r\n  (if direction\r\n      (concat \":\" filename \":PDF\")\r\n    (substring filename 1 -4)))\r\n```"}}
{"actor":{"display_login":"joostkremers"}}