💾 Archived View for gemini.temperedtea.eu › technology › 20210421.gmi captured on 2024-07-08 at 23:50:17. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-11-30)
-=-=-=-=-=-=-
In my daily live I have to write multilingual texts. Since my preferred editor is Emacs, I've collected here a number of tools I use more or less every day.
Also in Emacs I depend on the input methods provided by my normal desktop manager, Gnome (cf. one of the previous articles for a configuration for XFCE). For the most part this boils down to just picking the corresponding input sources in the Gnome settings menu under keyboard and then choosing a key to switch between them (I use super + space, but your preferences may vary).
The only slightly more tricky part is the installation of IBus via the ibus package (if not anyhow done by your installation of choice). Gnome uses it by default.
If you want to, you can also configure it in your .bashrc:
export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus
The configuration of Emacs basically boils down to picking the right packages and downloading them from MELPA. Flyspell is there by default, others like guess-language are convenient if you often mix languages in one text.
Specifically for French, grammalecte can be an alternative to the languagetool and the langtool package.