[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master e26931c: Don't set 'bidi-paragraph-direction' in 'a
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master e26931c: Don't set 'bidi-paragraph-direction' in 'ansi-term' |
Date: |
Sun, 26 Jun 2016 16:52:43 +0000 (UTC) |
branch: master
commit e26931cba81539673756f042472f723cdf28f97d
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Don't set 'bidi-paragraph-direction' in 'ansi-term'
* lisp/term.el (ansi-term): Remove unnecessary setting of
'bidi-paragraph-direction'. The underlying problem is solved in
bidi.c by changing the regexps that define the paragraph beginning
and end. (Bug#20611)
---
lisp/term.el | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/lisp/term.el b/lisp/term.el
index 28be8c8..87f600c 100644
--- a/lisp/term.el
+++ b/lisp/term.el
@@ -4150,17 +4150,7 @@ the process. Any more args are arguments to PROGRAM."
;; .emacs ...
(term-set-escape-char ?\C-x))
- (switch-to-buffer term-ansi-buffer-name)
- ;; For some reason, without the below setting, ansi-term behaves
- ;; sluggishly, not clear why, since the buffer is typically very
- ;; small.
- ;;
- ;; 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))
+ (switch-to-buffer term-ansi-buffer-name))
;;; Serial terminals
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master e26931c: Don't set 'bidi-paragraph-direction' in 'ansi-term',
Eli Zaretskii <=