; * lisp/term.el (term-mode): FIXME comment about bidi reordering.

This commit is contained in:
Eli Zaretskii 2016-06-26 19:42:53 +03:00
parent 7f83e7e536
commit ea6b01d4d4

View file

@ -1101,6 +1101,12 @@ Entry to this mode runs the hooks on `term-mode-hook'."
;; Without the below setting, term-mode and ansi-term behave
;; sluggishly when the buffer includes a lot of whitespace
;; characters.
;;
;; There's a larger problem here with supporting bidirectional text:
;; the application that writes to the terminal could have its own
;; ideas about displaying bidirectional text, and might not want us
;; reordering the text or deciding on base paragraph direction. One
;; such application is Emacs in TTY mode... FIXME.
(setq bidi-paragraph-direction 'left-to-right)
(easy-menu-add term-terminal-menu)