emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Emacs-orgmode@gnu.org, smntov@gmail.com
Subject: Re: Use Emacs' default value of "bidi-paragraph-direction" in orgmode
Date: Sun, 17 Jun 2018 09:12:31 +0300	[thread overview]
Message-ID: <83k1qyx7ow.fsf@gnu.org> (raw)
In-Reply-To: <87muvwjgb2.fsf@nicolasgoaziou.fr> (message from Nicolas Goaziou on Fri, 15 Jun 2018 16:05:37 +0200)

> From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
> Cc: Emacs-orgmode@gnu.org
> Date: Fri, 15 Jun 2018 16:05:37 +0200
> 
> ST <smntov@gmail.com> writes:
> 
> > Please leave the Emacs' default value of "bidi-paragraph-direction"
> > which is "nil" in orgmode as well. Right now orgmode seems to force
> > "left-to-right", thus blocking "right-to-left". With "nil" it is
> > dynamic, which means both directions work well out-of-the box.
> >
> > Right now I'm forced to add this to my config:
> >
> > (add-hook 'org-mode-hook 
> >           (lambda ()
> >             (setq bidi-paragraph-direction nil)))
> >
> > It took me a lot of time to figure out, which makes the first Org steps
> > for RTL-newbies quite frustrating...
> 
> It may not be as obvious as you think. See
> <https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html>
> for details.

For the record: The change to the current default was my suggestion,
and I still stand by that advice.  I think the current default is
correct out of the box for more people than the previous nil value.
And I see no catastrophe in a mode hook that overrides the default for
those who don't like this default.  The defaults cannot possibly DTRT
for everyone, only for the majority.

Thanks.

  reply	other threads:[~2018-06-17  6:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15 10:32 Use Emacs' default value of "bidi-paragraph-direction" in orgmode ST
2018-06-15 14:05 ` Nicolas Goaziou
2018-06-17  6:12   ` Eli Zaretskii [this message]
2018-06-17 12:29     ` ST
2018-06-17 13:10       ` Eli Zaretskii
2018-06-17 16:47         ` ST
2018-06-17 17:02           ` Eli Zaretskii

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=83k1qyx7ow.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=smntov@gmail.com \
    /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).