[Top][All Lists]

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

Re: ispell, aspell, and personal word list

From: Peter Dyballa
Subject: Re: ispell, aspell, and personal word list
Date: Thu, 3 May 2012 21:13:48 +0200

Am 03.05.2012 um 16:38 schrieb Steve Petersen:

> my problem is that ispell lists don't play nicely with aspell lists, and I
> don't know why one emacs uses one and another emacs uses the other, or how
> to change it.

      (setq ispell-program-name "ispell")
;     (setq ispell-program-name "aspell")
;       Für Französisch:
;      (require 'ispell)
;      (defun ispell-get-otherchars ()
;        (replace-regexp-in-string "-" "" (ispell-get-decoded-string 3)))
      (if (string= "aspell" ispell-program-name)
;         (setq ispell-extra-args "--norm-form=comp --norm-required 
;         (setq ispell-dictionary "en_GB-ise-w_accents")
          (setq ispell-dictionary "deutsch")
          (set-default 'ispell-local-dictionary ispell-dictionary);"deutsch"
          (add-hook 'LaTeX-mode-hook (function (lambda () (setq 
ispell-extra-args '("--mode=tex")))))
;         (setq-default ispell-extra-args '("--mode=tex"))
;         (setq-default ispell-extra-args '("--personal=custom_dict.rws"))
;         (add-hook 'LaTeX-mode-hook 'flyspell-mode)
          (message "Alles für «a»spell")
          (setq ispell-dictionary "german8")
          (setq ispell-dictionary "deutsch8")
          (add-hook 'LaTeX-mode-hook (function (lambda () (setq 
ispell-extra-args '("-t")))))
          (message "Alles für »i«spell")
          (add-hook 'TeX-language-en-hook (function (lambda () 
(ispell-change-dictionary "british"))))
          (add-hook 'TeX-language-de-hook (function (lambda () 
(ispell-change-dictionary ispell-dictionary))));"deutsch"



You can learn many things from children.  How much patience you have, for 
                                – Franklin P. Jones

reply via email to

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