{"action":"created","issue":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/1086","repository_url":"https://api.github.com/repos/uncrustify/uncrustify","labels_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/1086/labels{/name}","comments_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/1086/comments","events_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/1086/events","html_url":"https://github.com/uncrustify/uncrustify/issues/1086","id":218736776,"number":1086,"title":"Still need to specify \"-c file\" though .uncrustify.cfg exists my home directory","user":{"login":"andrewhit","id":6918414,"avatar_url":"https://avatars1.githubusercontent.com/u/6918414?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewhit","html_url":"https://github.com/andrewhit","followers_url":"https://api.github.com/users/andrewhit/followers","following_url":"https://api.github.com/users/andrewhit/following{/other_user}","gists_url":"https://api.github.com/users/andrewhit/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewhit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewhit/subscriptions","organizations_url":"https://api.github.com/users/andrewhit/orgs","repos_url":"https://api.github.com/users/andrewhit/repos","events_url":"https://api.github.com/users/andrewhit/events{/privacy}","received_events_url":"https://api.github.com/users/andrewhit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-02T02:27:30Z","updated_at":"2017-04-02T12:44:14Z","closed_at":null,"body":"According to the manual of uncrustify, there is no need to specify config file any longer if $HOME/.uncrustify.cfg exists. However it is not expected.\r\n\r\nOPTIONS\r\n   Basic Options:\r\n       -c CFG Use the config file CFG.\r\n              If not specified, uncrustify will use $UNCRUSTIFY_CONFIG or $HOME/.uncrustify.cfg.\r\n\r\nazhuang@pek2-office-04-dhcp52:~$ la | grep .cfg\r\n-rw-rw-r--  1 azhuang azhuang 25807 Apr  1 18:01 .uncrustify.cfg\r\n\r\nazhuang@pek2-office-04-dhcp52:~/test$ echo $UNCRUSTIFY_CONFIG\r\n/home/azhuang/.uncrustify.cfg\r\n\r\nazhuang@pek2-office-04-dhcp52:~/test$ uncrustify -f ngx_http.c -o ngx_http.c.unc\r\nSpecify the config file with '-c file' or set UNCRUSTIFY_CONFIG\r\n\r\nazhuang@pek2-office-04-dhcp52:~/test$ uncrustify --version\r\nuncrustify 0.64.547-g4fdddba\r\n\r\nSince I want to integrate uncrustify into emacs, it is helpful with the default config file, $HOME/.uncrustify.cfg.\r\n"},"comment":{"url":"https://api.github.com/repos/uncrustify/uncrustify/issues/comments/290984111","html_url":"https://github.com/uncrustify/uncrustify/issues/1086#issuecomment-290984111","issue_url":"https://api.github.com/repos/uncrustify/uncrustify/issues/1086","id":290984111,"user":{"login":"CDanU","id":15148226,"avatar_url":"https://avatars3.githubusercontent.com/u/15148226?v=3","gravatar_id":"","url":"https://api.github.com/users/CDanU","html_url":"https://github.com/CDanU","followers_url":"https://api.github.com/users/CDanU/followers","following_url":"https://api.github.com/users/CDanU/following{/other_user}","gists_url":"https://api.github.com/users/CDanU/gists{/gist_id}","starred_url":"https://api.github.com/users/CDanU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CDanU/subscriptions","organizations_url":"https://api.github.com/users/CDanU/orgs","repos_url":"https://api.github.com/users/CDanU/repos","events_url":"https://api.github.com/users/CDanU/events{/privacy}","received_events_url":"https://api.github.com/users/CDanU/received_events","type":"User","site_admin":false},"created_at":"2017-04-02T12:44:14Z","updated_at":"2017-04-02T12:44:14Z","body":"ref: [#479](https://github.com/uncrustify/uncrustify/pull/479#issuecomment-219569483)"}}
{"actor":{"display_login":"CDanU"}}