Code Monkey home page Code Monkey logo

Comments (4)

PanderMusubi avatar PanderMusubi commented on June 11, 2024

Please also provide a function and command to set this. E.g. C-x4m for langtool-mother-tongue and provide function and command for setting language, e.g. C-x4l for langtool-language

Defaults for both are empty and will imply English. For both functions, allow listing of all options. These can be obtained via:
ls /usr/local/share/languagetool/rules/|grep ^..$
or
find /usr/local/share/languagetool/rules/* -type d

from emacs-langtool.

mhayashi1120 avatar mhayashi1120 commented on June 11, 2024

Thanks for your request.

Please provide a setting for .emacs for mothertongue.

I implement -m option by creating new customize variable langtool-mother-tongue.
Please put like following to your .emacs

(setq langtool-mother-tongue "en")

Please also provide a function and command to set this. E.g. C-x4m for langtool-mother-tongue and provide function and command for setting language, e.g. C-x4l for langtool-language

I think mother tongue will not be so often changed.
So this command and function is not provided.

You can change the language to change the setting of langtool-default-language
Or call langtool-check-buffer with a prefix arg (probably C-u) read language to apply only current session.

This issue is first time that I have received on github. If there is any problem, please do not hesitate to ask.

from emacs-langtool.

PanderMusubi avatar PanderMusubi commented on June 11, 2024

Thanks for your answer. Mother tongue indeed doesn't need changing a lot. ;)

Could you implement at least implement function for langtool-set-language which will also provide all available languages?

from emacs-langtool.

mhayashi1120 avatar mhayashi1120 commented on June 11, 2024

I have done. M-x langtool-switch-default-language

from emacs-langtool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.