unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: arthur miller <arthur.miller@live.com>
Cc: emacs-devel@gnu.org
Subject: Re: A question about spellchecker
Date: Wed, 09 Apr 2014 20:27:55 +0300	[thread overview]
Message-ID: <83zjju4dlw.fsf@gnu.org> (raw)
In-Reply-To: <BLU183-W4235ABC155203523C761CA966A0@phx.gbl>

> From: arthur miller <arthur.miller@live.com>
> CC: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
> Date: Wed, 9 Apr 2014 18:59:56 +0200
> 
> Now - I have one question. Is it possible to pass name of dictionary instead of renaming
> .dic and .aff files?

Yes, of course: you have been doing that all the time with the -d
switch in your .emacs customizations.  My suggestion to copy files to
the locale names used by Windows is only so that Hunspell loads the
dictionary for your locale automatically at startup.

> The reason: I belieave it is much easier to instruct people how to pass name of a file to
> Emacs, than how to find what locale their Emacs or system use :). 

I think finding the locale is easier, just look here:

  http://www.microsoft.com/resources/msdn/goglobal/default.mspx

(Look in the last column.)

> Furthermore, what if we wish to use two languages == two dictionaries. How to 
> specify for ispell-change-dictionary if dictionaries are not set in list. Does hunspell
> enumerate all dictionaries in folder? 

Yes, with the latest binaries Hunspell will find all the installed
dictionaries, and ispell-change-dictionary will suggest them as
completions.

> 
> For example there is a list of country names and codes in rw-language-and-country-codes.el.
> Any chance to use it and automate so users don't have to be instructed to rename dictionary
> files?

That file is not what we need for ispell.el, no.  Again, renaming (or
rather copying) is only needed for the single dictionary that
corresponds to your Windows locale.  the other dictionaries don't need
to be renamed.





  reply	other threads:[~2014-04-09 17:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08  4:21 A question about spellchecker arthur miller
2014-04-08  5:16 ` Daniel Colascione
     [not found]   ` <BLU183-W65979B6E2198DC658D6CD4966B0@phx.gbl>
     [not found]     ` <5343C8BE.206@dancol.org>
     [not found]       ` <BLU183-W20EF6E63CF75718EECC5EE966B0@phx.gbl>
     [not found]         ` <5343CE2A.7050900@dancol.org>
2014-04-08 13:07           ` arthur miller
2014-04-08 15:34             ` Eli Zaretskii
2014-04-08 15:39               ` arthur miller
2014-04-08 16:21                 ` Agustin Martin
2014-04-08 16:39                   ` Eli Zaretskii
2014-04-09 16:27                     ` Eli Zaretskii
2014-04-09 16:59                       ` arthur miller
2014-04-09 17:27                         ` Eli Zaretskii [this message]
2014-04-09 17:32                           ` Eli Zaretskii
2014-04-08 16:50                   ` arthur miller
2014-04-08 16:34                 ` Eli Zaretskii
2014-04-08 15:11 ` Eli Zaretskii
     [not found]   ` <BLU183-W1EA36DA7237C49B9E9ECF966B0@phx.gbl>
2014-04-08 15:47     ` Eli Zaretskii
     [not found]       ` <BLU183-W50614F3A61A7E9DADB9E60966B0@phx.gbl>
2014-04-08 16:37         ` Eli Zaretskii

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=83zjju4dlw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=arthur.miller@live.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).