From: Leif Warland <leif.warland@sintef.no>
Subject: Re: How to switch aspell dictionaries?
Date: Fri, 09 Jan 2004 08:43:39 +0100 [thread overview]
Message-ID: <87zncx1s9g.fsf@efip75.energy.sintef.no> (raw)
In-Reply-To: m3vfnlh8wk.fsf@ate.maierh
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.
next prev parent reply other threads:[~2004-01-09 7:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2004-01-09 8:15 ` Harald Maier
2004-01-10 10:46 ` Martin Stemplinger
2004-01-12 7:59 ` Harald Maier
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=87zncx1s9g.fsf@efip75.energy.sintef.no \
--to=leif.warland@sintef.no \
/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.