{"action":"created","issue":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/481","repository_url":"https://api.github.com/repos/company-mode/company-mode","labels_url":"https://api.github.com/repos/company-mode/company-mode/issues/481/labels{/name}","comments_url":"https://api.github.com/repos/company-mode/company-mode/issues/481/comments","events_url":"https://api.github.com/repos/company-mode/company-mode/issues/481/events","html_url":"https://github.com/company-mode/company-mode/issues/481","id":137890296,"number":481,"title":"Completion in Shell Mode is case-sensitive","user":{"login":"egarrulo","id":110664,"avatar_url":"https://avatars.githubusercontent.com/u/110664?v=3","gravatar_id":"","url":"https://api.github.com/users/egarrulo","html_url":"https://github.com/egarrulo","followers_url":"https://api.github.com/users/egarrulo/followers","following_url":"https://api.github.com/users/egarrulo/following{/other_user}","gists_url":"https://api.github.com/users/egarrulo/gists{/gist_id}","starred_url":"https://api.github.com/users/egarrulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egarrulo/subscriptions","organizations_url":"https://api.github.com/users/egarrulo/orgs","repos_url":"https://api.github.com/users/egarrulo/repos","events_url":"https://api.github.com/users/egarrulo/events{/privacy}","received_events_url":"https://api.github.com/users/egarrulo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-02T14:38:05Z","updated_at":"2016-03-04T20:42:53Z","closed_at":null,"body":"Hello Dmitry,\r\n\r\nCompany is mostly case-sensitive in Shell Mode.  I said \"mostly\" because case-insensitive completion sometimes works, albeit I couldn't reproduce the behaviour consistently.  `pcomplete-ignore-case` is `t`.  I have also tried `M-x pcomplete`, but it *never* completes.  Here is the output of `company-diag` when trying to complete `down` to `Downloads`:\r\n\r\n    Emacs 24.5.1 (x86_64-unknown-linux-gnu) of 2015-06-27 on debian\r\n    Company 0.9.0-cvs\r\n\r\n    company-backends: (company-jedi company-emacs-eclim company-bbdb company-css company-semantic company-clang company-xcode company-cmake company-capf\r\n                  (company-dabbrev-code company-gtags company-etags company-keywords)\r\n                  company-oddmuse company-files company-dabbrev)\r\n\r\n    Used backend: company-capf\r\n    Prefix: \"down\"\r\n    Completions: none\r\n\r\nSee for comparison, the output for `Down`:\r\n\r\n    Emacs 24.5.1 (x86_64-unknown-linux-gnu) of 2015-06-27 on debian\r\n    Company 0.9.0-cvs\r\n\r\n    company-backends: (company-jedi company-emacs-eclim company-bbdb company-css company-semantic company-clang company-xcode company-cmake company-capf\r\n                  (company-dabbrev-code company-gtags company-etags company-keywords)\r\n                  company-oddmuse company-files company-dabbrev)\r\n\r\n    Used backend: company-capf\r\n    Prefix: \"Down\"\r\n    Completions:\r\n      #(\"Downloads/\" 0 4 (face completions-common-part) 4 5 (face (completions-first-difference)))\r\n\r\nThank you for your attention."},"comment":{"url":"https://api.github.com/repos/company-mode/company-mode/issues/comments/192459956","html_url":"https://github.com/company-mode/company-mode/issues/481#issuecomment-192459956","issue_url":"https://api.github.com/repos/company-mode/company-mode/issues/481","id":192459956,"user":{"login":"egarrulo","id":110664,"avatar_url":"https://avatars.githubusercontent.com/u/110664?v=3","gravatar_id":"","url":"https://api.github.com/users/egarrulo","html_url":"https://github.com/egarrulo","followers_url":"https://api.github.com/users/egarrulo/followers","following_url":"https://api.github.com/users/egarrulo/following{/other_user}","gists_url":"https://api.github.com/users/egarrulo/gists{/gist_id}","starred_url":"https://api.github.com/users/egarrulo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egarrulo/subscriptions","organizations_url":"https://api.github.com/users/egarrulo/orgs","repos_url":"https://api.github.com/users/egarrulo/repos","events_url":"https://api.github.com/users/egarrulo/events{/privacy}","received_events_url":"https://api.github.com/users/egarrulo/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T20:42:53Z","updated_at":"2016-03-04T20:42:53Z","body":"I have tried to investigate the issue, and checked the return value of `comint-filename-completion` - which seems the lowest-level called function in this case - but the return value contains gibberish, even when successful, and I have no idea about how to interpret it.  Does company interpret it?\r\n\r\nAnyway, Company completes even when PComplete fails to do so. Funny."}}