* ispell-dictionary with aspell
@ 2005-09-17 5:46 Sebastian Luque
0 siblings, 0 replies; 13+ messages in thread
From: Sebastian Luque @ 2005-09-17 5:46 UTC (permalink / raw)
Hi,
Even though I have the following:
(setq ispell-program-name "aspell"
ispell-dictionary "english")
when I do M-$ to check some spelling, I get the following backtrace:
Debugger entered--Lisp error: (error "Error: No word lists can be found for the language \"us\".")
signal(error ("Error: No word lists can be found for the language \"us\"."))
error("%s" "Error: No word lists can be found for the language \"us\".")
ispell-init-process()
ispell-buffer-local-words()
ispell-accept-buffer-local-defs()
ispell-word(nil nil nil)
call-interactively(ispell-word)
and the value of ispell-dictionary after that gets set to nil.
However, if I do M-x ispell-change-dictionary RET english RET, then
there's no problem.
Has anybody else seen this or have some pointers on what's going on?
Thanks in advance,
--
Sebastian P. Luque
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ispell-dictionary with aspell
[not found] <mailman.7328.1126936677.20277.help-gnu-emacs@gnu.org>
@ 2005-09-19 1:09 ` netcasper
2005-09-19 3:20 ` Sebastian Luque
[not found] ` <mailman.7452.1127100421.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 13+ messages in thread
From: netcasper @ 2005-09-19 1:09 UTC (permalink / raw)
try
(setq-default ispell-dictionary "english")
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ispell-dictionary with aspell
2005-09-19 1:09 ` ispell-dictionary with aspell netcasper
@ 2005-09-19 3:20 ` Sebastian Luque
[not found] ` <mailman.7452.1127100421.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 13+ messages in thread
From: Sebastian Luque @ 2005-09-19 3:20 UTC (permalink / raw)
"netcasper@gmail.com" <netcasper@gmail.com> wrote:
> try
> (setq-default ispell-dictionary "english")
Thanks, but it didn't help. Using (ispell-change-dictionary "english") in
~/.emacs didn't help either.
hmm...will have to get used to M-x ispell-change-dictionary at the start
of sessions.
--
Sebastian P. Luque
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ispell-dictionary with aspell
[not found] ` <mailman.7452.1127100421.20277.help-gnu-emacs@gnu.org>
@ 2005-09-19 7:09 ` Liang Wang
2005-09-19 8:45 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
2005-09-19 9:41 ` ispell-dictionary with aspell Peter Dyballa
0 siblings, 2 replies; 13+ messages in thread
From: Liang Wang @ 2005-09-19 7:09 UTC (permalink / raw)
I just checked my .emacs file.
(setq ispell-prgoram-name "aspell")
(set-default 'ispell-local-dictioniary "american")
^ permalink raw reply [flat|nested] 13+ messages in thread
* Add French dictionary to aspell (was: ispell-dictionary with aspell)
2005-09-19 7:09 ` Liang Wang
@ 2005-09-19 8:45 ` Marc Girod
2005-09-19 9:50 ` Peter Dyballa
` (3 more replies)
2005-09-19 9:41 ` ispell-dictionary with aspell Peter Dyballa
1 sibling, 4 replies; 13+ messages in thread
From: Marc Girod @ 2005-09-19 8:45 UTC (permalink / raw)
Hello,
Only related to this thread...
I am using aspell through ispell under emacs.
I wanted to add a French dictionary, and downloaded
aspell-fr-0.50-3.tar.bz2 from http://aspell.net/ (in fact from
ftp://ftp.gnu.org/gnu/aspell/dict/fr/).
I tried to install it but found it clashed with the version of aspell
I used:
$ aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1 alpha)
$
I thus downloaded aspell-0.61-20050123.tar.gz and installed it, but
couldn't use it at least under emacs...
I now found that the latest version is supposed to be
aspell-0.60.3.tar.gz
Should this one work as a drop-in replacement for what I had?
--
Marc Girod P.O. Box 370 Voice: +358-71 80 25581
Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415
Kara RD B 480.2 Finland Fax: +358-71 80 64474
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ispell-dictionary with aspell
2005-09-19 7:09 ` Liang Wang
2005-09-19 8:45 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
@ 2005-09-19 9:41 ` Peter Dyballa
1 sibling, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2005-09-19 9:41 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 19.09.2005 um 09:09 schrieb Liang Wang:
> (set-default 'ispell-local-dictioniary "american")
>
This seems to make a difference to me! Interestingly aspell works with
the 'german' dictionary, but not with 'de' or 'de_DE'. Even more
interestingly I can use a non-existent dictionary 'german8' -- but
different from ispell aspell still does not recognize words with
diacritics in them.
I think aspell needs some more decades of development until it reaches
the state ispell had 15 years ago ...
--
Greetings
Pete
The day Microsoft makes something that doesn't suck is the day they
start selling vacuum cleaners.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
2005-09-19 8:45 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
@ 2005-09-19 9:50 ` Peter Dyballa
2005-09-19 19:37 ` Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2005-09-19 9:50 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 19.09.2005 um 10:45 schrieb Marc Girod:
> $ aspell --version
> @(#) International Ispell Version 3.1.20 (but really Aspell .33.7.1
> alpha)
>
You do need a modern version of the aspell binary! Recently this
version is around:
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.2)
This one will work with your modern French dictionary! The source is
somewhere on the Aspell site.
If you manage to make aspell accept and recognize words with
diacritics: could you describe us how you achieved this?
--
Greetings
Pete
Time is an illusion. Lunchtime, doubly so.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
2005-09-19 8:45 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
2005-09-19 9:50 ` Peter Dyballa
@ 2005-09-19 19:37 ` Eli Zaretskii
[not found] ` <mailman.7475.1127124152.20277.help-gnu-emacs@gnu.org>
[not found] ` <mailman.7572.1127160212.20277.help-gnu-emacs@gnu.org>
3 siblings, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2005-09-19 19:37 UTC (permalink / raw)
> From: Marc Girod <girod@shire.ntc.nokia.com>
> Date: Mon, 19 Sep 2005 08:45:20 GMT
>
> I thus downloaded aspell-0.61-20050123.tar.gz and installed it, but
> couldn't use it at least under emacs...
>
> I now found that the latest version is supposed to be
> aspell-0.60.3.tar.gz
What version of Emacs is that?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
[not found] ` <mailman.7475.1127124152.20277.help-gnu-emacs@gnu.org>
@ 2005-09-19 19:49 ` Marc Girod
2005-09-19 20:28 ` Peter Dyballa
[not found] ` <mailman.7582.1127161932.20277.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 13+ messages in thread
From: Marc Girod @ 2005-09-19 19:49 UTC (permalink / raw)
>>>>> "PD" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
PD> This one will work with your modern French dictionary! The source
PD> is somewhere on the Aspell site.
It worked indeed, without a glitch.
PD> If you manage to make aspell accept and recognize words with
PD> diacritics: could you describe us how you achieved this?
In fact, not even this one.
Yes, it seems to work for me... What is your problem?
I do have accented words, and ispell/aspell will accept them -- or
propose corrections as for others.
It also proposes both accented and non accented words.
Everything looks fine.
I use iso-latin-1-unix as coding system in the current buffer.
--
Marc Girod P.O. Box 370 Voice: +358-71 80 25581
Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415
Kara RD B 480.2 Finland Fax: +358-71 80 64474
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
2005-09-19 19:49 ` Marc Girod
@ 2005-09-19 20:28 ` Peter Dyballa
[not found] ` <mailman.7582.1127161932.20277.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2005-09-19 20:28 UTC (permalink / raw)
Cc: emacs list
Am 19.09.2005 um 21:49 schrieb Marc Girod:
> What is your problem?
> I do have accented words, and ispell/aspell will accept them -- or
> propose corrections as for others.
In an ISO Latin-9 (ISO 8859-15, the one with €) encoded buffer
(LaTeX/AUCTeX/flyspell) aspell does not recognize for example "später"
(later/plus tard). It's two words: "sp" and "ter". The propositions
contain UTF-8/are UTF-8 encoded (from the dictionary) and incorrectly
shown in the *Choices* buffer: every byte is displayed in ISO Latin-1
or such instead of choosing the right glyph for the two or three byte
UTF-8 sequences.
I have a very simple set-up:
(setq ispell-dictionary "german8")
; (setq ispell-program-name "ispell")
(setq ispell-program-name "aspell")
(if (string= "aspell" ispell-program-name)
(progn
; (setq ispell-dictionary "german8")
(setq ispell-cmd-args "--norm-form=comp --norm-required
--run-together")
(set-default 'ispell-local-dictionary "german8")
(message "Alles für «a»spell")
)
; (setq ispell-dictionary "german8")
(message "Alles für »i«spell")
)
(add-hook 'LaTeX-mode-hook (function (lambda () (setq
ispell-extra-args '("-t")))))
The line with ispell-cmd-args does not work at all. If I use ispell
instead of aspell everything's fine!
--
Greetings
Pete
"I love deadlines. I love the whooshing noise they make as they go by"
(Douglas Adams)
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
[not found] ` <mailman.7572.1127160212.20277.help-gnu-emacs@gnu.org>
@ 2005-09-19 20:44 ` Marc Girod
0 siblings, 0 replies; 13+ messages in thread
From: Marc Girod @ 2005-09-19 20:44 UTC (permalink / raw)
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> What version of Emacs is that?
21.2
--
Marc Girod P.O. Box 370 Voice: +358-71 80 25581
Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415
Kara RD B 480.2 Finland Fax: +358-71 80 64474
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell
[not found] ` <mailman.7582.1127161932.20277.help-gnu-emacs@gnu.org>
@ 2005-09-19 20:47 ` Marc Girod
2005-09-19 21:19 ` Peter Dyballa
0 siblings, 1 reply; 13+ messages in thread
From: Marc Girod @ 2005-09-19 20:47 UTC (permalink / raw)
>>>>> "PD" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
PD> every byte is displayed in ISO Latin-1 or such instead of choosing
PD> the right glyph for the two or three byte UTF-8 sequences.
Er... but do I correctly understand that the problem is only with
other encodings that iso-latin-1?
That with iso-latin-1, everything works fine?
--
Marc Girod P.O. Box 370 Voice: +358-71 80 25581
Nokia BI 00045 NOKIA Group Mobile: +358-50 38 78415
Kara RD B 480.2 Finland Fax: +358-71 80 64474
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Add French dictionary to aspell
2005-09-19 20:47 ` Add French dictionary to aspell Marc Girod
@ 2005-09-19 21:19 ` Peter Dyballa
0 siblings, 0 replies; 13+ messages in thread
From: Peter Dyballa @ 2005-09-19 21:19 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 19.09.2005 um 22:47 schrieb Marc Girod:
> but do I correctly understand that the problem is only with
> other encodings that iso-latin-1?
> That with iso-latin-1, everything works fine?
>
No, there is no difference in aspell's behaviour: it fails in both.
GNU Emacs 22.0.50 and 23.0.0. Both again. Plus Carbon Emacsen 22.0.50.
--
Greetings
Pete
Never be led astray onto the path of virtue.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-09-19 21:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.7328.1126936677.20277.help-gnu-emacs@gnu.org>
2005-09-19 1:09 ` ispell-dictionary with aspell netcasper
2005-09-19 3:20 ` Sebastian Luque
[not found] ` <mailman.7452.1127100421.20277.help-gnu-emacs@gnu.org>
2005-09-19 7:09 ` Liang Wang
2005-09-19 8:45 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
2005-09-19 9:50 ` Peter Dyballa
2005-09-19 19:37 ` Eli Zaretskii
[not found] ` <mailman.7475.1127124152.20277.help-gnu-emacs@gnu.org>
2005-09-19 19:49 ` Marc Girod
2005-09-19 20:28 ` Peter Dyballa
[not found] ` <mailman.7582.1127161932.20277.help-gnu-emacs@gnu.org>
2005-09-19 20:47 ` Add French dictionary to aspell Marc Girod
2005-09-19 21:19 ` Peter Dyballa
[not found] ` <mailman.7572.1127160212.20277.help-gnu-emacs@gnu.org>
2005-09-19 20:44 ` Add French dictionary to aspell (was: ispell-dictionary with aspell) Marc Girod
2005-09-19 9:41 ` ispell-dictionary with aspell Peter Dyballa
2005-09-17 5:46 Sebastian Luque
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).