5

I found a solution. 1st run (print (font-family-list)) and get a full list of all fonts. Pick an installed Arabic font. In my case it was "clearlyu arabic". Add this line to the .emacs file: (when window-system (set-fontset-font "fontset-default" '(#x600 . #x6ff) "clearlyu arabic")) Change the font name at the end to the name of the font you have ...


5

Here's a rough start, based on the list of combining characters in this answer (and then extended). (Marking this as community wiki — please edit and improve this!) (defconst arabic-diacritics '(#x064b #x064c #x064d #x064e #x064f #x0650 #x0651 #x0652 #x0653 #x0654 #x0655 #x0670) "Unicode codepoints for Arabic combining characters.") (defconst arabic-...


4

I've since find out that wrapping the phrase on both ends with the LEFT-TO-RIGHT MARK gives the desired result. To do that position your cursor appropriately and C-x 8 RET LEFT-TO-RIGHT MARK. The visual display will fix itself and the text will be shown correctly.


1

Looking at the source file ox-html.el, the function org-html-template does not seem to allow customizing the <html...> or <body> tags in the export. :( However, there's also a CSS property direction:rtl that you could use, since org-mode lets you change the CSS by setting (setq org-html-head "<style> <![CDATA[ body { direction: rtl; } ]...


1

There is no predefined way to do this. You'll probably want to start by defining your own replacement for overwrite-mode, mirroring what is done for overwrite-mode but: Switching (for example), the keys for commands delete-backward-char and delete-forward-char. Binding your own replacement command for quoted-insert (C-q), using backward-delete-char in ...


Only top voted, non community-wiki answers of a minimum length are eligible