Commit Graph

52 Commits

Author SHA1 Message Date
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Kalle Lindqvist 367f5ff28c spell-checking: add words to dictionary functionality
When writing documents in latex or any markup language there is soon or later
going to be unrecognized words that get falsely flagged as incorrect. These
functions and key-bindings allows the user to add unrecognized words to the
dictionary so they are recognized as correctly spelled words by ispell/flyspell.
This seem's like a must have feature for any application that does any kind of
spell checking.

Added key bindings:
SPC S a b for Add word to dict (buffer)
SPC S a g for Add word to dict (global)
SPC S a s for Add word to dict (session)

Spell Checking Transient State:
SPC S . B for Add word to dict (buffer)
SPC S . G for Add word to dict (global)
SPC S . S for Add word to dict (session)
2019-05-19 22:09:20 +02:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Bruno Tavares 3d11456f51 Fix flyspell correction on spell-checking layer
Using the `spell-checking` layer mini-mode `Space S .` would cause an error

```
Wrong type argument: commandp -- flyspell-correct-previous-word-generic
```

According to the [README](https://github.com/d12frosted/flyspell-correct#deprecations-in-v05), it has since moved the command to a new name, which is not available anymore.

This commit changes the command used to point to the new name to make the transient mode work again.
2019-04-29 14:48:09 +02:00
Florian Czarnecki f16a7bf8be Fix typo in spell-checking layer documentation
Change "compeled" to "compelled"
2019-04-06 10:01:45 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Boris Buliga 39e4f1ab7c
update to flyspell-correct v0.5
`flyspell-correct-word-generic` and `flyspell-correct-previous-word-generic` are
deprecated and replaced by `flyspell-correct-at-point` and
`flyspell-correct-wrapper` respectively.

`flyspell-correct-wrapper` has a so-called 'rapid' mode, where you can correct
multiple words in a single run.
2018-10-05 09:38:59 +03:00
Alexander Eberspächer fb078f724e Fix keybindings in documentation of spell checking transient state 2018-09-03 20:15:33 +01:00
Francesc Elies Henar c57dd4870a Adds spell checking transient state 2018-09-01 00:19:59 +03:00
smile13241324 252c94a1ce doc: revise docs for auto-complete and syntax-checking layers
Syntax-checking and auto-complete layers should more
directly communicate that their function depends on
the installation of individual language layers to avoid
misunderstandings with new users who only install
syntax-checking or auto-complete and install the packages
manually.
2018-08-15 22:15:45 +01:00
Francesc Elies Henar 8bb1cee649 [flycheck] binds flycheck-copy-errors-as-kill to `SPC e y` 2018-07-27 00:46:47 +03:00
syl20bnr 19b478efbd Lazy load flycheck 2018-06-11 02:14:12 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00
smile13241324 82b6ee3498 Fix doc for spell-checking and ansible layer 2018-02-17 17:30:44 +02:00
Adam Kruszewski e11f7badc4 Added known-issues, features and multi-dict sections.
Added:
 - Information about incompatibility of vim-empty-lines and spell-checking
inside org-mode.
 - Features section to Description section (to comply with standard).
 - Section how to enable multi-dictionary for hunspell.
2018-01-18 01:22:21 -05:00
Alexander Miller eae6497b02 syntax-check: use correct error list faces when defining error levels with custom bitmaps. 2018-01-14 23:31:19 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Benjamin Reynolds b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
syl20bnr e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Loris Lucido 196aeea00c Use a more consistent keybinding for flycheck-buffer 2017-06-08 09:23:23 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Paul Milla 361c704827 Fix typo for spell-checking config
speeling -> spelling
2017-05-18 18:11:02 +02:00
syl20bnr fa8e741122 syntax-checking: SPC e e trigger a check SPC e x to explain error 2017-03-19 12:40:36 -04:00
syl20bnr f45ce1a88e syntax-checking: rename function add-flycheck-hook to enable-flycheck
spacemacs/add-flycheck-hook was not really hooking anything, change the name
to better reflect what it does.
Also changed the push for a add-to-list to avoid duplicates.
2017-03-19 12:40:36 -04:00
Wieland Hoffmann 99cf5750e3
syntax-checking: Mention that flycheck is disabled in emacs-lisp-mode. 2017-01-31 17:59:07 +02:00
Ivan Verevkin 5af909ab11
Fix typo for spell-checking readme 2017-01-25 17:01:46 +02:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
d12frosted d3fd067a3d
defer flyspell-correct packages loading 2016-12-22 15:35:13 +02:00
ralesi 29925a0b94
Defer loading of flyspell-correct-helm, otherwise it just requires helm 2016-12-22 15:33:41 +02:00
fmdkdd edb32b5e66 Add leader binding for `flycheck-explain-error`
Flycheck recently gained a feature to explain the error at point (bound
under `C-c ! e` by default).  This commit adds a corresponding leader
binding to the flycheck layer.
2016-10-17 13:22:55 +02:00
Eivind Fonn 69e19ebe0c Add option to use original flycheck bitmaps 2016-08-17 19:51:33 +02:00
syl20bnr 81fbb9a292 Format README files with spacefmt 2016-06-10 00:09:42 -04:00
d12frosted 583415cdf8 update flyspell-correct after breaking changes 2016-06-07 23:27:30 -04:00
syl20bnr a8faf7e6d8 flyspell: set flyspell-popup delay to 0.8 2016-06-01 23:00:02 -04:00
Uri Sharf f367c4b5aa spell-checking: new package flyspell-popup 2016-06-01 22:56:13 -04:00
Eivind Fonn 62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
syl20bnr a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
Boris b4b4491019 fix link in spell-checking readme file 2016-05-16 23:58:29 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
d12frosted 9f57a0da63 use flyspell-correct instead of helm-flyspell
flyspell-correct plays nicely with custom front-ends, and it has support
of ivy and helm out of box
2016-05-11 20:52:02 -04:00
Eivind Fonn 48402c7295 syntax-checking: Update list of bindings 2016-05-06 13:25:19 +02:00
Eivind Fonn a114c88bf1 Fix indentation in syntax-checking/packages.el 2016-05-05 12:58:45 +02:00
Maxime Bourget b146598472 Set flycheck errors severity.
This fix the bug when errors are not being filtered in error list or
`flycheck-navigation-minimum-level` not taken into account.
2016-05-05 12:57:57 +02:00
bmag 4967df79d7 Don't switch to error-list window if already on it 2016-04-28 15:20:03 +02:00
syl20bnr e2901c5a91 syntax-checking: defer loading of flycheck 2016-04-03 00:36:49 -04:00
syl20bnr 173e2a5421 Move all prefix names from config.el to init functions 2016-04-03 00:12:28 -04:00