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: Sat, 10 Oct 2009 05:16:58 -0400 Message-ID: References: <83bpkgl113.fsf@gnu.org> <834oq8kx5c.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 1255166241 12947 80.91.229.12 (10 Oct 2009 09:17:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2009 09:17:21 +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 Sat Oct 10 11:17:12 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 1MwY4d-0006Tu-N7 for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 11:17:11 +0200 Original-Received: from localhost ([127.0.0.1]:32985 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwY4d-0005TH-1Y for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 05:17:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwY4W-0005Sy-Ll for emacs-devel@gnu.org; Sat, 10 Oct 2009 05:17:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwY4R-0005Rt-O2 for emacs-devel@gnu.org; Sat, 10 Oct 2009 05:17:03 -0400 Original-Received: from [199.232.76.173] (port=51346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwY4R-0005Rq-Fg; Sat, 10 Oct 2009 05:16:59 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56005) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwY4Q-0006CV-Mu; Sat, 10 Oct 2009 05:16:59 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MwY4Q-0004YT-3K; Sat, 10 Oct 2009 05:16:58 -0400 In-reply-to: <834oq8kx5c.fsf@gnu.org> (message from Eli Zaretskii on Sat, 10 Oct 2009 00:41:51 +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:116057 gmane.emacs.bidi:412 Archived-At: The reason for this deliberate deviation from the letter of Emacs definition of a paragraph are complicated, but the upshot is that from the user point of view, it does not make sense to change paragraph direction if the paragraph separator does not begin at the beginning of a line. The only case when the paragraph separator does not begin at the beginning of a line is when the left margin is nonzero. Why should these paragraphs be different from other paragraphs with regard to direction of text? As another deviation from the definition of a paragraph, text that matches `paragraph-separate' is given the same direction as the preceding paragraph. (By contrast, Emacs generally does not consider `paragraph-separate' as part of any paragraph.) I don't think that conflicts at all with the normal definition of paragraphs. The separator isn't part of the paragraph, but its reading direction needs to be determined somehow.