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 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