[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] patch for BIDI support for org-mime.el
From: |
Uwe Brauer |
Subject: |
[O] patch for BIDI support for org-mime.el |
Date: |
Sun, 29 Mar 2015 19:00:38 +0200 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.4 (gnu/linux) |
Hello
Attached you find a very small patch which adds BIDI support to org-mime.el
basically it adds
"
\n
"
instead of simply
"")
To the htmlized message.
A new variable is introduced, namely:
org-mime-bidi-support which is per default set to nil.
I turn it on when switching to a BIDI language, as in the following function.
(defun my-turn-bidi-on ()
"Just start with to R2L and turn the hebrew (qwerty) keyboard on"
(interactive)
(setq bidi-paragraph-direction 'right-to-left)
(set-face-font 'default "-etl-*-*-*-*-*-*-240-*-*-*-*-ISO8859-8")
(setq org-mime-bidi-support t)
(set-input-method "hebrew-phonetic-qwerty" t)
(message "R2L on and the hebrew qwerty keyboard!"))
On off when switching back.
Regards
Uwe Brauer
org-mime-bidi.patch
Description: Text Data
- [O] patch for BIDI support for org-mime.el,
Uwe Brauer <=