From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#34272: 26.1.91 M-x flyspell-mode Date: Sat, 09 Feb 2019 19:39:17 +0900 (JST) Message-ID: <20190209.193917.1733112676284528821.tkk@misasa.okayama-u.ac.jp> References: <83mun5nwuu.fsf@gnu.org> <20190209.184831.1254873787557625236.tkk@misasa.okayama-u.ac.jp> <83imxtnttk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="243204"; mail-complaints-to="usenet@blaine.gmane.org" Cc: homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, 34272@debbugs.gnu.org To: eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 09 11:40:13 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 1gsQ3Q-001195-Bl for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 11:40:12 +0100 Original-Received: from localhost ([127.0.0.1]:43664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsQ3P-0001Mk-CJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Feb 2019 05:40:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsQ3H-0001Mb-7U for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 05:40:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsQ3G-0007F5-9X for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 05:40:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsQ3G-0007Er-5G for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 05:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gsQ3F-0003WR-U9 for bug-gnu-emacs@gnu.org; Sat, 09 Feb 2019 05:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Feb 2019 10:40:01 +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.154970879013512 (code B ref 34272); Sat, 09 Feb 2019 10:40:01 +0000 Original-Received: (at 34272) by debbugs.gnu.org; 9 Feb 2019 10:39:50 +0000 Original-Received: from localhost ([127.0.0.1]:40491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsQ33-0003Vs-K8 for submit@debbugs.gnu.org; Sat, 09 Feb 2019 05:39:49 -0500 Original-Received: from mlsec.cc.okayama-u.ac.jp ([42.127.236.175]:35797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsQ30-0003VL-Sf for 34272@debbugs.gnu.org; Sat, 09 Feb 2019 05:39:47 -0500 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 20d1_5af5_062fb051_7f0e_4346_9c5e_862a39e6aff8; Sat, 09 Feb 2019 19:39:32 +0900 Original-Received: from localhost (p1759109-omed01.tokyo.ocn.ne.jp [153.237.254.108]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id D8A224C0B28; Sat, 9 Feb 2019 19:39:17 +0900 (JST) In-Reply-To: <83imxtnttk.fsf@gnu.org> X-Mailer: Mew version 6.8 on Emacs 26.1 X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0.6 X-NAI-Spam-Rules: 5 Rules triggered TS_MSG_REP_20=0.6, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6479=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6479> : inlines <7014> : streams <1812527> : uri <2793407> 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:155296 Archived-At: >> I think that I found issue. In my environment, `ispell-call-process' >> returns empty string with `null-device'. > > That's strange. What is the value of null-device on your system? On my system, null-device returns "NUL". > Did you make sure ispell-program-name is set to "hunspell" when you > evaluated the above form? Its default value is something else. Yes, I set it to "c:/msys64/mingw64/bin/hunspell.exe". Again, the output is shown below. CMD> c:\emacs-26.1.91\bin\runemacs.exe -Q null-device ; => "NUL" (setq ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe") (with-temp-buffer (ispell-call-process ispell-program-name null-device t nil ;; Hunspell 1.7.0 (and later?) won't ;; show LOADED DICTIONARY unless ;; there's at least one file argument ;; on the command line. So we feed ;; it with the null device. "-D" null-device) (buffer-string)) ; => "" (with-temp-buffer (ispell-call-process ispell-program-name null-device t nil ;; Hunspell 1.7.0 (and later?) won't ;; show LOADED DICTIONARY unless ;; there's at least one file argument ;; on the command line. So we feed ;; it with the null device. "-D") (buffer-string)) ; => see below "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_ZW c:/msys64/mingw64/share/myspell/dicts/en_AG ... 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 Hunspell 1.6.2 "