From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacs ispell / flyspell
Date: Sat, 29 Dec 2007 12:33:31 +0200 [thread overview]
Message-ID: <usl1lyemc.fsf@gnu.org> (raw)
In-Reply-To: <4775cbfc$0$90265$14726298@news.sunsite.dk> (message from Martin Jørgensen on Sat, 29 Dec 2007 05:24:17 +0100)
> Date: Sat, 29 Dec 2007 05:24:17 +0100
> From: =?ISO-8859-1?Q?Martin_J=F8rgensen?= <megafedt@hotmail.com>
>
> 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.
The following advice is from the commentary of ispell.el:
;; Region skipping:
;; Place new regular expression definitions of regions you prefer not to
;; spell check in `ispell-skip-region-alist'. Mode-dependent features can
;; be added to latex by modifying `ispell-tex-skip-alists'.
;; `ispell-message' contains some custom skipping code for e-mail messages.
Does this advice help you?
> 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.
You should enable flyspell from tex-mode-hook:
(add-hook 'tex-mode-hook 'flyspell-mode)
Place the above line in your ~/.emacs.
next prev parent reply other threads:[~2007-12-29 10:33 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=usl1lyemc.fsf@gnu.org \
--to=eliz@gnu.org \
--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.
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.