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

Re: Ispell im Emacs läuft nicht



On Sat, Feb 11, 2006 at 07:22:29PM +0100, Marcus Husar wrote:
> Ich bekomme einfach nicht ispell im Emacs ordentlich zum Laufen.
> Problem 1: Emacs erkennt nicht, dass ich ingerman installiert habe.
Was meinst Du mit Emacs erkennt das nicht. Von sich aus wird das der
Emacs auch  nicht erkennen, das muss man in der .emacs-Datei
konfigurieren. Bei mir sieht das z.B. so aus:
;; Spellchecking Configuration
(set-default 'ispell-local-dictionary "german-new8")

(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 'html-mode-hook 'turn-on-flyspell-mode)
(add-hook 'message-mode-hook 'flyspell-mode)
(add-hook 'sgml-mode-hook 'flyspell-mode)
(add-hook 'text-mode-hook 'flyspell-mode)

;; ispell auf das deutsche Wörterbuch mit Umlauten umstellen
;(ispell-change-dictionary "deutsch8")
;(setq ispell-dictionary "deutsch8")

;;;* ISpell-Setup by Michael Deindl <olmur @ dwarf.bb.bawue.de>
(global-set-key "\M-#"   'ispell-word)
(global-set-key "\C-cim" 'ispell-message)
(global-set-key "\C-cib" 'ispell-buffer)
(global-set-key "\C-cic" 'ispell-change-dictionary)
(global-set-key "\C-cid" '(lambda () "set german dictionary"
                            (interactive)
                            (ispell-change-dictionary "deutsch8")
                            ))
(global-set-key "\C-cie" '(lambda () "set english dictionary"
                            (interactive)
                            (ispell-change-dictionary "english")
                            ))

;;;* Fly-Spell:
;; Default-Dictionary für flyspell
;(setq flyspell-default-dictionary "deutsch8")
;; Einbinden von flyspell; Zusatzpaket von http://kaolin.unice.fr/~serrano/emacs/flyspell
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checking" t)
(autoload 'global-flyspell-mode "flyspell" "On-the-fly spelling" t)

> Problem 2: Umlaute wirken als Worttrenner
> 
> Problem 1 ist wahrscheinlich die Quelle von Problem 2. Unter
> /usr/lib/ispell liegt alles, was gebraucht wird. Wie bringe ich dem
> Emacs bei, wo er suchen muss?
Pack mal die Einstellungen von mir in Deine .emacs-Datei im
Homeverzeichnis und dann sollte es eigentlich gehen.

> Und gerade faellt mir noch ein Problem auf: In mutt funktionieren die
> Umlaute ueberhaupt nicht. Keine Ahnung, woher das kommt. Vielleicht
> liegt's am unicode.
Mit Unicode habe ich mich bisher noch nicht auseinander gesetzt.
 
> Waere echt toll, wenn mir jemand weiterhelfen koennte.
Ich hoffe, es hilft.
 
Gruß,
  Sven

-- 
+----------------------------------------------------------+
|  .''`.  Sven Bergner   E-Mail: bergner@linuxtaskforce.de |   
| : :' :            Diplom-Informatiker(FH)                |
| `. `'    Debian GNU/Linux User - http://www.debian.org/  |
|   `-              Registered Linux-User #65111           |
+-------------------www.linuxtaskforce.de------------------+
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT/L/MU/P/S/SS/TW d-- s+: a C++ UL+++ P+@ L+++ E+ W++ N+@ K? w--- V
PS+++ PE Y++ PGP++ t+@ 5-- X+++ R tv++ b++ DI D++ G++ e+++ h--- r+++ y+++
------END GEEK CODE BLOCK------



Reply to: