unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: arthur miller <arthur.miller@live.com>
To: Daniel Colascione <dancol@dancol.org>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: RE: A question about spellchecker
Date: Tue, 8 Apr 2014 15:07:57 +0200	[thread overview]
Message-ID: <BLU183-W351BE87E61B8E2C00C7CD5966B0@phx.gbl> (raw)
In-Reply-To: <5343CE2A.7050900@dancol.org>


[-- Attachment #1.1: Type: text/plain, Size: 2997 bytes --]

Sorry, I am a little bit new to this list - I just found it
difficult to read through all the text so I clumped all my answers on top.

I didn't ment anything bad, I appologize for inconvenience.

I have found what is problem with emacs and hunspell on my computer. 
It does not seem tounderstand charset och stream it gets back from hunspell. 
It can actually spell all words not containing swedish characters (öäå) with 
swedish dictionary. When pressing with right mouse I get a pop-up with 
word suggestions, where all swedish characters are missinterpretted. 

If I press M-$ (spell-word) I get message

"ispell-word: Ispell and its process have different character maps" .

Emacs has no problems with swedish chars in text-buffer itself, but in
characters in stream it gets back from hunspell.

I have checked that encoding of file and LANG variable all use same encoding
as the dictionary itself.

In image1 can be seen how it treats word *omvärld* (for world) .
I am not sure if this is a bug, or I am just not aware of correct setting. I have
tryed to google around for solution but I haven't found any good answers.

I am using a development version of Emacs:

GNU Emacs 24.4.50.2 (x86_64-w64-mingw32)

Are bug-reports  welcome since it is not official version of emacs?

best regards
/arthur

> Date: Tue, 8 Apr 2014 03:23:38 -0700
> From: dancol@dancol.org
> To: arthur.miller@live.com
> Subject: Re: A question about spellchecker
> 
> Please keep discussions on-list, and please don't top-post.
> 
> On 04/08/2014 03:20 AM, arthur miller wrote:
> > Thanks for the info.
> > 
> > I understand that modularization was a reason to keep only interface
> > to spellchecker, but a loadable dll could beas equally unloaded on request.
> 
> Not without infrastructure we don't have. Are you writing the patches?
> 
> > 
> > Say if user call (setq-default ispell-program-name "some-checker"), than
> > Eamcs
> > could unload its default dll, and correct its spell-checking interface
> > to somewhere
> > else. It is just a thought; I can't even build Emacs for myself, so I
> > wan't say too
> > much. But even preconfigured hunspell binary packaged with Emacs
> > would be nice since it is not in gnuwin32 distribution of gnu
> > applications. Also
> > preconfigured to work out-of-the-box - ready to just drop dictionaries
> > in .emacs.d
> > would be nice :).
> 
> Patches welcome.
> 
> > 
> > For my part I get this message when I try to use swedish dictionary:
> > 
> > ispell-word: Ispell and its process have different character maps
> 
> I'm no expert on ispell, sorry.
> 
> > 
> > I guess it is some configuration miss somewhere rather than bug.
> > 
> > By the way - is there some guide to emacs internals for novice-to-emacs
> > internals?
> 
> Your best bet is to look at existing code. The XEmacs internals manual
> also has some information that's relevant to Emacs as well.
> 
> 
> 
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 3616 bytes --]

[-- Attachment #2: spell1.png --]
[-- Type: image/png, Size: 21115 bytes --]

[-- Attachment #3: spell2.png --]
[-- Type: image/png, Size: 2921 bytes --]

  parent reply	other threads:[~2014-04-08 13:07 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 [this message]
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
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=BLU183-W351BE87E61B8E2C00C7CD5966B0@phx.gbl \
    --to=arthur.miller@live.com \
    --cc=dancol@dancol.org \
    --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).