Eli Zaretskii <
eliz@gnu....> writes:
>> Date: Wed, 28 Mar 2012 21:18:21 +0200
>> From: Agustin Martin <
agustin.martin@hisp...>
>>
>> > OTHERCHARS are not very important anyway, at least for languages I'm
>> > interested in.
>> >
>> > > Since currently it is not possible to ask hunspell for installed
>> > > dictionaries (hunspell -D does not return control to the console)
>> > > no one tried something similar for hunspell.
>> >
>> > In what version do you have problems with -D?
>>
>> Hunspell 1.3.2. Does not return control until I press ^C. This may be useful
>> if someone wants to know about installed hunspell dictionaries and prepare
>> something to play with that info, in a way similar to what is currently done
>> for aspell in ispell.el.
>
> Well, to be fair to the Hunspell developers, the documentation doesn't
> say that -D should exit after displaying the available dictionaries.
> And the code really doesn't do that. However, with a simple 2-liner
> (below) I can make it do what you want.
You can just redirect from /dev/null instead.
Andreas.
--
Andreas Schwab,
schwab@linu...
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
opensubscriber is not affiliated with the authors of this message nor responsible for its content.