Article View: comp.text.tex
Article #11884Re: emacs ispell / flyspell
From: Alan Ristow
Date: Wed, 02 Jan 2008 17:08
Date: Wed, 02 Jan 2008 17:08
49 lines
3392 bytes
3392 bytes
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
Technical Details
Message-ID:
<qd-dnUdSf_m3WObanZ2dnUVZ_rXinZ2d@giganews.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mailReferences:
<4775cbfc$0$90265$14726298@news.sunsite.dk> <477a2caf$0$90262$14726298@news.sunsite.dk>Show Full Headers
Complete Article Headers
X-Google-Thread: f9e16,f2988148e9cfb789 X-Google-Thread: 103b8b,f2988148e9cfb789 X-Google-Attributes: gidf9e16,gid103b8b,public,usenet X-Google-Language: ENGLISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 02 Jan 2008 11:08:58 -0600 Date: Wed, 02 Jan 2008 12:08:58 -0500 From: Alan Ristow <ristow@nospamplease.ee.gatech.edu> 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 MIME-Version: 1.0 Newsgroups: comp.text.tex,gnu.emacs.help Subject: Re: emacs ispell / flyspell References: <4775cbfc$0$90265$14726298@news.sunsite.dk> <477a2caf$0$90262$14726298@news.sunsite.dk> In-Reply-To: <477a2caf$0$90262$14726298@news.sunsite.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Message-ID: <qd-dnUdSf_m3WObanZ2dnUVZ_rXinZ2d@giganews.com> Lines: 49 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-nVvV2NUqiIgcNHYRM5UeWsEI9Vl3PL3ZCGo96s7ugp9rRQYklvIx9RC9UMUObQPJrwn8jKSBcskkyI5!M7TL1z+js74GJHjxDfMnnRlZ7pu6Kkj9C99Ig3KCuBSh+vFJ3191nVDL7lOG5/zy0jqiMsLqUg== X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.37