From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Rasmus Pank Roulund <rasmus.pank@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Ispell not working in TeX mode
Date: Fri, 15 Feb 2008 22:58:19 +0100 [thread overview]
Message-ID: <1DAB8889-93A1-4FA6-822C-70F8237D34E8@Web.DE> (raw)
In-Reply-To: <47B5FFB4.6050607@gmail.com>
Am 15.02.2008 um 22:10 schrieb Rasmus Pank Roulund:
> As I stated in the original post, it is only a problem when the
> file is located on the D partition rather than the C drive.
Of course I am not use Losedos user, but how about adopting this code
to your init file?
(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)
(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"
(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")
(add-hook 'TeX-language-en-hook (function (lambda ()
(ispell-change-dictionary "british"))))
(add-hook 'TeX-language-de-hook (function (lambda ()
(ispell-change-dictionary "deutsch8"))))
(add-hook 'LaTeX-mode-hook (function (lambda () (setq
ispell-extra-args '("-t")))))
(message "Alles für »i«spell")
)
You probably know how to find the dictionaries *spell can use.
Setting the programme and the dictionary once might allow both to
survive the change of the slice/volume/partition/drive. If not, there
are some variables you can set to determine exactly and unalterable
where aspell will find its dictionaries and other paraphernalia,
maybe best as "C:/...":
ispell-aspell-data-dir
ispell-aspell-dict-dir
¿ispell-really-aspell?
Maybe you also need to create a hook that changes
ispell-process-directory
if not changed correctly.
--
Greetings
Pete
If you're not confused, you're not paying attention.
next prev parent reply other threads:[~2008-02-15 21:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-15 14:59 Ispell not working in TeX mode Rasmus Pank Roulund
2008-02-15 20:50 ` Peter Dyballa
2008-02-15 21:10 ` Rasmus Pank Roulund
2008-02-15 21:58 ` Peter Dyballa [this message]
2008-02-15 21:10 ` Rasmus Pank Roulund
2008-02-15 21:10 ` Rasmus Pank Roulund
2008-02-17 2:08 ` Rasmus Pank Roulund
2008-02-17 7:44 ` Thierry Volpiatto
2008-02-18 18:34 ` Rasmus Pank Roulund
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=1DAB8889-93A1-4FA6-822C-70F8237D34E8@Web.DE \
--to=peter_dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
--cc=rasmus.pank@gmail.com \
/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.