[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [aspell-user] aspell problems
From: |
Trond Eivind Glomsrød |
Subject: |
Re: [aspell-user] aspell problems |
Date: |
24 Apr 2001 12:11:56 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102 |
Kevin Atkinson <address@hidden> writes:
> > 1) If the user has an existing aspell configuration, specifying language,
> > the build could fail: I had specified "american" as the language and
> > removed the previous aspell installation (as I've known the aspell
> > build process not to be clean before - it would happily link new
> > binaries with the old libraries). When aspell was run during the
> > build process to create these dictionaries, it failed - complaining
> > that the "american" file couldn't be found. IMHO, aspell shouldn't
> > look for external info during build.
>
> Could you give me some more detail. It shouldn't be doing this.
I had "lang american" in my .aspell.conf (which worked fine), then
removed aspell in order to build the new aspell (I've experience bad
linking before unless I do that, and pspell also has broken build
process. Possibly because of the libtool branch.). When aspell builds,
it will then fail when creating the dictionaries.
> > 2) --lang doesn't seem to work. I have LANG=no_NO set, and
> > "aspell --lang=american -c brit.txt" uses the Norwegian dictionary.
> > Using the environment variable is nice, but command line options
> > or configuration files should take precedence (I just tried the
> > configuration file now, with the same results)
>
> The option you want to use is --language-tag=en_US or --master=american
> (or -d american) not --lang=american.
The "aspell --help" says
--lang=<str> default language to use
for --lang, nothing for --language-tag (which also strikes me as less
intuitive, and
"-d,--master=<str> main word list base name"
> The --lang tag should only really
> be used when creating dictionaries. It will also work when selecting a
> dictionary but only if the language of that name exists, the "american" is
> not an Aspell language ("english" is).
There is an american.multi, and since American differ slightly from
English ("color" vs. "colour"), American is IMHO the language which
should be specified.
--
Trond Eivind Glomsrød
Red Hat, Inc.