Hi Darcy, Thanks for the information; I did not realize that Denis did not already integrate all improvements by Philippe. We'll do our best to make at least aspell/hunspell work for the official version. Of course, it would be nice to support native spell checking as well if you can manage.
Best wishes, --Joris On Fri, Nov 13, 2020 at 12:54:41AM +0800, Darcy Shen via Texmacs-dev wrote: > phillippe's builder should work fine. > [1]https://github.com/slowphil/texmacs-win-builder > But there are some tricks (eg. > [2]https://github.com/slowphil/mingw-w64-guile1.8/issues/1) to make it > work. > I have a working environment created by phillippe's builder scripts. It > compiles TeXmacs successfully. > And to build TeXmacs, MXE is also a great alternative. > I successfully builded TeXmacs under MXE, and verified its functionality > on Windows. > ---- On Tue, 2020-11-10 17:17:23 denis Raux > <denis.r...@lix.polytechnique.fr> wrote ---- > > Hi All, > Did anyone already succeed to compile it on Windows with MinGw ? > Denis > > Le 9 nov. 2020 à 21:53, Massimiliano Gubinelli via Texmacs-dev > <[3]texmacs-dev@gnu.org> a écrit : > Hi all, > What is the specific problem with 'aspell' and windows? I'm looking > and seems that development of aspell continues and that it can be > compiled for windows (with Cygwin or MinGW): > [4]http://aspell.net/man-html/WIN32-Notes.html > it does not seems much more difficult to include than guile. Is there > any specific problem? > It would seems to me easier to stick to what we have. > Max > > On 9. Nov 2020, at 21:38, TeXmacs <[5]texm...@lix.polytechnique.fr> > wrote: > On Mon, Nov 09, 2020 at 07:03:56PM +0100, denis Raux wrote: > > On Windows it seems than both have already lost the competition > > > [6]https://www.theverge.com/2020/5/28/21273934/microsoft-google-chrome-edge-chromium-spellcheck-improvements > > Thanks for the link, but this still does not tell us how we can > integrate this > with our software (if this is possible and allowed at all). > > In the meantime, it might be a good idea to check whether there is > a recent hunspell.exe binary for Windows that we could use and ship > with our Windows package. In principle, TeXmacs should already > support hunspell when it can find it. > > I am not sure though whether we should priviledge aspell or hunspell > when both are available. Any suggestions? > > Best wishes, --Joris > > Le 9 nov. 2020 à 18:50, TeXmacs > <[7]texm...@lix.polytechnique.fr> a écrit : > > Thanks for the reminder, Max. > > What do you guys think about the following: > > > [8]https://battlepenguin.com/tech/aspell-and-hunspell-a-tale-of-two-spell-checkers/ > > Best wishes, --Joris > > On Mon, Nov 09, 2020 at 06:16:27PM +0100, Massimiliano Gubinelli > wrote: > > Maybe a solution is to use hunspell? > [1][9]https://wiki.qt.io/Spell-Checking-with-Hunspell > [2][10]http://hunspell.github.io > max > > On 9. Nov 2020, at 18:06, TeXmacs > <[3][11]texm...@lix.polytechnique.fr> > wrote: > Hi again Darcy, > > I just got more info from Denis about spell checking under > Windows. > It seems that aspell is not really an option and that the > Qt solution > only works in certain widgets that are directly managed by > Qt (please > check this impression). So this only leaves us with the > option to > provide native support for spell checking. How difficult > do you think > that it would be to write a small internal plug-in for > that? > How much time would that require? I have no idea; under > MacOS, > Max told me that it was straightforward. But Windows could > be > entirely different, of course... > > Best wishes, --Joris > > On Mon, Nov 09, 2020 at 05:29:35PM +0100, TeXmacs wrote: > > Hi Darcy, > > Yes, I just tested your code yesterday, and it seems to > work better > now. > Thanks a lot. > > Concerning spell checking under Windows, I just noticed > that > spell checking launches a segfault under Windows, which > is > very annoying indeed. I mistakenly thought that we > shipped > aspell along with TeXmacs. If you see an easy way to > make that work, > then please let us know. > > Of course native spell checking support would also be > very nice, > like what Max did for MacOS. I don't know how hard this > would be; > if it is in fact easier, then we might directly prefer > this solution > over aspell. > > Best wishes, --Joris > > On Tue, Nov 10, 2020 at 12:04:03AM +0800, Darcy Shen via > Texmacs-dev > wrote: > > With the help of Joris, I have re-organized the code > for > configuring > programming language parser: > 1. Github: > > [1][4][12]https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 2. Gitee: > > [2][5][13]https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > Sometimes Github is not available for me. That's why > I'm posting > another > git mirror. > Now the Octave language parser error has been fixed. > Actually, the fix is exactly `Improve > src/System/Language and > TeXmacs/progs/prog` in my top 1 priority. > Inserting keywords into auto completion candidates > would be a nice > feature, but I will postpone it as TeXmacs 2.1 is > about to > release. > ---- On Sat, 2020-11-07 06:32:25 TeXmacs > <[6][14]texm...@lix.polytechnique.fr> > wrote ---- > > Hi Darcy, > > Before anything else, could you please focus on > correcting > the remaining bugs in your latest commits? The new > parser code > generated many messages (I corrected this) and > errors (cf the > Octave > error that I sent you in private, which also occurs > for other > plug-ins). Henri Girard also experiences problems > with Python; > please investigate what is going on. > > Further improvements of TeXmacs on Windows would be > very nice, > but this is too late for TeXmacs 2.1, so please > postpone new > additions. > > Best wishes, --Joris > > On Thu, Nov 05, 2020 at 09:10:08PM +0800, Darcy > Shen via > Texmacs-dev > wrote: > > Top 1: Programming languages support > + Improve src/System/Language and TeXmacs/progs/prog > + Automatically insert keywords into auto completion > candidates > for > > the > > related language > Top 2: Unit Test > + Replace GoogleTest with > [1][3][7][15]https://github.com/catchorg/Catch2 > + Make unit tests work with both autotools and cmake > + Travis build on Github > Top 3: Windows and Qt 5 > 1. Documentation: build/test/package GNU TeXmacs > using MXE > 2. Improve GNU TeXmacs on Windows (eg. integrate with > MS Windows' > > spell > > tools) > > References > > Visible links > 1. [4][8][16]https://github.com/catchorg/Catch2 > /usr/bin/xdg-open: line 402: htmlview: command not > found > /usr/bin/xdg-open: line 402: firefox: command not > found > /usr/bin/xdg-open: line 402: mozilla: command not > found > /usr/bin/xdg-open: line 402: netscape: command not > found > > _______________________________________________ > Texmacs-dev mailing list > [5][9][17]Texmacs-dev@gnu.org > > [6][10][18]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [7][11][19]Texmacs-dev@gnu.org > > [8][12][20]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > References > > Visible links > 1. > > [13][21]https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 2. > > [14][22]https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 3. [15][23]https://github.com/catchorg/Catch2 > 4. [16][24]https://github.com/catchorg/Catch2 > 5. [17][25]mailto:Texmacs-dev@gnu.org > 6. > [18][26]https://lists.gnu.org/mailman/listinfo/texmacs-dev > 7. [19][27]mailto:Texmacs-dev@gnu.org > 8. > [20][28]https://lists.gnu.org/mailman/listinfo/texmacs-dev > /usr/bin/xdg-open: line 402: htmlview: command not > found > /usr/bin/xdg-open: line 402: firefox: command not found > /usr/bin/xdg-open: line 402: mozilla: command not found > /usr/bin/xdg-open: line 402: netscape: command not > found > > _______________________________________________ > Texmacs-dev mailing list > [21][29]Texmacs-dev@gnu.org > [30]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [22][31]Texmacs-dev@gnu.org > [32]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [23][33]Texmacs-dev@gnu.org > [34]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > References > > Visible links > 1. [35]https://wiki.qt.io/Spell-Checking-with-Hunspell > 2. [36]http://hunspell.github.io/ > 3. [37]mailto:texm...@lix.polytechnique.fr > 4. > > [38]https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 5. > > [39]https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 6. [40]mailto:texm...@lix.polytechnique.fr > 7. [41]https://github.com/catchorg/Catch2 > 8. [42]https://github.com/catchorg/Catch2 > 9. [43]mailto:Texmacs-dev@gnu.org > 10. [44]https://lists.gnu.org/mailman/listinfo/texmacs-dev > 11. [45]mailto:Texmacs-dev@gnu.org > 12. [46]https://lists.gnu.org/mailman/listinfo/texmacs-dev > 13. > > [47]https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 14. > > [48]https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 15. [49]https://github.com/catchorg/Catch2 > 16. [50]https://github.com/catchorg/Catch2 > 17. [51]mailto:Texmacs-dev@gnu.org > 18. [52]https://lists.gnu.org/mailman/listinfo/texmacs-dev > 19. [53]mailto:Texmacs-dev@gnu.org > 20. [54]https://lists.gnu.org/mailman/listinfo/texmacs-dev > 21. [55]mailto:Texmacs-dev@gnu.org > 22. [56]mailto:Texmacs-dev@gnu.org > 23. [57]mailto:Texmacs-dev@gnu.org > /usr/bin/xdg-open: line 402: htmlview: command not found > /usr/bin/xdg-open: line 402: firefox: command not found > /usr/bin/xdg-open: line 402: mozilla: command not found > /usr/bin/xdg-open: line 402: netscape: command not found > > _______________________________________________ > Texmacs-dev mailing list > [58]Texmacs-dev@gnu.org > [59]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [60]Texmacs-dev@gnu.org > [61]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [62]Texmacs-dev@gnu.org > [63]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [64]Texmacs-dev@gnu.org > [65]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > [66]Texmacs-dev@gnu.org > [67]https://lists.gnu.org/mailman/listinfo/texmacs-dev > > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@gnu.org > https://lists.gnu.org/mailman/listinfo/texmacs-dev > > References > > Visible links > 1. https://github.com/slowphil/texmacs-win-builder > 2. https://github.com/slowphil/mingw-w64-guile1.8/issues/1 > 3. mailto:texmacs-dev@gnu.org > 4. http://aspell.net/man-html/WIN32-Notes.html > 5. mailto:texm...@lix.polytechnique.fr > 6. > https://www.theverge.com/2020/5/28/21273934/microsoft-google-chrome-edge-chromium-spellcheck-improvements > 7. mailto:texm...@lix.polytechnique.fr > 8. > https://battlepenguin.com/tech/aspell-and-hunspell-a-tale-of-two-spell-checkers/ > 9. https://wiki.qt.io/Spell-Checking-with-Hunspell > 10. http://hunspell.github.io/ > 11. mailto:texm...@lix.polytechnique.fr > 12. > https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 13. > https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 14. mailto:texm...@lix.polytechnique.fr > 15. https://github.com/catchorg/Catch2 > 16. https://github.com/catchorg/Catch2 > 17. mailto:Texmacs-dev@gnu.org > 18. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 19. mailto:Texmacs-dev@gnu.org > 20. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 21. > https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 22. > https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 23. https://github.com/catchorg/Catch2 > 24. https://github.com/catchorg/Catch2 > 25. mailto:Texmacs-dev@gnu.org > 26. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 27. mailto:Texmacs-dev@gnu.org > 28. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 29. mailto:Texmacs-dev@gnu.org > 30. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 31. mailto:Texmacs-dev@gnu.org > 32. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 33. mailto:Texmacs-dev@gnu.org > 34. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 35. https://wiki.qt.io/Spell-Checking-with-Hunspell > 36. http://hunspell.github.io/ > 37. mailto:texm...@lix.polytechnique.fr > 38. > https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 39. > https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 40. mailto:texm...@lix.polytechnique.fr > 41. https://github.com/catchorg/Catch2 > 42. https://github.com/catchorg/Catch2 > 43. mailto:Texmacs-dev@gnu.org > 44. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 45. mailto:Texmacs-dev@gnu.org > 46. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 47. > https://github.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 48. > https://gitee.com/texmacs/texmacs/commit/474081cd6161228d6fb0b3a12b034862c700d425 > 49. https://github.com/catchorg/Catch2 > 50. https://github.com/catchorg/Catch2 > 51. mailto:Texmacs-dev@gnu.org > 52. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 53. mailto:Texmacs-dev@gnu.org > 54. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 55. mailto:Texmacs-dev@gnu.org > 56. mailto:Texmacs-dev@gnu.org > 57. mailto:Texmacs-dev@gnu.org > 58. mailto:Texmacs-dev@gnu.org > 59. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 60. mailto:Texmacs-dev@gnu.org > 61. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 62. mailto:Texmacs-dev@gnu.org > 63. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 64. mailto:Texmacs-dev@gnu.org > 65. https://lists.gnu.org/mailman/listinfo/texmacs-dev > 66. mailto:Texmacs-dev@gnu.org > 67. https://lists.gnu.org/mailman/listinfo/texmacs-dev > /usr/bin/xdg-open: line 402: htmlview: command not found > /usr/bin/xdg-open: line 402: firefox: command not found > /usr/bin/xdg-open: line 402: mozilla: command not found > /usr/bin/xdg-open: line 402: netscape: command not found > _______________________________________________ > Texmacs-dev mailing list > Texmacs-dev@gnu.org > https://lists.gnu.org/mailman/listinfo/texmacs-dev _______________________________________________ Texmacs-dev mailing list Texmacs-dev@gnu.org https://lists.gnu.org/mailman/listinfo/texmacs-dev