From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34272: 26.1.91 M-x flyspell-mode Date: Sat, 02 Feb 2019 09:07:56 +0200 Message-ID: <831s4qy8fn.fsf@gnu.org> References: <86zhrfwr5u.fsf@misasa.okayama-u.ac.jp> <83ef8ry2go.fsf@gnu.org> <20190202.080332.1354203792347907208.tkk@misasa.okayama-u.ac.jp> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="17844"; mail-complaints-to="usenet@blaine.gmane.org" Cc: homeros.misasa@gmail.com, 34272@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 02 08:09:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gppQU-0004Ws-Nm for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 08:09:18 +0100 Original-Received: from localhost ([127.0.0.1]:38409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gppQT-0006H8-Ce for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2019 02:09:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gppQL-0006Gz-Ll for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 02:09:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gppQJ-00027S-9J for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 02:09:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gppQE-000253-FY for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 02:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gppQE-0005RX-5U for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2019 02:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Feb 2019 07:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34272 X-GNU-PR-Package: emacs Original-Received: via spool by 34272-submit@debbugs.gnu.org id=B34272.154909130820861 (code B ref 34272); Sat, 02 Feb 2019 07:09:02 +0000 Original-Received: (at 34272) by debbugs.gnu.org; 2 Feb 2019 07:08:28 +0000 Original-Received: from localhost ([127.0.0.1]:55426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gppPf-0005QP-Og for submit@debbugs.gnu.org; Sat, 02 Feb 2019 02:08:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gppPd-0005Q7-Iq for 34272@debbugs.gnu.org; Sat, 02 Feb 2019 02:08:26 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gppPU-0001cA-HP; Sat, 02 Feb 2019 02:08:18 -0500 Original-Received: from [176.228.60.248] (port=3513 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gppPT-0003jH-Or; Sat, 02 Feb 2019 02:08:16 -0500 In-reply-to: <20190202.080332.1354203792347907208.tkk@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Sat, 02 Feb 2019 08:03:32 +0900 (JST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:154994 Archived-At: > Date: Sat, 02 Feb 2019 08:03:32 +0900 (JST) > Cc: homeros.misasa@gmail.com, 34272@debbugs.gnu.org, > tkk@misasa.okayama-u.ac.jp > From: Tak Kunihiro > > >> M-x flyspell-mode > >> Error enabling Flyspell mode: > >> (stringp nil) > > > > Please show the output of the following 2 commands from the Windows > > cmd shell's prompt: > > > > c:\msys64\mingw64\bin\hunspell.exe -D nul > > c:\msys64\mingw64\bin\hunspell.exe -D > > Following is the output from hunspell.exe -D nul and hunspell.exe -D. > I hope this helps. > > > CMD> c:\msys64\mingw64\bin\hunspell.exe -D nul > SEARCH PATH: > .;c:/msys64/mingw64/bin/;c:/msys64/mingw64/share/hunspell;c:/msys64/mingw64/share/myspell;c:/msys64/mingw64/share/myspell/dicts;c:/msys64;%USERPROFILE%/Application Data/OpenOffice.org 2/user/wordbook;c:/msys64/mingw64/share/dict/ooo; > AVAILABLE DICTIONARIES (path is not mandatory for -d option): > c:/msys64/mingw64/share/hunspell/en_AG > c:/msys64/mingw64/share/hunspell/en_AU > c:/msys64/mingw64/share/hunspell/en_BS > c:/msys64/mingw64/share/hunspell/en_BW > c:/msys64/mingw64/share/hunspell/en_BZ > c:/msys64/mingw64/share/hunspell/en_CA > c:/msys64/mingw64/share/hunspell/en_DK > c:/msys64/mingw64/share/hunspell/en_GB > c:/msys64/mingw64/share/hunspell/en_GH > c:/msys64/mingw64/share/hunspell/en_HK > c:/msys64/mingw64/share/hunspell/en_IE > c:/msys64/mingw64/share/hunspell/en_IN > c:/msys64/mingw64/share/hunspell/en_JM > c:/msys64/mingw64/share/hunspell/en_NA > c:/msys64/mingw64/share/hunspell/en_NG > c:/msys64/mingw64/share/hunspell/en_NZ > c:/msys64/mingw64/share/hunspell/en_PH > c:/msys64/mingw64/share/hunspell/en_SG > c:/msys64/mingw64/share/hunspell/en_TT > c:/msys64/mingw64/share/hunspell/en_US > c:/msys64/mingw64/share/hunspell/en_ZA > c:/msys64/mingw64/share/hunspell/en_ZW > c:/msys64/mingw64/share/myspell/dicts/en_AG > c:/msys64/mingw64/share/myspell/dicts/en_AU > c:/msys64/mingw64/share/myspell/dicts/en_BS > c:/msys64/mingw64/share/myspell/dicts/en_BW > c:/msys64/mingw64/share/myspell/dicts/en_BZ > c:/msys64/mingw64/share/myspell/dicts/en_CA > c:/msys64/mingw64/share/myspell/dicts/en_DK > c:/msys64/mingw64/share/myspell/dicts/en_GB > c:/msys64/mingw64/share/myspell/dicts/en_GH > c:/msys64/mingw64/share/myspell/dicts/en_HK > c:/msys64/mingw64/share/myspell/dicts/en_IE > c:/msys64/mingw64/share/myspell/dicts/en_IN > c:/msys64/mingw64/share/myspell/dicts/en_JM > c:/msys64/mingw64/share/myspell/dicts/en_NA > c:/msys64/mingw64/share/myspell/dicts/en_NG > c:/msys64/mingw64/share/myspell/dicts/en_NZ > c:/msys64/mingw64/share/myspell/dicts/en_PH > c:/msys64/mingw64/share/myspell/dicts/en_SG > c:/msys64/mingw64/share/myspell/dicts/en_TT > c:/msys64/mingw64/share/myspell/dicts/en_US > c:/msys64/mingw64/share/myspell/dicts/en_ZA > c:/msys64/mingw64/share/myspell/dicts/en_ZW > LOADED DICTIONARY: > c:/msys64/mingw64/share/hunspell/en_US.aff > c:/msys64/mingw64/share/hunspell/en_US.dic > Can't create tempfile: Permission denied <<<<<<<<<<<<<<<<<<<< The last line could be the source of the problem, but I still don't understand why it happens (are you running in a directory where you cannot create files?), nor why that would prevent Flyspell from working. Please step with Edebug through ispell-find-hunspell-dictionaries (it is called once, when Flyspell is activated), and tell what you see there. It is supposed to find this line in the output: c:/msys64/mingw64/share/hunspell/en_US.aff and then call ispell-parse-hunspell-affix-file with the name of that dictionary.