unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Startup dictonary with aspell?
@ 2005-12-12 16:21 Paminu
  2005-12-12 19:35 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Paminu @ 2005-12-12 16:21 UTC (permalink / raw)


I tell emacs to use aspell like:


(setq-default ispell-program-name "aspell")
(add-hook 'text-mode-hook 'flyspell-mode)

But I cannot seem to make it start with danish as default, I have tried
this:

(setq aspell-dictionary "dansk")

But each time I start emacs it uses english instead!

Any hint on how to permanently make emacs startup with danish instead?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Startup dictonary with aspell?
  2005-12-12 16:21 Startup dictonary with aspell? Paminu
@ 2005-12-12 19:35 ` Peter Dyballa
  2005-12-12 19:49 ` Kevin Rodgers
  2005-12-12 20:42 ` Stefan Reichör
  2 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2005-12-12 19:35 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 12.12.2005 um 17:21 schrieb Paminu:

> (setq aspell-dictionary "dansk")
>
> But each time I start emacs it uses english instead!
>

You could switch to the other dictionary ... some ideas:

      (setq ispell-dictionary "deutsch")
      (set-default 'ispell-local-dictionary ispell-dictionary)
      (add-hook 'TeX-language-en-hook (function (lambda () 
(ispell-change-dictionary "british"))))
      (ispell-change-dictionary "deutsch8")


--
Greetings

              ~  O
   Pete       ~~_\\_/%
              ~  O  o

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Startup dictonary with aspell?
  2005-12-12 16:21 Startup dictonary with aspell? Paminu
  2005-12-12 19:35 ` Peter Dyballa
@ 2005-12-12 19:49 ` Kevin Rodgers
  2005-12-12 20:42 ` Stefan Reichör
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2005-12-12 19:49 UTC (permalink / raw)


Paminu wrote:
> I tell emacs to use aspell like:
> 
> 
> (setq-default ispell-program-name "aspell")
> (add-hook 'text-mode-hook 'flyspell-mode)
> 
> But I cannot seem to make it start with danish as default, I have tried
> this:
> 
> (setq aspell-dictionary "dansk")
> 
> But each time I start emacs it uses english instead!
> 
> Any hint on how to permanently make emacs startup with danish instead?

Try setting ispell-dictionary instead.

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Startup dictonary with aspell?
  2005-12-12 16:21 Startup dictonary with aspell? Paminu
  2005-12-12 19:35 ` Peter Dyballa
  2005-12-12 19:49 ` Kevin Rodgers
@ 2005-12-12 20:42 ` Stefan Reichör
  2 siblings, 0 replies; 4+ messages in thread
From: Stefan Reichör @ 2005-12-12 20:42 UTC (permalink / raw)


Hallo Paminu!

> I tell emacs to use aspell like:
>
>
> (setq-default ispell-program-name "aspell")
> (add-hook 'text-mode-hook 'flyspell-mode)
>
> But I cannot seem to make it start with danish as default, I have tried
> this:
>
> (setq aspell-dictionary "dansk")
>
> But each time I start emacs it uses english instead!
>
> Any hint on how to permanently make emacs startup with danish instead?

Look at ispell-dictionary and ispell-local-dictionary


Stefan.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-12 20:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-12 16:21 Startup dictonary with aspell? Paminu
2005-12-12 19:35 ` Peter Dyballa
2005-12-12 19:49 ` Kevin Rodgers
2005-12-12 20:42 ` Stefan Reichör

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).