From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: RTL lines Date: Mon, 18 Oct 2021 16:18:11 +0300 Message-ID: <83h7deeajw.fsf@gnu.org> References: <3519414.WYFCpekPd3@galex-713.eu> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40919"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 18 15:39:36 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcSrY-000ANC-0R for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 15:39:36 +0200 Original-Received: from localhost ([::1]:36190 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcSrW-0006tB-PP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 18 Oct 2021 09:39:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcSWj-00051X-D3 for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 09:18:06 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39054) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcSWi-0000V9-Ov for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 09:18:05 -0400 Original-Received: from [87.69.77.57] (port=3238 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcSWh-0000j6-Hz for help-gnu-emacs@gnu.org; Mon, 18 Oct 2021 09:18:04 -0400 In-Reply-To: <3519414.WYFCpekPd3@galex-713.eu> (message from Alexandre Garreau on Mon, 18 Oct 2021 14:40:42 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133859 Archived-At: > From: Alexandre Garreau > Date: Mon, 18 Oct 2021 14:40:42 +0200 > > Is there a var to make any line whose first either rtl or ltr char is RTL > be displayed RTL (so for instance an org-mode definition list (with ::) > would be displayed RTL with the bullets at right, if the defining terms (at > the beginning, just after the */+/-/etc.) are in arabic/hebrew/etc.)? Set bidi-paragraph-direction to the nil value. It's a per-buffer variable. > Another idea I have is is there a way to do that per-paragraph (for > instance for a defun that would use a such language)? The above will do that per paragraph. That is, each paragraph will be LTR or RTL depending on the first "strong directional" character in that paragraph. (This all is supposed to be well documented in the Emacs manual. Hint, hint...) > and arbitrarily (for direction-agnostic languages such as some extreme- > oriental ones)? I don't think I understand what kind of "arbitrariness" you have in mind here. > and does emacs support TTB/BTT (top to bottom, bottom to top) No. if you want to submit patches to that effect,l they will be most welcome, though.