emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dotan Cohen <dotancohen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: BIDI and org-mime-htmlize
Date: Sat, 14 Mar 2015 10:58:30 +0200	[thread overview]
Message-ID: <CAKDXFkOQZk2_7yD-y6qqU-VV=Ub7HHbXBoAD+wUbtj=w3cVXFw@mail.gmail.com> (raw)
In-Reply-To: <87egot6qnl.fsf@mat.ucm.es>

On Fri, Mar 13, 2015 at 2:14 PM, Uwe Brauer <oub@mat.ucm.es> wrote:
>
>
> Hello
>
> GNU emacs 24 has BIDI support, for languages such as Hebrew and Arabic.
>
> However when I write an email, and send it via say gnus, the mail text
> received it is displayed correctly with one restriction: The text is
> displayed in most mail agents, at the left margin instead of the right
> margin (I cannot write this here, since it would not displayed
> correctly)
>
> Thunderbird offers BIDI email support via HTML. The relevant HTML
> elements seem to be
>
>   <body style=3D"direction: rtl;"
>
> So the question is could org-mime-htmlize support this element (on
> demand as well for example via (defvar org-mime-htmlize-rtl t)??
>

The responsibility for determining if the paragraph is RTL or LTR
depends on the client rading the email, not the author. Since most
clients are not RTL aware (Thunderbird needs an addon to make it RTL
aware) the email author can use HTML which allows one to mark the
paragraphs or entire mail as RTL.

If HTML mail is not an option, you can precede the mail (or every
paragraph, again this is reading-client dependent) with the
non-printing RLE (Right-to-Left Embedding) character.

More info here, including RLE character and other characters that you
can copy and paste into your emails:
http://dotancohen.com/howto/rtl_right_to_left.html

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

      reply	other threads:[~2015-03-14  8:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 12:14 BIDI and org-mime-htmlize Uwe Brauer
2015-03-14  8:58 ` Dotan Cohen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKDXFkOQZk2_7yD-y6qqU-VV=Ub7HHbXBoAD+wUbtj=w3cVXFw@mail.gmail.com' \
    --to=dotancohen@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).