{"action":"created","issue":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/625","labels_url":"https://api.github.com/repos/flycheck/flycheck/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/flycheck/flycheck/issues/625/comments","events_url":"https://api.github.com/repos/flycheck/flycheck/issues/625/events","html_url":"https://github.com/flycheck/flycheck/issues/625","id":68783705,"number":625,"title":"Errors when creating a file in non-existing directory","user":{"login":"chillum","id":6885179,"avatar_url":"https://avatars.githubusercontent.com/u/6885179?v=3","gravatar_id":"","url":"https://api.github.com/users/chillum","html_url":"https://github.com/chillum","followers_url":"https://api.github.com/users/chillum/followers","following_url":"https://api.github.com/users/chillum/following{/other_user}","gists_url":"https://api.github.com/users/chillum/gists{/gist_id}","starred_url":"https://api.github.com/users/chillum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chillum/subscriptions","organizations_url":"https://api.github.com/users/chillum/orgs","repos_url":"https://api.github.com/users/chillum/repos","events_url":"https://api.github.com/users/chillum/events{/privacy}","received_events_url":"https://api.github.com/users/chillum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flycheck/flycheck/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/flycheck/flycheck/milestones/3","html_url":"https://github.com/flycheck/flycheck/milestones/0.24","labels_url":"https://api.github.com/repos/flycheck/flycheck/milestones/3/labels","id":1054335,"number":3,"title":"0.24","description":"Things that should probably go into the next release.","creator":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":3,"state":"open","created_at":"2015-04-06T12:23:05Z","updated_at":"2015-05-11T21:19:57Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-04-15T20:47:00Z","updated_at":"2015-05-12T12:36:15Z","closed_at":"2015-05-11T21:19:57Z","body":"I do:\r\n\r\n`C-x C-f /non/existent/dir/a.yml [RET]`\r\n\r\nI get:\r\n\r\n`Error while checking syntax automatically: (file-error \"Setting current directory\" \"no such file or directory\" \"/non/existent/dir/\")`\r\n\r\nI bet, FlyCheck should't try to set the directory, unless it already exists (this happens when I save this new file in new directory for the first time)."},"comment":{"url":"https://api.github.com/repos/flycheck/flycheck/issues/comments/101260041","html_url":"https://github.com/flycheck/flycheck/issues/625#issuecomment-101260041","issue_url":"https://api.github.com/repos/flycheck/flycheck/issues/625","id":101260041,"user":{"login":"lunaryorn","id":224922,"avatar_url":"https://avatars.githubusercontent.com/u/224922?v=3","gravatar_id":"","url":"https://api.github.com/users/lunaryorn","html_url":"https://github.com/lunaryorn","followers_url":"https://api.github.com/users/lunaryorn/followers","following_url":"https://api.github.com/users/lunaryorn/following{/other_user}","gists_url":"https://api.github.com/users/lunaryorn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunaryorn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunaryorn/subscriptions","organizations_url":"https://api.github.com/users/lunaryorn/orgs","repos_url":"https://api.github.com/users/lunaryorn/repos","events_url":"https://api.github.com/users/lunaryorn/events{/privacy}","received_events_url":"https://api.github.com/users/lunaryorn/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T12:36:15Z","updated_at":"2015-05-12T12:36:15Z","body":"@chillum You're welcome.  I'm glad that it now works for you :)"}}