New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
company-capf cannot find aspell dictionaries #1437
Comments
|
Hi! This error is caused by a change in upstream: emacs-mirror/emacs@47e313e9805 That is, text-mode and all modes deriving from it that don't opt out, now have a completion function based on ispell. Looks like you don't have a dictionary installed, so that's why it errors. Which might be a good cause for a bug report upstream, in case you'd prefer this kind of error to be ignored silently. Either way, I'm adding a user option that would skip this new completion table, in addition to the already skipped |
|
Hey @dgutov thanks for the prompt answer! That fix indeed suppresses the error. But I am a bit confused. I have a bunch of (use-package company
:straight t
:init
(add-hook 'after-init-hook 'global-company-mode)
(setq company-minimum-prefix-length 3
company-selection-wrap-around t
company-tooltip-limit 20
company-tooltip-minimum-width 15
company-tooltip-align-annotations t))It might also be related to the way NixOS manages envs. P.D: |
|
Thanks for testing!
There is no setting up of dictionaries on our side in this example. You can try ispell completion (in the same buffer) without |
|
My (use-package flyspell
:straight nil
:hook
((prog-mode . flyspell-prog-mode)
(text-mode . turn-on-flyspell))
:config
(flyspell-mode +1))When I But |
Hmm, but which suggestions? Is it bound to I haven't seen the error myself: the option is for the users to be able to prefer |
|
Well, that was the right suggestion for debugging. If I type the string If I try again with the string Some of those suggestions I did not type before in my current session, so I guess they come from a dictionary? |
|
Yes, but these are from flyspell-auto-correct-word, not ispell-completion-at-point: Flymake does use ispell under the covers, but in a different way. So it's likely a bug one way or another, but one that can be easily reproduced without |
Hello, as the title mentions, I am not able anymore to use spell checking correctly with
company-capf, after my recent Emacs update.Output of
M-x company-diag:Describe the issue
I get the error presented below in
tdoeevery time I press a key in text mode.Expected behavior
I expect the completion suggestions to appear as before.
tdoe
Additional context
I am on NixOS unstable.
The text was updated successfully, but these errors were encountered: