Xah Talk Show 2019-04-01 B. chat with Yisrael Dov

xah talk show 2019-04-01, chat with Yisrael Dov, on bidirectional writing in emacs, matrix protocol, riot.im, Jewish culture.

Xah Talk Show 2019-04-01 chat with Yisrael Dov
(setq-default bidi-display-reordering nil)
(defun bidi-display-reordering-on ()
     "Sets bidi-display-reordering-on"
     (setq-local bidi-display-reordering t))

(add-hook 'text-mode-hook 'bidi-display-reordering-on)

;; 1 Paragraph direction

 ;; By default Emacs tries to guess the Paragraph direction for bidi-text. This ends up with mixed up looking buffers.
(setq-default bidi-paragraph-direction 'left-to-right)

(defun bidi-direction-toggle ()
  "Will switch the explicit direction of text for current
   buffer. This will set BIDI-DISPLAY-REORDERING to T"
  (interactive "")
  (setq bidi-display-reordering t)
  (if (equal bidi-paragraph-direction 'right-to-left)
      (setq bidi-paragraph-direction 'left-to-right)
    (setq bidi-paragraph-direction 'right-to-left))
  (message "%s" bidi-paragraph-direction))

xah talk show, announcement. 2019-04-02 at 11:30am San Francisco time. We have a guest, emacs expert Yisrael Dov, author of “Emacs is Great” YouTube series at https://www.youtube.com/channel/UCNqFXwI5gNcyxt2c1zTQAKw , and we gonna do some Hebrew unicode in emacs, and talk about different cultures.