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

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

bug#47456: 27.1; emacs hangs using aspell in auctex


From: Brian Elmegaard
Subject: bug#47456: 27.1; emacs hangs using aspell in auctex
Date: Tue, 30 Mar 2021 09:35:48 +0000

No, I meant that hunspell 1.7 only worked in emacs if I set the DICTIONARY 
environment variable. 

I tried the following in eshell. 

Without DICTIONARY set in .emacs I get an error:
------------
Welcome to the Emacs shell

c:/Users/brel/Documents $ (ispell-find-hunspell-dictionaries)
Can't find Hunspell dictionary with a .aff affix file
c:/Users/brel/Documents $ setenv DICTIONARY en_US
en_US
c:/Users/brel/Documents $ (ispell-find-hunspell-dictionaries)
Can't find Hunspell dictionary with a .aff affix file
-------------------------------

With DICTIONARY set in .emacs it works:
------------
Welcome to the Emacs shell

c:/Users/brel/Documents $ (ispell-find-hunspell-dictionaries)
c:/Users/brel/Documents $ getenv DICTIONARY
en_US
c:/Users/brel/Documents $ (ispell-find-hunspell-dictionaries)
-------------------------------

There is a comment about hunspell 1.7 in ispell.el on line 1122 in (defun 
ispell-find-hunspell-dictionaries ().
                                 ;; 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.

Maybe this is related?

Brian 



-----Original Message-----
From: Eli Zaretskii <eliz@gnu.org> 
Sent: 30. marts 2021 10:28
To: Brian Elmegaard <be@mek.dtu.dk>
Cc: 47456@debbugs.gnu.org
Subject: Re: bug#47456: 27.1; emacs hangs using aspell in auctex

> From: Brian Elmegaard <be@mek.dtu.dk>
> CC: "47456@debbugs.gnu.org" <47456@debbugs.gnu.org>
> Date: Tue, 30 Mar 2021 07:50:32 +0000
> Accept-Language: da-DK, en-US
> 
> I am not sure where the mistake is. I include a few comments below.
> 
> *Aspell*
> It gives:
> >\msys64\mingw64\bin\aspell -vv
> @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7)

I don't see any incompatibilities related to the "+" command in the Aspell docs.

> But in emacs, this did not work. Neither with ispell-buffer, nor with the 
> same command line in eshell.

You mean, Aspell didn't work?  Because I thought you said Hunspell did work in 
Emacs.





reply via email to

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