Skip to content
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

Any way to re-spellcheck the whole buffer after a dictionnary change? #2088

Closed
StreakyCobra opened this issue Jun 23, 2015 · 2 comments
Closed

Comments

@StreakyCobra
Copy link
Contributor

After doing a SPC S d and changing the dictionary, the buffer keeps words coloured as mistakes until the cursor is placed on them. Is there a way to refresh the spell checking?

@StreakyCobra StreakyCobra changed the title Any way to re-spellcheck the whole file after a dictionnary change Any way to re-spellcheck the whole file after a dictionnary change? Jun 23, 2015
@StreakyCobra StreakyCobra changed the title Any way to re-spellcheck the whole file after a dictionnary change? Any way to re-spellcheck the whole buffer after a dictionnary change? Jun 23, 2015
@tomekowal
Copy link
Contributor

I had exactly the same problem today and what I did, is M-x flyspell-buffer

@StreakyCobra
Copy link
Contributor Author

👍 Nice, I will try to do a PR to call (flyspell-buffer) after a dictionary change!

StreakyCobra added a commit to StreakyCobra/spacemacs that referenced this issue Oct 20, 2015
This commit move the – previously disabled – `auto-dictionary` code to
the `spell-checking` layer and activate it. It is now enabled by
default, but can be disabled by setting `spell-checking-auto-dictionary`
to `nil`.

`auto-dictionary` come with some interesting improvements:

- Tries to automatically detect what is the language of the buffer and
  activate the corresponding dictionary.

- When a buffer is opened, all spelling mistakes are shown without being
  first under the cursor.

- When the dictionary is changed, the whole buffer is reanalyzed for
  spelling mistakes (close syl20bnr#2088).
StreakyCobra added a commit to StreakyCobra/spacemacs that referenced this issue Oct 20, 2015
This commit moves the – previously disabled – `auto-dictionary` code to
the `spell-checking` layer and activate it. It is now enabled by
default, but can be disabled by setting `spell-checking-auto-dictionary`
to `nil`.

`auto-dictionary` comes with some interesting improvements:

- Tries to automatically detect what is the language of the buffer and
  activate the corresponding dictionary.

- When a buffer is opened, all spelling mistakes are shown without
  needing first to be under the cursor.

- When the dictionary is changed, the whole buffer is reanalyzed for
  spelling mistakes (close syl20bnr#2088).
TheBB pushed a commit that referenced this issue Oct 31, 2015
This commit moves the – previously disabled – `auto-dictionary` code to
the `spell-checking` layer and activate it. It is now enabled by
default, but can be disabled by setting `spell-checking-auto-dictionary`
to `nil`.

`auto-dictionary` comes with some interesting improvements:

- Tries to automatically detect what is the language of the buffer and
  activate the corresponding dictionary.

- When a buffer is opened, all spelling mistakes are shown without
  needing first to be under the cursor.

- When the dictionary is changed, the whole buffer is reanalyzed for
  spelling mistakes (close #2088).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants