emacs-devel
[Top][All Lists]
Advanced

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

Re: Debugging aspell problems


From: Eli Zaretskii
Subject: Re: Debugging aspell problems
Date: Wed, 05 Aug 2020 17:26:43 +0300

> From: Juan José García-Ripoll
>  <juanjose.garciaripoll@gmail.com>
> Date: Wed, 05 Aug 2020 13:04:38 +0200
> 
> - Set ispell-program-name to "c:/msys64/mingw64/bin/aspell.exe"
> - Create two files, foo.txt and foo.tex, in fundamental and latex modes
> - In both, write the word "buffer" (without quotes)
> - Open foo.txt and type M-$. Ispell outputs that the word is correct
> - Open foo.tex and do the same. Ispell locks with no output
> 
> I have set traces on ispell-filter and process-send-string and the
> problem is that in text mode the whole process succeeds (see log below),
> but when using latex mode, ispell-filter never gets called. My suspicion
> is that process-send-string does not flush the process' input buffer,
> and aspell.exe waits forever but I do not know how to debug this issue.

This works for me with Hunspell (I don't have Aspell installed), so
it's unlikely to be a problem on the Emacs side.  I'm guessing that
your Aspell is actually a MSYS2 program, not a MinGW (a.k.a. "native
Windows") program, so you have these buffering inconsistencies.

Or, if the above is not in "emacs -Q", perhaps some of your
customizations get in the way.



reply via email to

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