opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-gnu-emacs@gnu.org 4 May 2012 • 3:13AM -0400

Re: ispell, aspell, and personal word list
by Peter Dyballa

REPLY TO AUTHOR
 
REPLY TO GROUP





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



Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.