From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id aCN4GgiBKl/fdgAA0tVLHw (envelope-from ) for ; Wed, 05 Aug 2020 09:51:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id WHZSFgiBKl9oDgAAbx9fmQ (envelope-from ) for ; Wed, 05 Aug 2020 09:51:04 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F0C61940291 for ; Wed, 5 Aug 2020 09:51:02 +0000 (UTC) Received: from [144.217.243.247] (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A368329A94; Wed, 5 Aug 2020 05:50:56 -0400 (EDT) X-Greylist: delayed 635 seconds by postgrey-1.36 at nmbug; Wed, 05 Aug 2020 05:50:53 EDT Received: from meesny.iki.fi (meesny.iki.fi [195.140.195.201]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5D3641FF9B for ; Wed, 5 Aug 2020 05:50:53 -0400 (EDT) Received: from mithlond (mobile-access-6df022-134.dhcp.inet.fi [109.240.34.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: tlikonen) by meesny.iki.fi (Postfix) with ESMTPSA id 324DE209F4; Wed, 5 Aug 2020 12:50:52 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1596621052; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yggbv2DR6stw38iMpsAoe9oSZ7kwuxCo8QgybKR4o3Y=; b=gjqnMlAaPMRwhLrTGayMhq+LZ88DJLmBhLfS9aN8EglLj1NJG37msO12WU3FwQnU8+ujI2 YilOvjbaaXXK9UoDZDy1ZtzorZLCWls7WhR7ny5xc0BMRnnaQtXoPVHBz+k4R2dHZS8sY2 0PfZCHVUFTgLhwvy2QI2OCbr7o0ydQs= From: Teemu Likonen To: David Edmondson , notmuch@notmuchmail.org Subject: Re: [PATCH v3] Emacs: Force left-to-right display for message headers In-Reply-To: <877dudfn2h.fsf@iki.fi> References: <87y2muvc5j.fsf@iki.fi> <20200804180225.12888-1-tlikonen@iki.fi> <877dudfn2h.fsf@iki.fi> Date: Wed, 05 Aug 2020 12:50:46 +0300 Message-ID: <874kphfmkp.fsf@iki.fi> MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1596621052; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Yggbv2DR6stw38iMpsAoe9oSZ7kwuxCo8QgybKR4o3Y=; b=B3FXx7Nwk5QJOB6M3JBm2HhmH2WBGpx8XhP91xxjdYzw6wPPdxOQz+Dh28w6wIDgVCH0Tn gzIrurwmNQscXJY+rsLlP8dqIIM2qbjuxknzPdiYU9YTsdS26yRcZdXGpN7ykVHpHnQoeH 4elHoj4RrIchs6qMKRqRXDJ55zEybFI= ARC-Seal: i=1; s=meesny; d=iki.fi; t=1596621052; a=rsa-sha256; cv=none; b=q4J89kd1wrzTkm1/1nB4hLEoUImlWdt10Mjiuj5GgrZwrXe+As3yuTa7DN8+f8nV1XM3sQ /IBxg/9HE87ZJJJq8EJOhh3130gOXK4zEAc6PGpaBoGazfxDOhaqUwDcLccMRGU0THlO9S JuaGxYM96xXSUwBuyRjjX3mhGtM67b4= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=tlikonen smtp.mailfrom=tlikonen@iki.fi Message-ID-Hash: 5FVYFSCTVFHYR4DWM5RT3HR7JCJLQ7BJ X-Message-ID-Hash: 5FVYFSCTVFHYR4DWM5RT3HR7JCJLQ7BJ X-MailFrom: tlikonen@iki.fi X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============3423952164212529545==" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=iki.fi header.s=meesny header.b=gjqnMlAa; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -0.07 X-TUID: VKu/HkpE7sbH --===============3423952164212529545== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * 2020-08-05 12:40:06+03, Teemu Likonen wrote: > I think there are two options: > > 1. Add a string like "From: " in the beginning of notmuch-show header > paragraph so that the paragraph always starts with left-to-right > characters (those latin letters "From"). > > 2. Add invisible characters that force left-to-right text for the > paragraph. Character U+200E LEFT-TO-RIGHT MARK is meant for > controlling exactly that. 3. Bad option: (setq bidi-paragraph-direction 'left-to-right) for the whole notmuch-show buffer. This is not good idea because also the message body is forced to left-to-right direction (even if it contained right-to-left text). =2D-=20 /// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/ // OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIYEARYIAC4WIQTJW2wqtelxC1gHdbitnXWr7pTCcwUCXyqA9hAcdGxpa29uZW5A aWtpLmZpAAoJEK2ddavulMJzTwYA/RcLC60Lz7GeAw3AOESnnSLkTIzKKfxwfpT6 ap0EhY7JAP9cChJtlVwxDogomgxuaXyeOfrHwi/0/7bXRiGUrKzFCg== =0mhe -----END PGP SIGNATURE----- --=-=-=-- --===============3423952164212529545== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3423952164212529545==--