emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/guess-language 8450268 058/101: README: Configuration


From: Stefan Monnier
Subject: [elpa] externals/guess-language 8450268 058/101: README: Configuration
Date: Sat, 23 Feb 2019 10:34:42 -0500 (EST)

branch: externals/guess-language
commit 8450268f18610e552942641e67bc16f7347fffd5
Author: Titus von der Malsburg <address@hidden>
Commit: Titus von der Malsburg <address@hidden>

    README: Configuration
---
 README.org        | 42 ++++++++++++++++++++++--------------------
 guess-language.el |  2 +-
 2 files changed, 23 insertions(+), 21 deletions(-)

diff --git a/README.org b/README.org
index 6c9b3d9..e09a411 100644
--- a/README.org
+++ b/README.org
@@ -54,7 +54,9 @@ In this case, use the variable ~guess-language-langcodes~ to 
tell guess-language
     (de . ("de_CH" "German"))))
 #+END_SRC
 
-For a list of all dictionaries available for spell checking, use the following:
+The key of each entry in this alist is an ISO 639-1 language code.  The first 
element of the value is the name of the dictionary that should be used (i.e., 
what you would enter when setting the language via ~M-x 
ispell-change-dictionary~).  The second element is the name of the language 
setting that should be used with typo-mode.  If a language is not supported by 
typo-mode, enter ~nil~.
+
+For a list of all dictionaries available for spell-checking, use the following:
 
 #+BEGIN_SRC org
 (mapcar 'car ispell-dictionary-alist)
@@ -62,25 +64,25 @@ For a list of all dictionaries available for spell 
checking, use the following:
 
 Languages that are currently supported by guess-language-mode:
 
-| Language   | IDO 639-1 code | Ispell dictionary | Typo-mode setting |
-|------------+----------------+-------------------+-------------------|
-| Arabic     | ~ar~           | ar                |                   |
-| Czech      | ~cs~           | czech             | Czech             |
-| Danish     | ~da~           | dansk             |                   |
-| Dutch      | ~nl~           | de                |                   |
-| English    | ~en~           | en                | English           |
-| Finnish    | ~fi~           | finnish           | Finnish           |
-| French     | ~fr~           | francais          | French            |
-| German     | ~de~           | de                | German            |
-| Italian    | ~it~           | italiano          | Italian           |
-| Norwegian  | ~nb~           | norsk             |                   |
-| Polish     | ~pl~           | polish            |                   |
-| Portuguese | ~pt~           | portuguese        |                   |
-| Russian    | ~ru~           | russian           | Russian           |
-| Slovak     | ~sk~           | slovak            |                   |
-| Slovenian  | ~sl~           | slovenian         |                   |
-| Spanish    | ~es~           | spanish           |                   |
-| Swedish    | ~sv~           | svenska           |                   |
+| Language   | IDO 639-1 code | Default Ispell dictionary | Default typo-mode 
setting |
+|------------+----------------+---------------------------+---------------------------|
+| Arabic     | ~ar~           | ar                        |                    
       |
+| Czech      | ~cs~           | czech                     | Czech              
       |
+| Danish     | ~da~           | dansk                     |                    
       |
+| Dutch      | ~nl~           | de                        |                    
       |
+| English    | ~en~           | en                        | English            
       |
+| Finnish    | ~fi~           | finnish                   | Finnish            
       |
+| French     | ~fr~           | francais                  | French             
       |
+| German     | ~de~           | de                        | German             
       |
+| Italian    | ~it~           | italiano                  | Italian            
       |
+| Norwegian  | ~nb~           | norsk                     |                    
       |
+| Polish     | ~pl~           | polish                    |                    
       |
+| Portuguese | ~pt~           | portuguese                |                    
       |
+| Russian    | ~ru~           | russian                   | Russian            
       |
+| Slovak     | ~sk~           | slovak                    |                    
       |
+| Slovenian  | ~sl~           | slovenian                 |                    
       |
+| Spanish    | ~es~           | spanish                   |                    
       |
+| Swedish    | ~sv~           | svenska                   |                    
       |
 
 
 ** Usage
diff --git a/guess-language.el b/guess-language.el
index 9aac68c..3810f74 100644
--- a/guess-language.el
+++ b/guess-language.el
@@ -102,7 +102,7 @@ little material to reliably guess the language."
 giving the ISO 639-1 code of the language.  The values is a list
 with two elements.  The first is the name of the Ispell
 dictionary that should be used (i.e., what you would enter when
-setting the language with `ispell-change-dictionary'.  The second
+setting the language with `ispell-change-dictionary').  The second
 element is the name of the language setting that should be used
 with typo-mode.  If a language is not supported by typo-mode,
 enter `nil'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]