help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: ispell, aspell, and personal word list


From: Steve Petersen
Subject: Re: ispell, aspell, and personal word list
Date: Thu, 3 May 2012 15:31:27 -0400

Oh thank you! I should have known it would be that easy. Though I've been using emacs regularly for over ten years, I'm not a programmer, and still don't know much about lisp or my .emacs file. Maybe someday ...

On Thu, May 3, 2012 at 3:13 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:

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)
       (progn
;         (setq ispell-extra-args "--norm-form=comp --norm-required --run-together")
;         (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"
     )

--
Greetings

 Pete

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




--

http://stevepetersen.net

reply via email to

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