From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dotan Cohen Subject: Re: patch for BIDI support for org-mime.el Date: Sun, 29 Mar 2015 22:07:25 +0300 Message-ID: References: <87r3s7rb61.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcIYS-0006bQ-7Q for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 15:07:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YcIYR-00006l-2e for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 15:07:28 -0400 Received: from mail-ig0-x236.google.com ([2607:f8b0:4001:c05::236]:38717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YcIYQ-00006c-Tw for emacs-orgmode@gnu.org; Sun, 29 Mar 2015 15:07:27 -0400 Received: by igbqf9 with SMTP id qf9so55144777igb.1 for ; Sun, 29 Mar 2015 12:07:26 -0700 (PDT) In-Reply-To: <87r3s7rb61.fsf@mat.ucm.es> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thank you Uwe. I've actually settled on vimwiki but I glance at orgmode every now and then. This might get me to switch. Have a great week! On Sun, Mar 29, 2015 at 8:00 PM, Uwe Brauer wrote: > 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-mim= e-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" (intera= ctive) (setq bidi-paragraph-direction 'right-to-left) (set-face-font 'defau= lt "-etl-*-*-*-*-*-*-240-*-*-*-*-ISO8859-8") (setq org-mime-bidi-support t)= (set-input-method "hebrew-phonetic-qwerty" t) (message "R2L on and the heb= rew qwerty keyboard!")) On off when switching back. Regards Uwe Brauer --=20 Dotan Cohen http://gibberish.co.il http://what-is-what.com