From mboxrd@z Thu Jan 1 00:00:00 1970 From: ST Subject: Re: Use Emacs' default value of "bidi-paragraph-direction" in orgmode Date: Sun, 17 Jun 2018 15:29:58 +0300 Message-ID: <1529238598.1901.83.camel@gmail.com> References: <1529058737.1901.36.camel@gmail.com> <87muvwjgb2.fsf@nicolasgoaziou.fr> <83k1qyx7ow.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUWoq-0004Co-83 for Emacs-orgmode@gnu.org; Sun, 17 Jun 2018 08:30:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUWop-0008WB-4c for Emacs-orgmode@gnu.org; Sun, 17 Jun 2018 08:30:08 -0400 In-Reply-To: <83k1qyx7ow.fsf@gnu.org> 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" To: Eli Zaretskii Cc: Emacs-orgmode@gnu.org, Nicolas Goaziou On Sun, 2018-06-17 at 09:12 +0300, Eli Zaretskii wrote: > > From: Nicolas Goaziou > > Cc: Emacs-orgmode@gnu.org > > Date: Fri, 15 Jun 2018 16:05:37 +0200 > > > > ST 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 > > > > 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. That's exactly what I want to achieve - reasonable defaults for the majority. Let's clarify: 1. Do you agree that the vast majority of all the documents in human history were/are EITHER ltr OR rtl? Meaning that mixed ltr/rtl texts are minority that we should not take care of... 2. Do you agree that for pure ltr texts org headings should appear to the left and for pure rtl texts org headings should appear to the right? If you agree with both (1) and (2) - we should put nil as default value, as this will enable (2). I'm so eager to change the defaults because we start a project where we have many non_technically_savvy Windows-people who need to edit rtl org files in Emacs (which is a challenge on its own). So we want the experience to be as smooth as possible, but right now rtl users are disadvantaged for no reason (as with nil - BOTH ltr AND rtl views can be achieved). Thank you!