all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@web.de>
To: Steve Petersen <business@stevepetersen.net>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: ispell, aspell, and personal word list
Date: Thu, 3 May 2012 21:13:48 +0200	[thread overview]
Message-ID: <43FF8A63-13CB-4EF3-83BA-0BF446D4F3CF@web.de> (raw)
In-Reply-To: <CAGk0Nk-sn9K9c=C2e_ws4-C17MiTiemEZdYjaEGPU1_v1AnJ2g@mail.gmail.com>


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




  reply	other threads:[~2012-05-03 19:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-02 21:04 ispell, aspell, and personal word list Steve Petersen
2012-05-02 21:23 ` Peter Dyballa
2012-05-02 23:02   ` Steve Petersen
2012-05-03  8:32     ` Peter Dyballa
2012-05-03  8:39       ` Jeffrey Spencer
2012-05-03 14:38         ` Steve Petersen
2012-05-03 19:13           ` Peter Dyballa [this message]
2012-05-03 19:31             ` Steve Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43FF8A63-13CB-4EF3-83BA-0BF446D4F3CF@web.de \
    --to=peter_dyballa@web.de \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=business@stevepetersen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.