bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34272: 26.1.91 M-x flyspell-mode


From: Tak Kunihiro
Subject: bug#34272: 26.1.91 M-x flyspell-mode
Date: Sat, 09 Feb 2019 19:39:17 +0900 (JST)

>> 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
"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]