Re: Message headers in right-to-left mode in Emacs notmuch-show-mode

2020-08-03 Thread Teemu Likonen
* 2020-08-03 09:13:35+03, Teemu Likonen wrote: > I believe the header part can be switched to left-to-right mode by > using function bidi-string-mark-left-to-right. It seems that adding just a single U+200E LEFT-TO-RIGHT MARK character (possibly with invisible text property) in the beginning of m

Message headers in right-to-left mode in Emacs notmuch-show-mode

2020-08-02 Thread Teemu Likonen
Emacs uses setting bidi-paragraph-direction=nil by default which means that paragraph's text direction can change automatically, for example: right-to-left. A quote from the variable's description: If this is nil (the default), the direction of each paragraph is determined by the first str