* enable flyspell in latex files
@ 2008-07-29 7:40 Alain Muls
2008-07-29 11:16 ` Sven Bretfeld
0 siblings, 1 reply; 3+ messages in thread
From: Alain Muls @ 2008-07-29 7:40 UTC (permalink / raw)
To: emacs list
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
Hi emacs-users
I cannot enable flyspell mode in latex files during startup. What is the
exact procedure for it. I also need to switch between 3 dictionaries
(EN, FR & NL).
Tx
Bye/Alain
[-- Attachment #2: alain_muls.vcf --]
[-- Type: text/x-vcard, Size: 242 bytes --]
begin:vcard
fn:Alain Muls
n:Muls;Alain
org:RMA;CISS
adr:;;Renaissance Avenue 30;Brussems;;1000;Belgium
email;internet:alain.muls@telenet.be
title:Prof
tel;work:+32.2.7376340
tel;cell:+32.477.675091
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enable flyspell in latex files
2008-07-29 7:40 enable flyspell in latex files Alain Muls
@ 2008-07-29 11:16 ` Sven Bretfeld
2008-07-29 11:34 ` David Hansen
0 siblings, 1 reply; 3+ messages in thread
From: Sven Bretfeld @ 2008-07-29 11:16 UTC (permalink / raw)
To: Alain Muls; +Cc: emacs list
[-- Attachment #1: Type: text/plain, Size: 540 bytes --]
Hi
Alain Muls <alain.muls@telenet.be> writes:
> I cannot enable flyspell mode in latex files during startup. What is
> the exact procedure for it.
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
(add-hook 'LaTeX-mode-hook 'flyspell-mode)
> I also need to switch between 3 dictionaries (EN, FR & NL).
Set your default dictionary with:
(setq ispell-dictionary "british")
Change the dictionary with M-x ispell-change-dictionary. TAB will
reveal which dictionaries are available.
Bye
Sven
[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: enable flyspell in latex files
2008-07-29 11:16 ` Sven Bretfeld
@ 2008-07-29 11:34 ` David Hansen
0 siblings, 0 replies; 3+ messages in thread
From: David Hansen @ 2008-07-29 11:34 UTC (permalink / raw)
To: help-gnu-emacs
On Tue, 29 Jul 2008 13:16:36 +0200 Sven Bretfeld wrote:
> (autoload 'flyspell-mode "flyspell" "On-the-fly spelling checker." t)
> (add-hook 'LaTeX-mode-hook 'flyspell-mode)
Better make it (add-hook 'LaTeX-mode-hook 'turn-on-flyspell). If you
have a mode that is derived from some other mode, and in both hooks
`flyspell-mode' is called with no arguments, that is a NOP.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-29 11:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-29 7:40 enable flyspell in latex files Alain Muls
2008-07-29 11:16 ` Sven Bretfeld
2008-07-29 11:34 ` David Hansen
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).