From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: right-char and left-char Date: Thu, 06 Oct 2011 12:45:16 -0400 Message-ID: <87k48it6g3.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317919527 5846 80.91.229.12 (6 Oct 2011 16:45:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 16:45:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 06 18:45:23 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 1RBr4V-00066u-C3 for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 18:45:23 +0200 Original-Received: from localhost ([::1]:58907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr4U-0006tt-Kc for ged-emacs-devel@m.gmane.org; Thu, 06 Oct 2011 12:45:22 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr4R-0006tU-7e for emacs-devel@gnu.org; Thu, 06 Oct 2011 12:45:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBr4Q-0001jk-CM for emacs-devel@gnu.org; Thu, 06 Oct 2011 12:45:19 -0400 Original-Received: from vm-emlprdomr-04.its.yale.edu ([130.132.50.145]:56965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBr4Q-0001jf-8A for emacs-devel@gnu.org; Thu, 06 Oct 2011 12:45:18 -0400 Original-Received: from furball (dhcp-128-36-14-81.central.yale.edu [128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-04.its.yale.edu (8.14.4/8.14.4) with ESMTP id p96GjGV3026357 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Thu, 6 Oct 2011 12:45:17 -0400 X-Scanned-By: MIMEDefang 2.71 on 130.132.50.145 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.145 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:144622 Archived-At: In the Emacs manual, the documentation for right-char says: `' Move one character to the right (`right-char'). This moves one character forward in text that is read in the usual left-to-right direction, but one character _backward_ if the text is read right-to-left, as needed for right-to-left scripts such as Arabic. But in fact, the directionality of right-char and left-char depends on current-bidi-paragraph-direction. If you have RTL text embedded in LTR paragraphs, like in the HELLO file, moves left while in the RTL segment. This contradicts the manual description, which merely states "if the text is read right-to-left". Which is the intended behavior?