From: Aleksandar Dimitrov <email@example.com> To: Joost Kremers <firstname.lastname@example.org> Cc: email@example.com Subject: Re: About multilingual documents Date: Tue, 04 May 2021 10:00:40 +0200 [thread overview] Message-ID: <firstname.lastname@example.org> (raw) In-Reply-To: <email@example.com> Hi Joost > [Not directly related to the OP, but might be useful to know.] > > On Mon, May 03 2021, Aleksandar Dimitrov wrote: >> this sounds very interesting to me, as I, too, mostly write in Org >> and, sometimes write documents in multiple languages, usually with >> different varieties of either Latin or Cyrillic. > [...] >> Apart from the export, one of my biggest gripes is >> flyspell. Specifically, the fact that you have to choose one language to >> spell check the entire document with. That is insufficient in my case. > > flyspell is basically just ispell, and ispell can be configured with different > backends. One possible backend is hunspell, which allows you to set multiple > dictionaries. So if you regularly use different languages in a buffer, you > should give hunspell a try. > > [...] >> The drawback, and the clear disadvantage compared to your method is that >> this works great only when the languages are separated by paragraph >> breaks. > > If that is the case, you could also check out the =guess-language= package: > <https://github.com/tmalsburg/guess-language.el>. It tries to detect the > language of the current paragraph and sets the ispell (and hence flyspell) > dictionary accordingly. I use it because I write in three different languages, > but usually don't mix them in one buffer. Thanks for your hints! =guess-language= seems really cool! I also didn't know hunspell supported more than one dictionary. Thanks! Aleks
next prev parent reply other threads:[~2021-05-04 8:04 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-02 20:20 Juan Manuel Macías 2021-05-03 6:58 ` Aleksandar Dimitrov 2021-05-03 17:47 ` Greg Minshall 2021-05-04 7:30 ` Aleksandar Dimitrov 2021-05-04 17:09 ` Maxim Nikulin 2021-05-04 18:55 ` Aleksandar Dimitrov 2021-05-06 16:22 ` Maxim Nikulin 2021-05-04 8:19 ` Eric S Fraga 2021-05-04 8:29 ` Input methods [was: Re: About multilingual documents] Joost Kremers 2021-05-04 9:36 ` Eric S Fraga 2021-05-03 18:48 ` About multilingual documents Joost Kremers 2021-05-04 8:00 ` Aleksandar Dimitrov [this message] 2021-05-03 20:33 ` Juan Manuel Macías 2021-05-04 1:00 ` Tom Gillespie 2021-05-04 8:13 ` Aleksandar Dimitrov 2021-05-04 8:44 ` Aleksandar Dimitrov 2021-05-06 11:11 ` Juan Manuel Macías 2021-05-04 11:43 autofrettage
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --firstname.lastname@example.org \ --email@example.com \ --firstname.lastname@example.org \ --email@example.com \ --subject='Re: About multilingual documents' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).