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: bidi-display-reordering is now non-nil by default Date: Thu, 18 Aug 2011 23:16:13 -0400 Message-ID: References: <4E48D309.6050503@acdlabs.ru> <83hb5jujjs.fsf@gnu.org> <874o1j10zv.fsf@fencepost.gnu.org> <8362lyvcli.fsf@gnu.org> <87fwl2r0l4.fsf@stupidchicken.com> <83zkjatnkz.fsf@gnu.org> <877h6et8oi.fsf@stupidchicken.com> <83vctxua2y.fsf@gnu.org> <87r54le4rd.fsf@stupidchicken.com> <8362lxtfeb.fsf@gnu.org> <87d3g56llz.fsf@stupidchicken.com> <8339h0tur0.fsf@gnu.org> <87ippvwtwx.fsf@stupidchicken.com> <83liurruz4.fsf@gnu.org> <87k4aaej7f.fsf@stupidchicken.com> <83ippusjej.fsf@gnu.org> <87vctuz6eb.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1313723788 15433 80.91.229.12 (19 Aug 2011 03:16:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Aug 2011 03:16:28 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 19 05:16:24 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 1QuFZG-00027i-LY for ged-emacs-devel@m.gmane.org; Fri, 19 Aug 2011 05:16:22 +0200 Original-Received: from localhost ([::1]:38221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuFZF-0000ky-G8 for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2011 23:16:21 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:42533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuFZD-0000ks-Q2 for emacs-devel@gnu.org; Thu, 18 Aug 2011 23:16:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuFZD-0005kZ-2O for emacs-devel@gnu.org; Thu, 18 Aug 2011 23:16:19 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30368 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuFZB-0005kA-MO; Thu, 18 Aug 2011 23:16:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EADTUTU5Ld+HZ/2dsb2JhbABCp3d4gUABAQQBViMFCwsOJhIUGA0kiAS3aoZIBJ9vhDU X-IronPort-AV: E=Sophos;i="4.68,249,1312171200"; d="scan'208";a="131876993" Original-Received: from 75-119-225-217.dsl.teksavvy.com (HELO ceviche.home) ([75.119.225.217]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 18 Aug 2011 23:16:15 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 1072A66329; Thu, 18 Aug 2011 23:16:13 -0400 (EDT) In-Reply-To: <87vctuz6eb.fsf@stupidchicken.com> (Chong Yidong's message of "Thu, 18 Aug 2011 18:44:44 -0400") 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.181 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:143420 Archived-At: > Obviously, there is a trade-off: exploiting font-lock means more > "magically correct" segmenting; using a hack (like marking chars > special) means less dependence on the font-lock machinery. I don't > think the latter is worth it. The problem is not jit-lock-defer-time but the fact that font-lock may be turned off. We could do it in syntax-propertize, of course, but it's not great either (e.g. syntax-propertize is applied to all the text before window-start whether that text will ever be displayed or not). Stefan