From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Bidi support Date: Fri, 21 Aug 2009 14:59:24 -0400 Message-ID: References: <87praszybe.fsf@stupidchicken.com> <838whgik6y.fsf@gnu.org> <8363cjipz6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1250881188 28901 80.91.229.12 (21 Aug 2009 18:59:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2009 18:59:48 +0000 (UTC) Cc: cyd@stupidchicken.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 21 20:59:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MeZKu-000115-Fx for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2009 20:59:40 +0200 Original-Received: from localhost ([127.0.0.1]:58230 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeZKu-0002PI-0x for ged-emacs-devel@m.gmane.org; Fri, 21 Aug 2009 14:59:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeZKo-0002O7-AX for emacs-devel@gnu.org; Fri, 21 Aug 2009 14:59:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeZKj-0002Kr-Qc for emacs-devel@gnu.org; Fri, 21 Aug 2009 14:59:33 -0400 Original-Received: from [199.232.76.173] (port=36702 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeZKj-0002Ko-Jl for emacs-devel@gnu.org; Fri, 21 Aug 2009 14:59:29 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:3851 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeZKg-00082w-8o; Fri, 21 Aug 2009 14:59:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAMuLjkpFxIrq/2dsb2JhbACBU9UwhBoFh1Y X-IronPort-AV: E=Sophos;i="4.44,251,1249272000"; d="scan'208";a="43939510" Original-Received: from 69-196-138-234.dsl.teksavvy.com (HELO pastel.home) ([69.196.138.234]) by ironport2-out.teksavvy.com with ESMTP; 21 Aug 2009 14:58:43 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B58887F36; Fri, 21 Aug 2009 14:59:24 -0400 (EDT) In-Reply-To: <8363cjipz6.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 19 Aug 2009 22:05:33 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:114487 Archived-At: >> I was thinking of bidi for Emacs-24 > If history is of any significance, I may not live until Emacs 24. And > for some strange reason, the burden of adding this feature seems to be > on my shoulders and no one else's: no development happened in this > direction for the last several years, even though most of the > low-level code was sitting on a branch (courtesy of Handa-san) for the > last 4 years. Has this branch been kept up-to-date w.r.t the trunk? I'd guess not. In that case, someone should do it. I just took a look at that branch, and it doesn't look too terrible. It made me discover the variable direction-reversed which I didn't even know existed (and it seems that it currently has no effect :-( > So I'd prefer it to happen sooner rather than later, at least to the > point where the foundations are in place and others can contribute > the rest. Agreed. The more I think about it, the more I think we need to open a new branch for "what will become emacs-24". Kind of like what we did with the emacs-unicode branch. I think bidi should be one of the first features to install on that branch. >> but if you have code ready for it >> and if it's not too intrusive, I'd be willing to consider it. > It is not ``ready'' in the sense that it is not yet production > quality. It does not yet support all the features of the Emacs > display engine. But it can already display bidirectional text, for > now only in a left-to-right paragraph and only if the text has no > faces and overlays. The code that reorders characters for display > isn't activated until you flip a buffer-local variable, and then only > in that buffer. Is that ``not too intrusive'' enough? I think it will stay unstable for too long, so it's not good enough for the current trunk (which I'd like to keep for shorter-term changes). Stefan