unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: emacs list <help-gnu-emacs@gnu.org>
Subject: Re: Add French dictionary to aspell (was: ispell-dictionary with aspell)
Date: Mon, 19 Sep 2005 22:28:17 +0200	[thread overview]
Message-ID: <5186d2b5d46d8b33195800aba19d374b@Web.DE> (raw)
In-Reply-To: <u0tkbll1s3k3b.fsf@merleau.ntc.nokia.com>


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	other threads:[~2005-09-19 20:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
     [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

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5186d2b5d46d8b33195800aba19d374b@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).