From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: bidi-display-reordering is now non-nil by default Date: Sun, 31 Jul 2011 11:15:24 +0200 Organization: Organization?!? Message-ID: <878vre95g3.fsf@fencepost.gnu.org> References: <20110731.082721.451360942.wl@gnu.org> <20110731.085115.40009301.wl@gnu.org> <877h6yanje.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1312103750 11308 80.91.229.12 (31 Jul 2011 09:15:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 31 Jul 2011 09:15:50 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 31 11:15:45 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 1QnS7c-0002Rl-CB for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2011 11:15:44 +0200 Original-Received: from localhost ([::1]:54561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnS7b-0007id-MV for ged-emacs-devel@m.gmane.org; Sun, 31 Jul 2011 05:15:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnS7Z-0007iW-JB for emacs-devel@gnu.org; Sun, 31 Jul 2011 05:15:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QnS7Y-0000OJ-9R for emacs-devel@gnu.org; Sun, 31 Jul 2011 05:15:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QnS7X-0000OF-W9 for emacs-devel@gnu.org; Sun, 31 Jul 2011 05:15:40 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QnS7V-0002Pp-41 for emacs-devel@gnu.org; Sun, 31 Jul 2011 11:15:37 +0200 Original-Received: from p508ed76e.dip.t-dialin.net ([80.142.215.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2011 11:15:37 +0200 Original-Received: from dak by p508ed76e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 31 Jul 2011 11:15:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508ed76e.dip.t-dialin.net X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:OxHyiPenzmQ//EqGK9CM4r+E4fM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:142552 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> Date: Sun, 31 Jul 2011 09:59:17 +0200 >> Cc: mew-int@mew.org > > I've removed the mew list from the CC, as this doesn't seem to be > related to mew. > >> > Yes, the name is always `.mew-summary'. I've CCed the mew mailing >> > list so that the author of mew gets informed. It should be >> > straightforward to add a proper call to `bidi-paragraph-direction' >> > within the next mew release. >> >> I think that is a bottomless pit. I consider it nonsensical to treat a >> block of aligned lines as one large paragraph where one would need to >> find out the paragraph direction of the whole. > > The paragraph direction is determined by the paragraph beginning, not > by all of it. The first "strong directional" character in the > paragraph, either a left-to-right character or a right-to-left > character, will determine the base direction of that paragraph. E.g., > a single Latin letter is all that's needed for determining that the > paragraph direction is left-to-right. So we are apparently searching for the paragraph beginning of a humongous paragraph for each keystroke. >> It might also be reasonable to set the paragraph boundary detection >> regexps to nil in buffers where no paragraphs will ever be found > > How to detect these buffers? I was not suggesting detecting them. I was suggesting that modes creating buffers where paragraphs are not a usable concept disable paragraph detection. Manually. That's another bottomless pit, but at least it approaches the problem from an angle that is not bidi-related and might make sense on versions (including XEmacs) that don't bother about bidi at all and consequently don't support bidi-paragraph-direction. -- David Kastrup