yasuyk/helm-company

helm-company does not respet upper/lowercase while completing

Eagleeye777 opened this issue · 11 comments

When completing with helm-company, candidates i choose for completion are always completed lowercase. That might be right most of the time in English, but is not in other languages.

So if I want to complete a chosen candidate, that beginn with an uppercase, I would like helm-company to complete this with the Casing that has been chosen during typing.

E.G. I write Com..... and want it to be completed to Company. Helm-company just gives me company.

Hi,

I can not reproduce this issue. Please provide a complete recipe to reproduce, possibly with a sample file.

Sry, took me a while to come back here. What does providing a recipe mean? What kind of information do you need?

@Eagleeye777 No problem.

The recipe means minimum configuration to reproduce it. helm-company work well on my side. I can not reproduce this issue, so I do not have clue to fix it.

ok, i will try

this is the most minimal init.el I can use to reproduce

;; load-path setup before, with the latest helm helm company and company from melpa rep

(require 'helm-config)
(require 'helm-company)
(autoload 'company-mode "company" nil t)
(global-set-key (kbd "C-c i") 'helm-company)

Apart from that I am not doing anything in my init.el

Emacs Version is 24.3 as offered in the fedora repos.

I could now take any org-file I want, activate company-mode (M-x company-mode)

Using a rather minimal file here, with just this content:

  • Kritik überkommener Bildungstheorien
  • Kategoriale Bildung
  • Bildungsobjektivismus

if i type "Bil" now and then C-c i I do get a list of completion-candidates. These are all lowercase only, as I mentioned in the op above. I will now choose the second candidate (just C-n once and then hit Return)

This is the output:
Bildbildungsobjektivismus

So i now have what I originally typed in (the first three chars) plus the completion from helm-company in lowercase (while it should be Uppercase and without my original first three chars to narrow the candidates)

I do have this with any org file I use. Even if I just hit C-c i right away and start typing I only get lowercase candidates. If I type in Capital Letters to search helm-company does not return any results)

This is about as detailed description as I can provide. If you need more I can upload some screenshots if that helps.

just noticed it seems github is replacing the org stars with circles here. sry for that

@Eagleeye777 Thank you for let me know about it! I can reproduce this issue. It seems that company-mode cause this issue, so I open an issue on company-mode.

@Eagleeye777 Please try following the steps below:

  1. Update company to latest version.
  2. Set company-dabbrev-downcase nil.

It seems resolve this issue.

This works perfect. Thank you

Not at all.

??
notifications@github.com writes:

Not at all.


Reply to this email directly or view it on GitHub:
#8 (comment)