help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: emacs ispell / flyspell


From: Alan Ristow
Subject: Re: emacs ispell / flyspell
Date: Wed, 02 Jan 2008 12:08:58 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.0

Martin Jørgensen wrote:
Martin Jørgensen wrote:
Q1) Is it possible to avoid ispell entering latex environments, thereby avoiding errors such as on the word "subfigure" and similar latex-commands (there are *many errors* from these "special words")? Is it also possible to avoid getting spelling errors for instance inside \ref{THIS_IS_ON_PURPOSE_SPELLED_WRONG} or \label{something_here_too}?

If yes: Please tell me how.


Q2) This is perhaps trivial, but whenever I write latex-documents, I would like to enable flyspell mode from the beginning without having to type M-x flyspell. I googled for a solution and found a reply from 1999:

----------
Try `M-x ispell-minor-mode RET'. This will automatically spell each word as soon as you type SPC or RET.

Another possibility is the flyspell package (`M-x flyspell RET', I
think).  I don't know if it works with XEmacs.
-----------

But how do I put that into my .emacs, in relation to question 2?

This post is X-posted to comp.text.tex and gnu.emacs.help.

hmmm. No answer.

I use Aspell, so I can't help with the first question, but here's what's in my .emacs to activate flyspell:

;; Setup Aspell and turn on flyspell mode
(setq-default ispell-program-name "aspell")
(setq-default ispell-extra-args '("--mode=tex"))
(setq-default ispell-extra-args '("--personal=custom_dict.rws"))
(add-hook 'LaTeX-mode-hook 'flyspell-mode)

Where else can I post these 2 questions? I sometimes saw David Kastrup in here answering something clever on this kind of problems.

Is there an auctex user group, developers forum or similar place where I can ask whether or not I just have to live with this behaviour?

You can access an auctex newgroup via gmane -- see gmane.org.

Alan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]