unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Ristow <ristow@nospamplease.ee.gatech.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs ispell / flyspell
Date: Wed, 02 Jan 2008 12:08:58 -0500	[thread overview]
Message-ID: <qd-dnUdSf_m3WObanZ2dnUVZ_rXinZ2d@giganews.com> (raw)
In-Reply-To: <477a2caf$0$90262$14726298@news.sunsite.dk>

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

  parent reply	other threads:[~2008-01-02 17:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-29  4:24 emacs ispell / flyspell Martin Jørgensen
2007-12-29 10:33 ` Eli Zaretskii
2008-01-01 12:06 ` Martin Jørgensen
2008-01-01 13:53   ` Peter Dyballa
2008-01-01 20:08     ` Eli Zaretskii
2008-01-01 17:51   ` Marc Schwartz
2008-01-01 20:00     ` Lennart Borgman (gmail)
2008-01-01 20:07   ` Eli Zaretskii
2008-01-02 17:08   ` Alan Ristow [this message]
2008-01-05  8:08     ` Martin Jørgensen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=qd-dnUdSf_m3WObanZ2dnUVZ_rXinZ2d@giganews.com \
    --to=ristow@nospamplease.ee.gatech.edu \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).