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

Re: On-the-fly Rechtsreibprüfung unter Emacs



Hallo Jens,

* Jens Auer <jens.auer@betaversion.net> [08-12-03 00:40]:
> Starte ich die Rechtschreibprüfung ohne flyspell, funktioniert alles
> ohne Probleme.

Das Problem habe ich zum Glück nicht mehr, aber es funktioniert bei
mir auch noch nicht so richtig(nutze es allerdings mit xemacs, was
denke ich aber keinen Unterschied machen wird).

;; Initialize spell checking
(setq-default ispell-program-name "aspell")
;(set-default 'ispell-change-directory "german-new8")
(set-default 'ispell-local-dictionary "german-new8")
;; ===================================================================
;; ISPELL
;; ===================================================================
(require 'ispell)
(add-to-list 'ispell-dictionary-alist
           '("ndeutsch8-15"
	     "[a-zA-Z\304\326\334\344\366\337\374]"
	     "[^a-zA-Z\304\326\334\344\366\337\374]"
	     "[']" t
	     ("-C" "-d" "german-new8")
             "~latin1" iso-8859-15))
;; ===================================================================
;; ISPELL End
;; ===================================================================

;; ===================================================================
;; FLYSPELL
;; ===================================================================
(add-hook 'flyspell-mode-hook
          (function (lambda ()
                     (setq ispell-local-dictionary "german-new8")
                     )))
						      
(autoload 'flyspell-mode "flyspell"
  "On-the-fly spelling checking" t)
(autoload 'global-flyspell-mode "flyspell"
    "On-the-fly spelling" t)
(add-hook 'html-mode-hook 'flyspell-mode)
(add-hook 'htm-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode)
;; ===================================================================
;; FLYSPELL End
;; ===================================================================


Allerdings habe ich noch das Problem, das mir xemacs die Umlaute bei
Korrigierfenster total kaputt anzeigt.

Siehe für Beispiel hier:
http://fechner.net/xemacs_fehler.png

Hat hier vielleicht jemand einen Tip für mich?

-- 
Gruss
Matthias



Reply to: