all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Expected language "en" but got "sv"
@ 2013-11-11 19:43 Andreas
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas @ 2013-11-11 19:43 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,
Thanks Peter and Emanuel for your swift responses.
Your replies got me thinking and I finally found ispell.el which as it
stands I probably should have tried to find earlier.
It turns out that if you don't define your personal dictionaries the
ispell/aspell defaults are used which defaults to
~/.ispell_DICT for ispell
and
~/.aspell.LANG.pws for aspell
where DICT is some name of some kind and LANG is the language of choice.

It seems that both of the suggestions hinted at something like this but I
could not figure it out until I found it in ispell.el.

The simple solution would now be to just remove the variable and let aspell
sort it out. Which I have =).

Thanks for putting me on the right track!
regards
Andreas


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Expected language "en" but got "sv"
@ 2013-11-13 23:02 Andreas
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas @ 2013-11-13 23:02 UTC (permalink / raw)
  To: help-gnu-emacs

Hi Emanuel,
I was wondering about adding whole dictionaries when I was figuring out my
issues. I was unsure how the words where actually added to the lists as I
couldn't see a pattern for the small number that I used for testing.
Thanks for your script. I will file it under my resources tree for future
use.

Thanks again
Andreas


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <mailman.5825.1384199033.10748.help-gnu-emacs@gnu.org>]
[parent not found: <mailman.5753.1384120154.10748.help-gnu-emacs@gnu.org>]
* Expected language "en" but got "sv"
@ 2013-11-10 20:49 Andreas Tjärnberg
  2013-11-10 22:04 ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Andreas Tjärnberg @ 2013-11-10 20:49 UTC (permalink / raw)
  To: help-gnu-emacs

Hello list,

I have had a small problem lately conserning my spell checker in
emacs. When I have tried to spell check I have gotten the error:
Expected language "en" but got "sv"
My spell checking config is modest I would say.
It turns out that I had my personal dictionary like this:
personal_ws-1.1 sv 3 
okontrollerat
rabalder
plåtarna

and that caused the error to appear when spell checking in english.

I am wondering how I am suppose to handle my personal dictionary if I
have some swedish and some english words that I want to add to it or
perhaps to different files and use them when appropriate.

There has been another thread about this that i've found but no answers
to the posts
https://lists.gnu.org/archive/html/help-gnu-emacs/2005-09/msg00178.html

Hope to get some input

regards
Andreas



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

end of thread, other threads:[~2013-11-13 23:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 19:43 Expected language "en" but got "sv" Andreas
  -- strict thread matches above, loose matches on Subject: below --
2013-11-13 23:02 Andreas
     [not found] <mailman.5825.1384199033.10748.help-gnu-emacs@gnu.org>
2013-11-11 22:30 ` Emanuel Berg
     [not found] <mailman.5753.1384120154.10748.help-gnu-emacs@gnu.org>
2013-11-11  3:21 ` Emanuel Berg
2013-11-10 20:49 Andreas Tjärnberg
2013-11-10 22:04 ` Peter Dyballa

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.