all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to switch aspell dictionaries?
@ 2004-01-09  6:30 Harald Maier
  2004-01-09  6:38 ` Leif Warland
  0 siblings, 1 reply; 7+ messages in thread
From: Harald Maier @ 2004-01-09  6:30 UTC (permalink / raw)



Hello all,

does anybody know how to switch aspell dictionaries (English, German)
inside emacs if emacs is configured to use aspell?

Harald

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

* Re: How to switch aspell dictionaries?
  2004-01-09  6:30 How to switch aspell dictionaries? Harald Maier
@ 2004-01-09  6:38 ` Leif Warland
  2004-01-09  7:35   ` Harald Maier
  0 siblings, 1 reply; 7+ messages in thread
From: Leif Warland @ 2004-01-09  6:38 UTC (permalink / raw)


Harald Maier <harald@maierh.de> writes:

> Hello all,
>
> does anybody know how to switch aspell dictionaries (English, German)
> inside emacs if emacs is configured to use aspell?

ispell-change-dictionary

-- 
Leif Warland

Have you ever wondered what makes Californians so calm?  Besides drugs,
I mean.  The answer is hot tubs.  A hot tub is a redwood container
filled with water that you sit in naked with members of the opposite
sex, none of whom is necessarily your spouse.  After a few hours in
their hot tubs, Californians don't give a damn about earthquakes or
mass murderers.  They don't give a damn about anything , which is why
they are able to produce "Laverne and Shirley" week after week.
		-- Dave Barry, "The Taming of the Screw"

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

* Re: How to switch aspell dictionaries?
  2004-01-09  6:38 ` Leif Warland
@ 2004-01-09  7:35   ` Harald Maier
  2004-01-09  7:43     ` Leif Warland
  2004-01-10 10:46     ` Martin Stemplinger
  0 siblings, 2 replies; 7+ messages in thread
From: Harald Maier @ 2004-01-09  7:35 UTC (permalink / raw)


Leif Warland <leif.warland@sintef.no> writes:

> Harald Maier <harald@maierh.de> writes:
>
>> Hello all,
>>
>> does anybody know how to switch aspell dictionaries (English, German)
>> inside emacs if emacs is configured to use aspell?
>
> ispell-change-dictionary

I know 'ispell-change-dictionary' and in the context of ispell this
command works very well. But I don't know how to specifiy the aspell
dictionary name. It looks also that the dictionary names that are
listed by ispell-change-dictionary are only valid for ispell. So I
assume that this needs further customizing.

My system is configured as follow: 

  SuSE 9.0/de_DE@euro

The default dictionary is German and this works very fine. But how
will I customize the ispell variables so that aspell will find the
English dictionary?

Harald

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

* Re: How to switch aspell dictionaries?
  2004-01-09  7:35   ` Harald Maier
