From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Culver via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Message Mode and bidi Date: Mon, 19 Feb 2024 22:29:15 +0100 Message-ID: <8734to16tw.fsf@aura.christopherculver.com> References: <87v86ldzpw.fsf@aura.christopherculver.com> <867cj1qg4m.fsf@gnu.org> Reply-To: Christopher Culver Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8021"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 19 22:30:07 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 1rcBDB-0001rn-SP for ged-emacs-devel@m.gmane-mx.org; Mon, 19 Feb 2024 22:30:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcBCY-0007Dc-PB; Mon, 19 Feb 2024 16:29:26 -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 1rcBCW-0007Bs-A5 for emacs-devel@gnu.org; Mon, 19 Feb 2024 16:29:24 -0500 Original-Received: from kraft.christopherculver.com ([178.79.150.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcBCT-0004lX-1Y; Mon, 19 Feb 2024 16:29:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=christopherculver.com; s=mail; t=1708378156; bh=4ViUayfGV1NK3p1wPiiiNBqXsSpIZ3LHRi0CkAoUDBI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=HbkdhAzoYQbYwmg5vKTUZNa5rPBjwsMC0/sb7kNycGr6kMw6JauZu4Q6E+BS94ofA 6hXWS6q2DoRkLM98j5s0p07bSOb4Ghf0Tn8dz/LLRPkkYaTBA2CVfdXNsiwKj9PZFp DGkp2RnpT8t3LtUwbzwZCIIHdmHaTcGC9uWDkPOU= In-Reply-To: <867cj1qg4m.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 19 Feb 2024 05:36:57 +0200") Received-SPF: pass client-ip=178.79.150.180; envelope-from=crculver@christopherculver.com; helo=kraft.christopherculver.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:316378 Archived-At: Eli Zaretskii writes: > 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. I have tried this with a completely virgin Emacs installation, but Message Mode continues to show less than full support for bidi text. The steps were as follows: * Move .emacs.d directory and .gnus.el[c] files to some other location. * Launch Emacs. * M-x gnus * Gnus will pop up an error about unconfigured nntp support, but ignore. * Press a in order to begin composing a new email in Message Mode. * Move the cursor down to the message-body section, switch input method to farsi-translit-banan, and begin typing. The text does not automatically align to the right side of the window, nor does the cursor appear correctly to the left of the text being entered. (However, I do get full bidi support in a new .txt file created in text-mode.) I am using Emacs 29.1 as packaged by Debian Stable Backports (stable-bpo) on Wayland, so presumably the pure-gtk UI. Because email is a special case, with decades-old standards, I thought I should ask the devs if this phenomenon represented a deliberate choice on the part of the Emacs devs. If this is indeed a bug, then please let me know whether it should be reported to Debian as the packager, or if it is something to be resolved by the Emacs devs themselves.