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

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

[elpa] externals/guess-language 45406db 030/101: README: minor fixes.


From: Stefan Monnier
Subject: [elpa] externals/guess-language 45406db 030/101: README: minor fixes.
Date: Sat, 23 Feb 2019 10:34:37 -0500 (EST)

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

    README: minor fixes.
---
 README.org | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index 4057401..a94bd5c 100644
--- a/README.org
+++ b/README.org
@@ -1,20 +1,21 @@
 * Emacs mode that automatically detects the language of what you are typing
 
-I write a lot of text in multiple (human) languages and I was getting tired of 
switching the dictionary of my spell-checker all the time.  In true Emacs 
spirit, I decided dust off my grandpa's parentheses and to write some code to 
address this problem.  The result is ~guess-language-mode~, a minor mode for 
Emacs that guesses the language of the current paragraph and then changes the 
dictionary of ispell and the language settings of typo-mode.  It also reruns 
Flyspell on the current parag [...]
+I write a lot of text in multiple languages and was getting tired of switching 
the dictionary of my spell-checker.  In true Emacs spirit, I decided dust off 
my grandpa's parentheses and to write some code to address this problem.  The 
result is ~guess-language-mode~, a minor mode for Emacs that guesses the 
language of the current paragraph and then changes the dictionary of ispell and 
the language settings of typo-mode.  It also reruns Flyspell on the current 
paragraph, but only on that  [...]
 
-This is currently a proof of concept and only three languages are supported: 
English, French, German.  However, it is very easy to add more languages and 
this repository already includes the necessary language statistics for 61 
additional languages.  (These are copied from 
[[https://github.com/kent37/guess-language][guess_language.py]].)
+This is currently a proof of concept and only three languages are supported: 
English, French, German.  However, it is very easy to add more languages and 
this repository includes the necessary language statistics for 61 additional 
languages.  (These were copied from 
[[https://github.com/kent37/guess-language][guess_language.py]].)
 
 ** Prerequisites
 
-This mode assumes that you have Flyspell is activated and configured for all 
relevant languages (i.e., those listed in ~guess-language-languages~).  
Guess-language also assumes that 
[[https://github.com/jorgenschaefer/typoel][typo-mode]] is installed and set up.
+This mode assumes that Flyspell is activated and configured for all relevant 
languages, i.e., those listed in ~guess-language-languages~.  Guess-language 
also assumes that [[https://github.com/jorgenschaefer/typoel][typo-mode]] is 
installed and set up.
 
 ** Configuration
 
 #+BEGIN_SRC elisp
 (require 'guess-language)
 
+;; Optionally:
 (setq guess-language-languages '(en de))
-(setq guess-language-min-paragraph-length 30)
+(setq guess-language-min-paragraph-length 35)
 #+END_SRC
 
 Available languages at this time:
@@ -25,7 +26,7 @@ Available languages at this time:
 
 ** Usage
 
-Activate ~guess-language-mode~ in the buffer in which you want to use it.  To 
activate it automatically in buffers containing human language (as opposed to 
programming language), add this to ~text-mode-hook~:
+Activate ~guess-language-mode~ in the buffer in which you want to use it.  To 
activate it automatically in buffers containing text (as opposed to code), add 
guess-language mode to ~text-mode-hook~:
 
 #+BEGIN_SRC elisp
 (add-hook 'text-mode-hook (lambda () (guess-language-mode 1)))



reply via email to

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