@ 2004-01-09  7:43     ` Leif Warland
  2004-01-09  8:15       ` Harald Maier
  2004-01-10 10:46     ` Martin Stemplinger
  1 sibling, 1 reply; 7+ messages in thread
From: Leif Warland @ 2004-01-09  7:43 UTC (permalink / raw)


Harald Maier <harald@maierh.de> writes:

> Leif Warland <leif.warland@sintef.no> writes:
>
>> Harald Maier <harald@maierh.de> writes:
>>
>>> Hello all,
>>>
>>> does anybody know how to switch aspell dictionaries (English, German)
>>> inside emacs if emacs is configured to use aspell?
>>
>> ispell-change-dictionary
>
> I know 'ispell-change-dictionary' and in the context of ispell this
> command works very well. But I don't know how to specifiy the aspell
> dictionary name. It looks also that the dictionary names that are
> listed by ispell-change-dictionary are only valid for ispell. So I
> assume that this needs further customizing.

I have the following in my .emacs file (which works for me):

(load "ispell")
(setq ispell-program-name "aspell")

where

"ispell-dictionary-alist" looks like this:

((nil "[A-Za-z]" "[^A-Za-z]" "[']" nil
      ("-B")
      nil iso-8859-1)
 ("american" "[A-Za-z]" "[^A-Za-z]" "[']" nil
  ("-B")
  nil iso-8859-1)
 ("brasileiro" "[A-ZÁÉÍÓÚÀÈÌÒÙÃÕÇÜÂÊÔa-záéíóúàèìòùãõçüâêô]" "[^A-ZÁÉÍÓÚÀÈÌÒÙÃÕÇÜÂÊÔa-záéíóúàèìòùãõçüâêô]" "[']" nil
  ("-d" "brasileiro")
  nil iso-8859-1)
 ("british" "[A-Za-z]" "[^A-Za-z]" "[']" nil
  ("-B" "-d" "british")
  nil iso-8859-1)
 ("castellano" "[A-ZÁÉÍÑÓÚÜa-záéíñóúü]" "[^A-ZÁÉÍÑÓÚÜa-záéíñóúü]" "[-]" nil
  ("-B" "-d" "castellano")
  "~tex" iso-8859-1)
 ("castellano8" "[A-ZÁÉÍÑÓÚÜa-záéíñóúü]" "[^A-ZÁÉÍÑÓÚÜa-záéíñóúü]" "[-]" nil
  ("-B" "-d" "castellano")
  "~latin1" iso-8859-1)
 ("czech" "[A-Za-zÁÉÌÍÓÚÙÝ®©ÈØÏ«Òáéìíóúùý¾¹èøï»ò]" "[^A-Za-zÁÉÌÍÓÚÙÝ®©ÈØÏ«Òáéìíóúùý¾¹èøï»ò]" "" nil
  ("-B" "-d" "czech")
  nil iso-8859-2)
 ("dansk" "[A-ZÆØÅa-zæøå]" "[^A-ZÆØÅa-zæøå]" "[']" nil
  ("-C")
  nil iso-8859-1)
 ("deutsch" "[a-zA-Z\"]" "[^a-zA-Z\"]" "[']" t
  ("-C")
  "~tex" iso-8859-1)
 ("deutsch8" "[a-zA-ZÄÖÜäößü]" "[^a-zA-ZÄÖÜäößü]" "[']" t
  ("-C" "-d" "deutsch")
  "~latin1" iso-8859-1)
 ("english" "[A-Za-z]" "[^A-Za-z]" "[']" nil
  ("-B")
  nil iso-8859-1)
 ("esperanto" "[A-Za-z¦¬¶¼ÆØÝÞæøýþ]" "[^A-Za-z¦¬¶¼ÆØÝÞæøýþ]" "[-']" t
  ("-C")
  "~latin3" iso-8859-1)
 ("esperanto-tex" "[A-Za-z^\\]" "[^A-Za-z^\\]" "[-'`\"]" t
  ("-C" "-d" "esperanto")
  "~tex" iso-8859-1)
 ("francais7" "[A-Za-z]" "[^A-Za-z]" "[`'^---]" t nil nil iso-8859-1)
 ("francais" "[A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü]" "[^A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü]" "[-']" t nil "~list" iso-8859-1)
 ("francais-tex" "[A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü\\]" "[^A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü\\]" "[-'^`\"]" t nil "~tex" iso-8859-1)
 ("italiano" "[A-ZÀÁÈÉÌÍÒÓÙÚa-zàáèéìíóùú]" "[^A-ZÀÁÈÉÌÍÒÓÙÚa-zàáèéìíóùú]" "[-]" nil
  ("-B" "-d" "italian")
  "~tex" iso-8859-1)
 ("nederlands" "[A-Za-zÀ-ÅÇÈ-ÏÒ-ÖÙ-Üà-åçè-ïñò-öù-ü]" "[^A-Za-zÀ-ÅÇÈ-ÏÒ-ÖÙ-Üà-åçè-ïñò-öù-ü]" "[']" t
  ("-C")
  nil iso-8859-1)
 ("nederlands8" "[A-Za-zÀ-ÅÇÈ-ÏÒ-ÖÙ-Üà-åçè-ïñò-öù-ü]" "[^A-Za-zÀ-ÅÇÈ-ÏÒ-ÖÙ-Üà-åçè-ïñò-öù-ü]" "[']" t
  ("-C")
  nil iso-8859-1)
 ("norsk" "[A-Za-zÅÆÇÈÉÒÔØåæçèéòôø]" "[^A-Za-zÅÆÇÈÉÒÔØåæçèéòôø]" "[\"]" nil
  ("-d" "norsk")
  "~list" iso-8859-1)
 ("norsk7-tex" "[A-Za-z{}\\'^`]" "[^A-Za-z{}\\'^`]" "[\"]" nil
  ("-d" "norsk")
  "~plaintex" iso-8859-1)
 ("polish" "[A-Za-z¡£¦¬¯±³¶¼¿ÆÊÑÓæêñó]" "[^A-Za-z¡£¦¬¯±³¶¼¿ÆÊÑÓæêñó]" "" nil
  ("-d" "polish")
  nil iso-8859-2)
 ("portugues" "[a-zA-ZÁÂÉÓàáâéêíóãú]" "[^a-zA-ZÁÂÉÓàáâéêíóãú]" "[']" t
  ("-C" "-d" "portugues")
  "~latin1" iso-8859-1)
 ("russian" "[áâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ]" "[^áâ÷çäå³öúéêëìíîïðòóôõæèãþûýøùÿüàñÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝØÙßÜÀÑ]" "" nil
  ("-d" "russian")
  nil koi8-r)
 ("slovak" "[A-Za-zÁÄÉÍÓÚÔÀťݮ©ÈÏ«Òáäéíóúôàåµý¾¹èï»ò]" "[^A-Za-zÁÄÉÍÓÚÔÀťݮ©ÈÏ«Òáäéíóúôàåµý¾¹èï»ò]" "" nil
  ("-B" "-d" "slovak")
  nil iso-8859-2)
 ("svenska" "[A-Za-zåäöéàüèæøçÅÄÖÉÀÜÈÆØÇ]" "[^A-Za-zåäöéàüèæøçÅÄÖÉÀÜÈÆØÇ]" "[']" nil
  ("-C")
  "~list" iso-8859-1)
 ("esperanto" "[A-Za-z¦¬¶¼ÆØÝÞæøýþ]" "[^A-Za-z¦¬¶¼ÆØÝÞæøýþ]" "[-']" t
  ("-C")
  "~latin3" iso-8859-1)
 ("esperanto-tex" "[A-Za-z^\\]" "[^A-Za-z^\\]" "[-'`\"]" t
  ("-C" "-d" "esperanto")
  "~tex" iso-8859-1)
 ("francais7" "[A-Za-z]" "[^A-Za-z]" "[`'^---]" t nil nil iso-8859-1)
 ("francais" "[A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü]" "[^A-Za-zÀÂÆÇÈÉÊËÎÏÔÙÛÜàâçèéêëîïôùûü]" "[-']" t nil "~list" iso-8859-1))
