[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 e966dd5ee2c: Document spell-checking of multiple languages
From: |
Eli Zaretskii |
Subject: |
emacs-30 e966dd5ee2c: Document spell-checking of multiple languages |
Date: |
Sat, 17 Aug 2024 04:45:58 -0400 (EDT) |
branch: emacs-30
commit e966dd5ee2c20e3579e490d05a1eb31b3272db45
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Document spell-checking of multiple languages
* doc/emacs/fixit.texi (Spelling): Document spell-checking
multi-lingual text with Hunspell.
---
doc/emacs/fixit.texi | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi
index af9ca5fcdf6..32763a09dd1 100644
--- a/doc/emacs/fixit.texi
+++ b/doc/emacs/fixit.texi
@@ -450,6 +450,30 @@ dictionary is specified by the variable
spelling program looks for a personal dictionary in a default
location, which is specific to each spell-checker.
+@cindex spell-checking different languages
+@cindex language for spell-checking
+ Usually, a dictionary used by a spell-checker is for a specific
+language. The default language is determined from your system's
+environment and locale. Both the standard dictionary and your personal
+dictionary should be changed if you want to spell-check text in a
+different language. You can use the @code{ispell-change-dictionary}
+command for that.
+
+@cindex spell-checking multi-lingual text
+@findex ispell-hunspell-add-multi-dic
+ Hunspell is special in that it supports spell-checking using several
+different dictionaries in parallel. To use this feature, invoke the
+@kbd{M-x ispell-hunspell-add-multi-dic} command before you start using
+Hunspell for a particular combination of dictionaries. This command
+prompts for the dictionary combination, which should be a
+comma-separated list of language-specific dictionary names, such as
+@samp{en_US,de_DE,ru_RU}. Thereafter, you can spell-check text which
+mixes these languages without changing the dictionaries each time.
+(Caveat: when several languages use the same script, it is possible that
+a word that is mis-spelled in one language is found as a valid spelling
+in the dictionary of another language; in that case, the mis-spelled
+word might be missed.)
+
@vindex ispell-complete-word-dict
A separate dictionary is used for word completion. The variable
@code{ispell-complete-word-dict} specifies the file name of this
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 e966dd5ee2c: Document spell-checking of multiple languages,
Eli Zaretskii <=