From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: implementing BIDI isolates, and make LRM and RLM visible Date: Mon, 02 May 2016 22:37:10 +0300 Message-ID: <83shy0l09l.fsf@gnu.org> References: <87zis8tl1f.fsf@mat.ucm.es> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1462217864 2014 80.91.229.3 (2 May 2016 19:37:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 May 2016 19:37:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 21:37:37 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1axJey-00030d-Ul for ged-emacs-devel@m.gmane.org; Mon, 02 May 2016 21:37:37 +0200 Original-Received: from localhost ([::1]:38279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axJev-0002f6-1G for ged-emacs-devel@m.gmane.org; Mon, 02 May 2016 15:37:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axJem-0002Rz-SB for emacs-devel@gnu.org; Mon, 02 May 2016 15:37:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1axJea-0004Pm-UW for emacs-devel@gnu.org; Mon, 02 May 2016 15:37:19 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1axJea-0004P6-Rh; Mon, 02 May 2016 15:37:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1axJeU-0005Cq-Qv; Mon, 02 May 2016 15:37:07 -0400 In-reply-to: <87zis8tl1f.fsf@mat.ucm.es> (message from Uwe Brauer on Mon, 02 May 2016 17:41:16 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:203527 Archived-At: > From: Uwe Brauer > Date: Mon, 02 May 2016 17:41:16 +0000 > > According > https://www.gnu.org/software/emacs/manual/html_node/elisp/Bidirectional-Display.html > the actual BIDI support «does not yet support the isolate directional > formatting». That's accurate for Emacs 24.5. Emacs 25.1 has the full UBA implemented, including the isolates. > I presume that has to do with fact that if in one line I mix say Hebrew > with English text and I want to switch editing between them then, in > order to do that in any comfortable way (cursor movements etc) I end up > that the whole buffer will be displayed either R2L or L2R and not the > individual paragraphs. I don't understand this, sorry. Please show what you type, how it looks on display, and how you wanted it to look, and we can take it up from there. In any case, I don't think the issue that bothers you has anything to do with isolates, because those don't change how Emacs determines the base paragraph direction. > In any case I wish I could help implementing this missing feature, but I > cannot so I simply ask: any plans for the near future? It's done already. We are already in the future, just use the latest pretest of Emacs 25.1. > Meanwhile I try to use LRM and RLM to deal with such situations. However > is there a way to make them visible, at least buffer local? They are visible: they are displayed as thin spaces. If you want them more visible, customize glyphless-char-display-control.