Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Path style issue with eblook and Cygwin #12
On Windows I build eblook from source code with Cygwin and use it as backend of ndeb agent. Generally speaking, programs build on Cygwin accept both Windows style path(
But if I put following setting in
(setq lookup-search-agents '( (ndeb "/cygdrive/c/path/to/dictionary/dict_name") ) )
and start lookup then I get following error message in minibuffer:
It seems dictionary path is handled with Windows style and drive letter is added according to current working directory. But as described above, Unix type path must be passed to eblook. So are there any ways to solve this issue?
Please use native Windows binary of eblook for NTEmacs. As you described, Cygwin's eblook does not support DOS style path name. That is mainly due to the limitation of EB Library, which has own path name handling routines. And I think it requires very dirty kludge to let NTEmacs talk with Cygwin's eblook with no problem, especially in multimedia data handling.
I switched from Cygwin eblook to
(setq lookup-search-agents '( (ndeb "ebnet://ebnetd.example.org:22010/dic_name") ) )
This time, different from issue #9, URL of ebnet server seemed to be passed correctly. And there is another difference. On Windows command prompt,
started up without any errors. And moreover, all of selecting dictionary, searching word, displaying result, etc. worked fine. So I was unable to guess what is wrong in this case.
Using this version lookup works fine with both local dictionaryies and ebnetd.
BTW binary of fixed version requires zlib1.dll. So if you are going to replace