From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Didier Newsgroups: gmane.emacs.bugs Subject: bug#32471: 26.1; ispell throwing wrong-type-argument stringp nil on Windows 10, with emacs 26.1 and hunspell Date: Fri, 24 Aug 2018 14:30:58 -0700 Message-ID: References: <83efevfrq8.fsf@gnu.org> <838t53fq5h.fsf@gnu.org> <83r2itdrjh.fsf@gnu.org> <83h8jlb3sr.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000eec1f057435189e" X-Trace: blaine.gmane.org 1535152244 4301 195.159.176.226 (24 Aug 2018 23:10:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2018 23:10:44 +0000 (UTC) Cc: 32471@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 01:10:40 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftLDs-0000Tp-Ic for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Aug 2018 01:10:32 +0200 Original-Received: from localhost ([::1]:43715 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftJgi-0004h4-Bg for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Aug 2018 17:32:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ftJgc-0004gz-6J for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ftJgY-0007O2-Ta for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:32:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:55019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ftJgY-0007NZ-N2 for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ftJgY-0004Yt-BW for bug-gnu-emacs@gnu.org; Fri, 24 Aug 2018 17:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Didier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Aug 2018 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32471 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32471-submit@debbugs.gnu.org id=B32471.153514627717482 (code B ref 32471); Fri, 24 Aug 2018 21:32:02 +0000 Original-Received: (at 32471) by debbugs.gnu.org; 24 Aug 2018 21:31:17 +0000 Original-Received: from localhost ([127.0.0.1]:60037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftJfo-0004Xu-Ni for submit@debbugs.gnu.org; Fri, 24 Aug 2018 17:31:16 -0400 Original-Received: from mail-vk0-f53.google.com ([209.85.213.53]:46930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ftJfm-0004Xh-V9 for 32471@debbugs.gnu.org; Fri, 24 Aug 2018 17:31:15 -0400 Original-Received: by mail-vk0-f53.google.com with SMTP id b14-v6so4964951vke.13 for <32471@debbugs.gnu.org>; Fri, 24 Aug 2018 14:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7lIX9wP4upsCePCEYJde5V8JJwdedVIE6iK1p8QeZ1I=; b=qrXXt9nYoGCHzxWreiji13UGHbBiXOI+yv2b08B3Kfa8ySR19rah65cyW6yE89bL9E Z574f9QdeAjZ+6W/itJ5VBikCGVDSzGf48sPCDbq4sgevF9SvKTYqS3OF2TjV3L1LiXm 50MhBZlnFLd00uk6jZS7uzz/hY0k5u2ZuBU6C9E+0lO55JpRwwwMcLCF5aN0OB/N7WNK m8XYVuT3mcFE7K9dWQrN4ylBiQfeAPwiPKRMNnNfajmRDnTZqOXat0X6ImxAESWl1NXe 8llQn9Kn4LfGL7ucmj0yLAjx39skv6WF1s3Wj5X5WsSCF6C5rErNl+EfRB/zkAKp5e4p 75wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7lIX9wP4upsCePCEYJde5V8JJwdedVIE6iK1p8QeZ1I=; b=MpGoqhdODGppSzFWDp0e4841M9F4f6vA2m26OPX7kwe1pxYjnigqCEXi1030Svgnf4 hIxkxuqgUbY3mCQJPj+KBPz3k3c1ddiHtkZRTx1R3j8QKxd9cJ77z9HSWFVaeHtoqNW7 qWd+oeq5uVJONB3YnmmLWr02A7zG31jnfgNhPRv0zE+pRWhlfffzrv280EPurciADncq C26+fw3tO3So/2Qc93l6rlT737j9i4sTUGe5OPj+/XBh0v76JYpRyR4ChZ/koTlPOMMq m7I02eDCDjti/DqBPAeTS/1q1MHSfWevP6OJxH8FhSDLQYPrfU66YiQqF19RkIEgNtup mU5w== X-Gm-Message-State: APzg51AAZjlBGLdt23XFFphYD8mLRxwubxiAwcycVwQzdhD7CuVxNl3k xbXuen6HNeYCxKi+F6fexImafjAYHcqUDwEJ2ko= X-Google-Smtp-Source: ANB0VdaMsK2mMJx93RZuj4EckIBeq4qlMA4O77jPzA9FuPR74LV9qNUIQwZ8ZZ4n7RKdGueTgCSRRaHiM2YzYxuJcPw= X-Received: by 2002:a1f:d52:: with SMTP id 79-v6mr2147560vkn.118.1535146269271; Fri, 24 Aug 2018 14:31:09 -0700 (PDT) In-Reply-To: <83h8jlb3sr.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:149733 Archived-At: --0000000000000eec1f057435189e Content-Type: text/plain; charset="UTF-8" Bug can be closed. It's not really a bug per say, just that hunspell must have a dictionary for your exact locale. Even if you have en_US dictionary, if your locale is ENU, it won't work. So make sure you have a dictionary of that exact name, that is, .aff and .dic in your hunspell dictionary folder, and all will work again. Thanks for helping me out with this issue. On Thu, 23 Aug 2018 at 06:39 Eli Zaretskii wrote: > > From: Didier > > Date: Wed, 22 Aug 2018 20:31:13 -0700 > > Cc: 32471@debbugs.gnu.org > > > > Wow, that worked. > > OK, so can this bug be closed? Or is there something else left to do > about it? > > > So, is there no way I can change my Locale within Emacs prior to loading > ispell? > > There is, but why would you want to do that? > > Anyway, there's set-locale-environment. But beware: it changes quite > a few of locale-related settings, so it might not be what you want. > --0000000000000eec1f057435189e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Bug can be closed.

It's = not really a bug per say, just that hunspell must have a dictionary for you= r exact locale. Even if you have en_US dictionary, if your locale is ENU, i= t won't work. So make sure you have a dictionary of that exact name, th= at is, <locale>.aff and <locale>.dic in your hunspell dictionar= y folder, and all will work again.

Thanks for help= ing me out with this issue.

<= div dir=3D"ltr">On Thu, 23 Aug 2018 at 06:39 Eli Zaretskii <eliz@gnu.org> wrote:
> From: Didier <didibus@gmail.com>
> Date: Wed, 22 Aug 2018 20:31:13 -0700
> Cc: 32471@d= ebbugs.gnu.org
>
> Wow, that worked.

OK, so can this bug be closed?=C2=A0 Or is there something else left to do<= br> about it?

> So, is there no way I can change my Locale within Emacs prior to loadi= ng ispell?

There is, but why would you want to do that?

Anyway, there's set-locale-environment.=C2=A0 But beware: it changes qu= ite
a few of locale-related settings, so it might not be what you want.
--0000000000000eec1f057435189e--