Quang Thinh Ha Quang Thinh Ha - 16 days ago 7
Python Question

Tab completion for unicode (Python 3/Julia) using emacs?

Is there a way to configure emacs so that we could use tab completion to type Unicode variables, used for Python 3 and Julia? For example

\gamma -> tab -> γ

Answer

One alternative is to call set-input-method with C-x RET C-\, choose TeX, and type \gamma, which will be automatically replaced with γ. You should then be able to toggle input methods with C-\. Alternatively, if you wish, you can add (setq default-input-method "TeX") to your init file and use C-\ to go into TeX input more quickly and do the same.

Comments