{"action":"created","issue":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/583","repository_url":"https://api.github.com/repos/company-mode/company-mode","labels_url":"https://api.github.com/repos/company-mode/company-mode/issues/583/labels{/name}","comments_url":"https://api.github.com/repos/company-mode/company-mode/issues/583/comments","events_url":"https://api.github.com/repos/company-mode/company-mode/issues/583/events","html_url":"https://github.com/company-mode/company-mode/issues/583","id":176774365,"number":583,"title":"is there reason returning `sole` instead of `exact` for :exit-function?","user":{"login":"yuutayamada","id":1082473,"avatar_url":"https://avatars.githubusercontent.com/u/1082473?v=3","gravatar_id":"","url":"https://api.github.com/users/yuutayamada","html_url":"https://github.com/yuutayamada","followers_url":"https://api.github.com/users/yuutayamada/followers","following_url":"https://api.github.com/users/yuutayamada/following{/other_user}","gists_url":"https://api.github.com/users/yuutayamada/gists{/gist_id}","starred_url":"https://api.github.com/users/yuutayamada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuutayamada/subscriptions","organizations_url":"https://api.github.com/users/yuutayamada/orgs","repos_url":"https://api.github.com/users/yuutayamada/repos","events_url":"https://api.github.com/users/yuutayamada/events{/privacy}","received_events_url":"https://api.github.com/users/yuutayamada/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/company-mode/company-mode/labels/question","name":"question","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-13T23:13:19Z","updated_at":"2016-09-17T06:12:33Z","closed_at":"2016-09-17T01:13:34Z","body":"Hello, thank you for maintaining this super convenient package.\r\n\r\nI have a little question about this commit: 0cdcd07\r\nIt seems you intentionally changed :exit-function's behavior for company-capf.\r\nBut, according to the emacs' document (https://github.com/emacs-mirror/emacs/blob/emacs-24/lisp/minibuffer.el#L1707), I think it should use `exact` instead of `sole` because when company-mode's third party developers try to implement :exit-function, they need deferent implementation for `exact` and `sole`. (for `completion-at-point-functions` and `company-capf`)\r\n\r\nor am I missing something? (I'm new to implement company-capf, so sorry if\r\nI missing something)\r\n\r\nI'm trying to add function, which is same functionality as :post-completion using the :exit-function, but is it wrong idea?\r\n\r\nEDIT: added last sentence"},"comment":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/comments/247752298","html_url":"https://github.com/company-mode/company-mode/issues/583#issuecomment-247752298","issue_url":"https://api.github.com/repos/company-mode/company-mode/issues/583","id":247752298,"user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T06:12:33Z","updated_at":"2016-09-17T06:12:33Z","body":"> (I was misunderstanding\r\nthat it was ok if I implement same way as completion-at-point when\r\nI implemented company-capf for nim-mode)\r\n\r\nThe big idea is that you should be able to do that.\r\n\r\nWhat if your exit-function handles `sole` and `exact` the same way?"}}
{"actor":{"display_login":"dgutov"}}