unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: [newbie] emacs flyspell not understands well accented chars
Date: Tue, 03 Jun 2003 14:52:23 +0200	[thread overview]
Message-ID: <ufzmrjpbs.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: V1ZCa.32859$pR3.693885@news1.tin.it

Mario Giammarco <mgiammarco@nospam.supereva.it> writes:

> Oliver Scholz wrote:
>
>> Mario Giammarco <mgiammarco@nospam.supereva.it> writes:
>> [...]
>>> Me too I have done the same thing. when I do flyspell-mode it says error
>>> /usr/lib/ispell/italianx.hash not found.
>> 
>> Please post the code that you added to you .emacs.
>> 
>
> if I use this .emacs:
>
> (add-to-list 'ispell-local-dictionary-alist
>              '("italianx"
>                "[[:alpha:]]"
>                "[^[:alpha:]]"
>                "[']" t
>                ("-C" "-d" "italian")
>                "~latin1" iso-8859-15))
>
> (setq ispell-dictionary "italianx")

Yeah, that's how it should look like.

> I obtain at the start of emacs this error: Symbol value as variable is void

This error message is about the symbol
`ispell-local-dictionary-alist', I presume?

Very, very strange, it seems to be preloaded on my Emacs. Does it
work, if you put a

(require 'ispell)

immediately before the `(add-to-list ... )'?

> So I modified to this .emacs:
>
> '(ispell-local-dictionary-alist
>              '("italianx"
>                "[[:alpha:]]"
>                "[^[:alpha:]]"
>                "[']" t
>                ("-C" "-d" "italian")
>                "~latin1" iso-8859-15))

Aah, I suspected something like that. 

This expression is wrong. It doesn't give an error, of course, but in
fact it does absolutely nothing.

> (setq ispell-dictionary "italianx")
>
> Now emacs works but when I start flyspell I got:
>
> can't open /usr/lib/ispell/italianx.hash^M
[...]

That's because you have not really modified your dictionary-alist with
the expression you used. Unable to get advice from there how to deal
with "italianx", Emacs resorts to appending ".hash" to the value of
`ispell-dictionary' and hopes for the best. And fails.

Please, use the expression you posted first, the one which led to the
error message, but put a (require 'ispell) before it. We should try
to solve the problem indicated by the error message.


    Oliver
-- 
15 Prairial an 211 de la Révolution
Liberté, Egalité, Fraternité!

  reply	other threads:[~2003-06-03 12:52 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-01 17:28 [newbie] emacs flyspell not understands well accented chars Mario Giammarco
2003-06-01 18:27 ` Eli Zaretskii
     [not found] ` <mailman.7104.1054492093.21513.help-gnu-emacs@gnu.org>
2003-06-01 18:57   ` Ole Laursen
2003-06-01 19:08   ` Stefan Monnier
2003-06-01 20:27     ` Mario Giammarco
2003-06-01 20:02   ` Mario Giammarco
2003-06-02  8:21   ` Kai Großjohann
2003-06-02 11:14     ` Oliver Scholz
2003-06-02 12:09       ` Mario Giammarco
2003-06-02 13:53         ` Oliver Scholz
2003-06-02 15:30           ` Mario Giammarco
2003-06-02 16:54             ` Oliver Scholz
2003-06-02 17:11               ` Mario Giammarco
2003-06-02 17:39                 ` Oliver Scholz
2003-06-03  8:31                   ` Mario Giammarco
2003-06-03 12:52                     ` Oliver Scholz [this message]
2003-06-03 13:39                       ` Mario Giammarco
2003-06-03 14:53                         ` Oliver Scholz
2003-06-03 18:21                           ` Mario Giammarco
2003-06-03 19:57                             ` Oliver Scholz
2003-06-03 20:32                               ` Mario Giammarco
2003-06-04 17:43                                 ` Mario Giammarco
2003-06-04 21:32                                   ` Oliver Scholz
2003-06-05 12:01                                     ` Mario Giammarco
2003-06-05 12:17                                       ` Mario Giammarco
2003-06-05 22:21                                       ` Oliver Scholz
2003-06-06  8:33                                         ` Mario Giammarco
2003-06-06 11:09                                           ` Oliver Scholz
2003-06-06 12:27                                             ` Mario Giammarco
2003-06-06 12:52                                               ` Oliver Scholz
2003-06-06 13:28                                                 ` Mario Giammarco
2003-06-06 13:40                                                   ` Oliver Scholz
2003-06-06 14:01                                                     ` Mario Giammarco
2003-06-07 10:16                                                       ` Reiner Steib
2003-06-07 12:18                                                         ` Mario Giammarco
2003-06-06 12:42                                             ` Mario Giammarco
2003-06-03 19:20                           ` Stefan Monnier
2003-06-02 17:18               ` Mario Giammarco
2003-06-02 17:40                 ` Oliver Scholz
2003-06-03  8:32               ` Mario Giammarco
2003-06-03 12:36                 ` Oliver Scholz

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=ufzmrjpbs.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    /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).