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: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r105429: New function `string-mark-left-to-right' for handling LRMs. Date: Sat, 13 Aug 2011 09:53:24 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313243617 20452 80.91.229.12 (13 Aug 2011 13:53:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2011 13:53:37 +0000 (UTC) Cc: Eli Zaretskii , cyd@stupidchicken.com, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 13 15:53:33 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QsEea-0004lp-T9 for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2011 15:53:33 +0200 Original-Received: from localhost ([::1]:43249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsEea-0007h6-EJ for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2011 09:53:32 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsEeW-0007gq-Ts for emacs-devel@gnu.org; Sat, 13 Aug 2011 09:53:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QsEeW-0006dT-3Y for emacs-devel@gnu.org; Sat, 13 Aug 2011 09:53:28 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:34076 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QsEeU-0006cw-JJ; Sat, 13 Aug 2011 09:53:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAC+BRk5FxKeo/2dsb2JhbABBp3d4gUABAQQBViMFCws0BwsUGA0kiAO5YIZHBJ9uhDU X-IronPort-AV: E=Sophos;i="4.67,366,1309752000"; d="scan'208";a="130969187" Original-Received: from 69-196-167-168.dsl.teksavvy.com (HELO ceviche.home) ([69.196.167.168]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 13 Aug 2011 09:53:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 17AFA6615E; Sat, 13 Aug 2011 09:53:24 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Sat, 13 Aug 2011 16:42:43 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:143194 Archived-At: > As categories are not exclusive (i.e. one character can have > multiple categories), I think you need just one > category-table. In which, each character has a category > uniquely corresponding to a bidi class (L, AL, etc), in > addition, all some character has a category whose meaning > is, for instance (one of R, AL, or RLO). We could also add a new special regexp construct, similar to \c but for Unicode properties. The advantage being that it lets us use the Unicode tables without having to build a new category table that keeps another copy of it, and without having to use "(with-category-table special-category-table-for-bidi". Stefan