Emacs, aspell: Make Emacs use aspell; configure aspell for use.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 28 Mar 2008 12:36:42 +0000 (12:36 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 28 Mar 2008 12:36:42 +0000 (12:36 +0000)
aspell.conf [new file with mode: 0644]
emacs
setup

diff --git a/aspell.conf b/aspell.conf
new file mode 100644 (file)
index 0000000..3efa9c3
--- /dev/null
@@ -0,0 +1,11 @@
+### aspell configuration
+
+## Dictionaries.
+master en_GB-ize-w_accents
+lang en
+
+## Other tweaks.
+sug-mode fast
+run-together true
+run-together-limit 3
+run-together-min 3
diff --git a/emacs b/emacs
index 9c7ae04..9ae013a 100644 (file)
--- a/emacs
+++ b/emacs
 (setq find-ls-option                   ;Build file lists efficiently
       '("-print0 | xargs -0r ls -ld" . "ld"))
 (setq Info-fontify-maximum-menu-size 60000)
-(setq ispell-dictionary "british"
-      flyspell-default-dictionary "british"
+(setq ispell-program-name "aspell"
+      ispell-local-dictionary "en_GB-ize-w_accents"
+      flyspell-default-dictionary "en_GB-ize-w_accents"
       ispell-silently-savep t)
 (trap
   (require 'uniquify)
diff --git a/setup b/setup
index 38f5fd8..856c50b 100755 (executable)
--- a/setup
+++ b/setup
@@ -162,6 +162,7 @@ dotfiles="
   cgrc tigrc
   gdbinit
   guile
+  aspell.conf
   lisp-init.lisp:.cmucl-init.lisp
     lisp-init.lisp:.sbclrc
     lisp-init.lisp:.clisprc.lisp