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

On-the-fly Rechtsreibprüfung unter Emacs



Hallo,
ich habe versucht, im Emacs die Rechtschreibprüfung mit Hilfe von
flyspell und aspell als ispell-Ersatz zu verwenden. Hierbei tritt aber
das Problem auf, dass flyspell Umlaute als Wortbegrenzer erkennt, und
daduch eigentlich richtige Wörter als falsch markiert. Tippe ich z.B.
"umständlich", werden die Buchstaben vor und nach dem Umlaut als falsch
markiert. 
Starte ich die Rechtschreibprüfung ohne flyspell, funktioniert alles
ohne Probleme.

 Meine Einstellungen in der .emacs sind:
;; Spell checking customization
;; Use aspell
(setq-default ispell-program-name "aspell")

;;Setup some dictionary languages
(setq ispell-dictionary "deutsch")
(setq flyspell-default-dictionary "deutsch")

;; Bei bestimmten Modes, flyspell automatisch starten
(defun turn-on-flyspell-mode()
  (flyspell-mode t)

(add-hook 'latex-mode-hook 'turn-on-flyspell-mode)
(add-hook 'tex-mode-hook 'turn-on-flyspell-mode)
(add-hook 'text-mode-hook 'turn-on-flyspell-mode)
(add-hook 'html-mode-hook 'turn-on-flyspell-mode)
(add-hook 'post-mode-hook 'turn-on-flyspell-mode)
(add-hook 'message-mode-hook 'turn-on-flyspell-mode)
(add-hook 'tex-mode-hook (function (lambda () (setq ispell-parser
'tex))))

Probiert habe ich auch schon folgendes, es hat aber nicht geholfen:
(add-to-list 'ispell-local-dictionary-alist
       '("deutsch8"
	"[a-züöäßA-ZÜÖÄ]" "[^a-züöäßA-ZÜÖÄ]" "[']" t
   	("-C" "-d" "german")
      	"~latin1" iso-8859-15))

(setq ispell-dictionary "deutsch8")
(setq flyspell-default-dictionary "deutsch8")



Reply to: