From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Message Mode and bidi Date: Mon, 19 Feb 2024 05:36:57 +0200 Message-ID: <867cj1qg4m.fsf@gnu.org> References: <87v86ldzpw.fsf@aura.christopherculver.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7079"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Christopher Culver Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 19 04:37:59 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rbuTf-0001bw-5T for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Feb 2024 04:37:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbuSl-0003Yb-4E; Sun, 18 Feb 2024 22:37:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbuSj-0003XX-BZ for emacs-devel@gnu.org; Sun, 18 Feb 2024 22:37:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbuSi-0002JT-N8; Sun, 18 Feb 2024 22:37:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=2yWfUp7P4lL4X2vuryXY/JjyKu5DOoDzZwzUjmJASfk=; b=Utblk+RQ4BMg mFlCM8o3G1P2mHp7HZZlBoiy0QlOmJqJHpXNPfHwelJIRncJQe/IcGdSQoqEu6lSnIM5vouhQcwr3 oziXYXgyYZV0Y2kgGMQib9yVR7kwB2tSoNUNyYXE/rifMgE88VLCyiI0DAmyOI1LqlTVlg3gI7dE1 fjo+rnzKvkR99gWCmNwWm++BJSNkgv8ST2QKaE1JtRfkkbm5DqaE4mpC1GBYoT6ZcqBpEBSgj9r+C AmLJuonDwb087evyyqBLoXETFBDYv6DSyykIO4WzykOIpAHjYw3ouwY9YdC6wFWKzxfqnaJooBB9P EdwZXAGotmyIlGNhj/OH3w==; In-Reply-To: <87v86ldzpw.fsf@aura.christopherculver.com> (emacs-devel@gnu.org) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316335 Archived-At: > Date: Mon, 19 Feb 2024 02:12:11 +0100 > From: Christopher Culver via "Emacs development discussions." > > Modes like text-mode and Org mode now have good support for > bidirectional text. When one switches to an input method for a > right-to-left language, like farsi-translit-banan, and types a letter, > the text is immediately aligned to the right side of the window and the > cursor appears correctly to the left of the typed text. > > This functionality is missing from Message Mode, as I find when writing > a new e-mail in Gnus. Right-to-left text can be inserted there, but the > text is not aligned to the right side of the window, and the cursor > incorrectly appears to the right of the typed text. I cannot reproduce this. What I see is that Message mode supports bidirectional text as expected, including what you describe in the previous paragraph regarding right-aligning the RTL text. So please tell more what you did by describing in detail the commands you typed, so we could understand why you think bidirectional text is not sufficiently well supported by Message mode. I expect i t is due to some misunderstanding of how Emacs implements and supports bidi, perhaps related to the Emacs interpretation of "paragraph" and "paragraph direction". > Thus my question is: is this a bug in Message Mode that could be > reported, i.e. the required functionality has not been implemented there > as in other popular modes? Or does this lack of full bidi support in > this mode represent a deliberate choice on the part of Emacs devs? There's no bug that I could see. I think it is some mistake on your part, which will be revealed if you describe the steps which led you to the above conclusion.