-- 
Leif Warland

You can do very well in speculation where land or anything to do with dirt
is concerned.

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

* Re: How to switch aspell dictionaries?
  2004-01-09  7:43     ` Leif Warland
@ 2004-01-09  8:15       ` Harald Maier
  0 siblings, 0 replies; 7+ messages in thread
From: Harald Maier @ 2004-01-09  8:15 UTC (permalink / raw)


Leif Warland <leif.warland@sintef.no> writes:

> I have the following in my .emacs file (which works for me):
>
> (load "ispell")
> (setq ispell-program-name "aspell")
>
> where
>
> "ispell-dictionary-alist" looks like this:
> ...

Thank you, I will give this a try.

Harald

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

* Re: How to switch aspell dictionaries?
  2004-01-09  7:35   ` Harald Maier
  2004-01-09  7:43     ` Leif Warland
@ 2004-01-10 10:46     ` Martin Stemplinger
  2004-01-12  7:59       ` Harald Maier
  1 sibling, 1 reply; 7+ messages in thread
From: Martin Stemplinger @ 2004-01-10 10:46 UTC (permalink / raw)


On Fre Jan 09 2004 at 08:35, Harald Maier <harald@maierh.de> wrote:

> My system is configured as follow: 
>
>   SuSE 9.0/de_DE@euro
>
> The default dictionary is German and this works very fine. But how
> will I customize the ispell variables so that aspell will find the
> English dictionary?

just set ispell-dictionary to "english". At least that works for and
it don't have ispell installed at all.

-- 
Remove NOSPAM to reply by mail

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

* Re: How to switch aspell dictionaries?
  2004-01-10 10:46     ` Martin Stemplinger
@ 2004-01-12  7:59       ` Harald Maier
  0 siblings, 0 replies; 7+ messages in thread
From: Harald Maier @ 2004-01-12  7:59 UTC (permalink / raw)


Martin Stemplinger <mstemplingerNOSPAM@gmx.de> writes:

> On Fre Jan 09 2004 at 08:35, Harald Maier <harald@maierh.de> wrote:
>
>> My system is configured as follow: 
>>
>>   SuSE 9.0/de_DE@euro
>>
>> The default dictionary is German and this works very fine. But how
>> will I customize the ispell variables so that aspell will find the
>> English dictionary?
>
> just set ispell-dictionary to "english". At least that works for and
> it don't have ispell installed at all.

Thanks for the info. The SuSE installed aspell package contains only
the german and swiss dictionary. After I installed aspell by myself
then it was possible to choose the the right dictionary from 
/usr/local/lib/aspell.

Harald

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

end of thread, other threads:[~2004-01-12  7:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09  6:30 How to switch aspell dictionaries? Harald Maier
2004-01-09  6:38 ` Leif Warland
2004-01-09  7:35   ` Harald Maier
2004-01-09  7:43     ` Leif Warland
2004-01-09  8:15       ` Harald Maier
2004-01-10 10:46     ` Martin Stemplinger
2004-01-12  7:59       ` Harald Maier

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.