From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.bidi Subject: Re: Bidirectional editing in Emacs -- main design decisions Date: Sun, 11 Oct 2009 04:41:22 -0400 Message-ID: References: <83bpkgl113.fsf@gnu.org> <834oq8kx5c.fsf@gnu.org> <83tyy7jx7c.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1255250505 11686 80.91.229.12 (11 Oct 2009 08:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 08:41:45 +0000 (UTC) Cc: emacs-bidi@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 11 10:41:37 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 1Mwtzi-0003kb-5v for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2009 10:41:34 +0200 Original-Received: from localhost ([127.0.0.1]:40397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mwtzh-0003td-Fq for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2009 04:41:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mwtzb-0003sB-OQ for emacs-devel@gnu.org; Sun, 11 Oct 2009 04:41:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwtzW-0003nk-Rx for emacs-devel@gnu.org; Sun, 11 Oct 2009 04:41:27 -0400 Original-Received: from [199.232.76.173] (port=52837 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwtzW-0003nb-Ol; Sun, 11 Oct 2009 04:41:22 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:58598) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwtzW-0002ek-Gv; Sun, 11 Oct 2009 04:41:22 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MwtzW-000711-74; Sun, 11 Oct 2009 04:41:22 -0400 In-reply-to: <83tyy7jx7c.fsf@gnu.org> (message from Eli Zaretskii on Sat, 10 Oct 2009 13:38:15 +0200) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:116081 gmane.emacs.bidi:424 Archived-At: > The only case when the paragraph separator does not begin at the > beginning of a line is when the left margin is nonzero. I'm not sure I understand the situation you are describing. (The word "margin" is too overloaded, even if we confine ourselves to Emacs parlance alone.) Could you please provide an example of such a paragraph? Then I could reason about it. I can't give you an example, but move-to-left-margin shows what it means to be at the left margin. It is a matter of matching the paragraph regexps after the right amount of whitespace as specified by the value of `left-margin'. When `left-margin' is nonzero, a line which fails to start with that much whitespace also starts a paragraph. > Why should these paragraphs be different from other paragraphs > with regard to direction of text? They are not "different", they just follow the base direction of the preceding paragraph. To be fully correct, it ought to detect paragraphs correctly when `left-margin' is nonzero. I think that won't be hard to do.