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: [Emacs-diffs] /srv/bzr/emacs/trunk r105429: New function `string-mark-left-to-right' for handling LRMs. Date: Wed, 17 Aug 2011 12:15:58 +0300 Message-ID: <83y5yss8j5.fsf@gnu.org> References: <87lius33lj.fsf@m17n.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1313572581 29783 80.91.229.12 (17 Aug 2011 09:16:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Aug 2011 09:16:21 +0000 (UTC) Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 17 11:16:15 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 1QtcER-0001z4-4O for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 11:16:15 +0200 Original-Received: from localhost ([::1]:39697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcEQ-00010S-0x for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2011 05:16:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcEN-000103-E3 for emacs-devel@gnu.org; Wed, 17 Aug 2011 05:16:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QtcEL-0002Cs-Kq for emacs-devel@gnu.org; Wed, 17 Aug 2011 05:16:11 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:63739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QtcEL-0002Cb-EZ for emacs-devel@gnu.org; Wed, 17 Aug 2011 05:16:09 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LQ200E00EZJ8B00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Wed, 17 Aug 2011 12:15:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.0.3]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LQ200C4LF2J5AJ0@a-mtaout20.012.net.il>; Wed, 17 Aug 2011 12:15:57 +0300 (IDT) In-reply-to: <87lius33lj.fsf@m17n.org> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 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:143358 Archived-At: > From: Kenichi Handa > Date: Wed, 17 Aug 2011 16:21:44 +0900 > Cc: cyd@stupidchicken.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org > > By the way, Stefan' suggestion of extending regexp is also > worth considering (though I have no idea what kind of format > we can use for them). If the important categories are part of the standard category-table, then I don't see any advantages to Stefan's proposal. The underlying implementation will be the same: access to uniprop tables. > One more tip: It may be a little bit faster to use a > bidi-specific category table with with-category-table > because, in most cases, we can find a category set for a > specific character faster. In a bidi-specific category > table, most characters (e.g. all han characters) will have > the same category set and thus the set is recorded for a > group of characters. You mean, because CHAR_TABLE_REF will be faster?