help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)


From: Peter Dyballa
Subject: Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
Date: Mon, 19 Sep 2005 22:28:17 +0200


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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]