From unknown Sun Jun 22 20:55:42 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28312 <28312@debbugs.gnu.org> To: bug#28312 <28312@debbugs.gnu.org> Subject: Status: 25.2; Arabic script changes when scrolling Reply-To: bug#28312 <28312@debbugs.gnu.org> Date: Mon, 23 Jun 2025 03:55:42 +0000 retitle 28312 25.2; Arabic script changes when scrolling reassign 28312 emacs submitter 28312 Nick Helm severity 28312 normal tag 28312 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 31 21:03:40 2017 Received: (at submit) by debbugs.gnu.org; 1 Sep 2017 01:03:40 +0000 Received: from localhost ([127.0.0.1]:38448 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnaN1-0008GS-I0 for submit@debbugs.gnu.org; Thu, 31 Aug 2017 21:03:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnaMz-0008GG-9T for submit@debbugs.gnu.org; Thu, 31 Aug 2017 21:03:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnaMr-0007hX-72 for submit@debbugs.gnu.org; Thu, 31 Aug 2017 21:03:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50, RECEIVED_FROM_WINDOWS_HOST,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:37893) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnaMr-0007hR-3n for submit@debbugs.gnu.org; Thu, 31 Aug 2017 21:03:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnaMn-00041x-RC for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 21:03:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnaMi-0007g7-S5 for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 21:03:25 -0400 Received: from mail-me1aus01on0105.outbound.protection.outlook.com ([104.47.116.105]:2369 helo=AUS01-ME1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnaMh-0007fR-92 for bug-gnu-emacs@gnu.org; Thu, 31 Aug 2017 21:03:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=F5AtBa5HN9x9KIpYVTjSZCNMtEq2mwQ63kKGGZTCjEc=; b=NZTEOtAitvOTBUJWkWsIAH91pDAbFmwg3jVGENtXeINCFouAkSI7H5IxSRIBE72OakugGsiMExYB5r8ef649MsaS/xRThLPQm0mbV3NGmXo73Tn8eP6F2isLmeEckeRQOjniRahH0fufmAt+GYqmudwYKagYVg70n8yosBzFTpA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Received: from oberon (125.239.125.197) by SYXPR01MB1071.ausprd01.prod.outlook.com (10.169.175.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Fri, 1 Sep 2017 01:03:07 +0000 From: Nick Helm To: bug-gnu-emacs@gnu.org Subject: 25.2; Arabic script changes when scrolling Date: Fri, 01 Sep 2017 13:03:02 +1200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [125.239.125.197] X-ClientProxiedBy: ME1PR01CA0117.ausprd01.prod.outlook.com (10.171.8.154) To SYXPR01MB1071.ausprd01.prod.outlook.com (10.169.175.12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 58f17d72-e6c2-4f3f-b4d6-08d4f0d5350b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(2017082002075)(300000503095)(300135400095)(201703131423075)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SYXPR01MB1071; X-Microsoft-Exchange-Diagnostics: 1; SYXPR01MB1071; 3:KxPKwqt1JWfooI+OkylM1JEefuoGMCNp+23y9ub6Q1quI4Qp68nhog2Qkwdr3TaSIV8YOpW+Nj6mysECn8wSE7mnyjUZSZqwx1x/klAvg0US6Q5PROhNrxMtAPMAcj3mJYFfeOO2vmlCAT/TBoGlqNxOBFkyVyhNCZf30DOqjgLn0OsdIremMqMUTsJkI+PAg0PJkRP7rl4JlRgR/eZ6R413vTeDxnVnNmu0FldmK6gn/Wv6+Xxx/UrN81fCliOR; 25:cF72RYmt0pYKBBrsATNUk6Hja6pkTBkk4LzBmGSO//nWkaSsS9jRwC3q5jWDqdjY4PRSkNRphfzOdoQkxXFwegsuFwlj1WVYJiiggkteSoUB0OqSPDvHYQLRRQqoln5IBxu3cfHez8Wb26ubihdGg+G5KrpQTeQSIGn/053sxb3GIF8tG52880f88kpzPg1hcFhFlNWi12/jsaC54UgxPa/bt+MXg0SfXaDP8B+L5Q9T0hBHv+yFOrq6DqtlxIlN2sDlp/8n+77nzfIiuVYL0uhnX75ciS386e4Um87fQL7adZMLMvMNhDcsLe8zallRM9dQcOJBi9RC9kWfeAq26g==; 31:EVCiCIdhloaC3EwSF2nVQ8tWNUPLr07jXUiOsLIukMb101T35j5143rapRoasJO2h7y6ZB18JlgJoxW/Z8kW8kpZ9FtWXQjUwbYda3pS/3ms2nsb7iEnBzJh/MitieJIBTj9kxkGe4kg/fwTptPPFRPwRW7+mWbmsXpdkDhyQAVEx2Dk8Foj4ej/dKsThpb1QmCY+ca9HmfRXAcvULj5r2vF9CIIBZYC2dAMLDwtuGc= X-MS-TrafficTypeDiagnostic: SYXPR01MB1071: X-Exchange-Antispam-Report-Test: UriScan:(190756311086443); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6041248)(2016111802025)(20161123564025)(20161123562025)(20161123555025)(20161123558100)(201703131423075)(201703061421075)(20161123560025)(6043046)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SYXPR01MB1071; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SYXPR01MB1071; X-Microsoft-Exchange-Diagnostics: 1; SYXPR01MB1071; 4:nOsa7NBB1VjXC1lxEsSbc/8vKNaY4oCR569G0ihlOk5Ptb0OrpNJh+gBG109UxPVK/0qySjhiu6ShiCgK8TCBRW+GG/w1kzhOjb1Y/BYiQl9IuGkgYkITIsUA6yTBa+FyKREt5Xe/2INfiyNGk1Jg7qjWdgLiGpWZfEk/A+p0IXUn54OeY/OzRwa+vrFN7VemCVFXDvbgEIj7LZghkOfqlrfGSdwh3jT6OixbBEkL8K3arxswTceNv1/otZn1jImvxM5MJjn5mh9u7I7d/atwtz592eWHf+wgc9JH3/Y0Ho= X-Forefront-PRVS: 0417A3FFD2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(7370300001)(6009001)(377424004)(189002)(199003)(6486002)(106356001)(6306002)(105586002)(6666003)(2351001)(42882006)(2361001)(33646002)(7350300001)(966005)(305945005)(25786009)(6916009)(508600001)(101416001)(54356999)(97736004)(8746002)(86362001)(53936002)(23676002)(5660300001)(114624004)(8676002)(6116002)(81166006)(68736007)(551544002)(81156014)(36756003)(50986999)(3846002)(2906002)(7736002)(110136004)(189998001)(50466002)(6496005)(42186005)(47776003)(5890100001)(74482002)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:SYXPR01MB1071; H:oberon; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtTWVhQUjAxTUIxMDcxOzIzOkQwQUI2Y1lwei8vOGJNWEh0KzhQY1RWSjlJ?= =?utf-8?B?QWluK0ZQWGlKeDc4YmIraFFCMFBhY2NJK0xicFR6NGxUZThVUjFqSENnRU5v?= =?utf-8?B?M3d2NTlnTkVpNHk2ZnRsTUlaZXg0SXltb1N5L2NZYXRZbG9LR21RV2orQWxq?= =?utf-8?B?YllvZzk3VGxjQS9oa1cxTWlyd2puV2h2QjlhLzJlOFhvRmxBYktad0grYmg1?= =?utf-8?B?VUx0UjRjK2NqZSt6ZnVPdGcxZjdCREQ0djlUR1hpZDdrODVNZFBTeGxrVm9s?= =?utf-8?B?eUN5cS91QlNrcEcvSFlKeXI0bnVIZW1NL2ZUQkk1SUhkbkFnUU9xWHF5dmZz?= =?utf-8?B?OWZxMG5HUityNmVzZit2SXRDR21OdnNNTkJNb01vclNkMyswMGlMbXd4MGM1?= =?utf-8?B?bHhXcnV6bkNrTGp4dVZiWkt1YjFYTG9hQk9pQisxN0hiU0s3UW02ZlhKUHRX?= =?utf-8?B?aE5zSDB0LzV6dVNFMDkzTGNBb3BuZzRrODRBZktHNVhLTTFITkJJbkJDUGdU?= =?utf-8?B?VzFjdHc0azMwZnY4ZFJaVmVWVGx2djMyWVp4RncrdFJGUXpNT0RQYmV6cE9h?= =?utf-8?B?T3VpR0R1UkZCVGNIblh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adata: NSPM X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2017 01:03:07.2398 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYXPR01MB1071 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) With bidi enabled, Arabic text changes unexpectedly when scrolling or moving point with the mouse. Recipe: Emacs -Q C-h h ;visit HELLO file ;use the mouse to scroll slowly Observe the text on the line that starts with the word Arabic. As the buffer scrolls, some of the characters in the Arabic representations of the words "Arabic" and "Hello" change between at least two glyphs. Here's a quick screen cap to show what I mean: https://ln.sync.com/dl/22d37f320/fwujc85a-dhb63yfw-cv5vhzj5-5qsis2h8 (this is the mac-port, but it occurs with a standard build as well.) The problem goes away when I change the file local variable: ;;; bidi-display-reordering: nil=20 My system defaults to Geeza Pro to display Arabic script, but the problem also occurs with other fonts, such as Arial Unicode MS. I don't see the problem with other RTL scripts in the HELLO file, such as Hebrew. In case it matters, when I place point over one of the affected characters and do C-u C-x =3D before and after it changes, I get the following in both cases (ie Emacs thinks it is displaying the same char). ----------------- position: 884 of 3322 (27%), column: 41 character: =D9=8A=E2=80=8E (displayed as =D9=8A=E2=80=8E) (code= point 1610, #o3112, #x64a) preferred charset: mule-unicode-0100-24ff (Unicode characters of the ra= nge U+0100..U+24FF.) code point in charset: 0x2E2A script: arabic syntax: w which means: word category: .:Base, R:Right-to-left (strong), b:Arabic to input: type "C-x 8 RET 64a" or "C-x 8 RET ARABIC LETTER YEH" buffer code: #xD9 #x8A file code: ESC #x24 #x2C #x31 #x2E #x2A (encoded by coding syst= em iso-2022-7bit-unix) display: composed to form "=D9=8A" (see below) Composed using this font: mac-ct:-*-Geeza Pro-normal-normal-normal-*-10-*-*-*-p-0-iso10646-1 by these glyphs: [2 2 0 364 3 -1 5 4 3 nil] Character code properties: customize what to show name: ARABIC LETTER YEH old-name: ARABIC LETTER YA general-category: Lo (Letter, Other) decomposition: (1610) ('=D9=8A') There are text properties here: charset mule-unicode-0100-24ff ----------------- In GNU Emacs 25.2.1 (x86_64-apple-darwin16.7.0, Carbon Version 157 AppKit 1= 504.83) of 2017-08-28 built on oberon Windowing system distributor 'Apple Inc.', version 10.12.6 Configured using: 'configure --with-mac --enable-locallisppath=3D/usr/local/kemp-emacs/emacs-25.2-mac-6.6/share/em= acs/site-lisp --infodir=3D/usr/local/kemp-emacs/emacs-25.2-mac-6.6/info/emacs --prefix=3D/usr/local/kemp-emacs/emacs-25.2-mac-6.6 --enable-mac-app=3D/usr/local/kemp-emacs/emacs-25.2-mac-6.6' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: en_NZ.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: savehist-mode: t global-eldoc-mode: t mac-mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t visual-line-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Emacs start-up time: 0.3 seconds [2 times] Load-path shadows: /Users/nick/.emacs.d/lisp/org/ox hides /usr/local/kemp-emacs/emacs-25.2-mac= -6.6/share/emacs/25.2/lisp/org/ox /Users/nick/.emacs.d/lisp/org/ox-texinfo hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ox-texinfo /Users/nick/.emacs.d/lisp/org/ox-publish hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ox-publish /Users/nick/.emacs.d/lisp/org/ox-org hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ox-org /Users/nick/.emacs.d/lisp/org/ox-odt hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ox-odt /Users/nick/.emacs.d/lisp/org/ox-md hides /usr/local/kemp-emacs/emacs-25.2-= mac-6.6/share/emacs/25.2/lisp/org/ox-md /Users/nick/.emacs.d/lisp/org/ox-man hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ox-man /Users/nick/.emacs.d/lisp/org/ox-latex hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ox-latex /Users/nick/.emacs.d/lisp/org/ox-icalendar hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/ox-icalendar /Users/nick/.emacs.d/lisp/org/ox-html hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ox-html /Users/nick/.emacs.d/lisp/org/ox-beamer hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ox-beamer /Users/nick/.emacs.d/lisp/org/ox-ascii hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ox-ascii /Users/nick/.emacs.d/lisp/org/org hides /usr/local/kemp-emacs/emacs-25.2-ma= c-6.6/share/emacs/25.2/lisp/org/org /Users/nick/.emacs.d/lisp/org/org-w3m hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/org-w3m /Users/nick/.emacs.d/lisp/org/org-version hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-version /Users/nick/.emacs.d/lisp/org/org-timer hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-timer /Users/nick/.emacs.d/lisp/org/org-table hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-table /Users/nick/.emacs.d/lisp/org/org-src hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/org-src /Users/nick/.emacs.d/lisp/org/org-rmail hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-rmail /Users/nick/.emacs.d/lisp/org/org-protocol hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-protocol /Users/nick/.emacs.d/lisp/org/org-plot hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-plot /Users/nick/.emacs.d/lisp/org/org-pcomplete hides /usr/local/kemp-emacs/ema= cs-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-pcomplete /Users/nick/.emacs.d/lisp/org/org-mouse hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-mouse /Users/nick/.emacs.d/lisp/org/org-mobile hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-mobile /Users/nick/.emacs.d/lisp/org/org-mhe hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/org-mhe /Users/nick/.emacs.d/lisp/org/org-macs hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-macs /Users/nick/.emacs.d/lisp/org/org-macro hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-macro /Users/nick/.emacs.d/lisp/org/org-loaddefs hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-loaddefs /Users/nick/.emacs.d/lisp/org/org-list hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-list /Users/nick/.emacs.d/lisp/org/org-irc hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/org-irc /Users/nick/.emacs.d/lisp/org/org-install hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-install /Users/nick/.emacs.d/lisp/org/org-inlinetask hides /usr/local/kemp-emacs/em= acs-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-inlinetask /Users/nick/.emacs.d/lisp/org/org-info hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-info /Users/nick/.emacs.d/lisp/org/org-indent hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-indent /Users/nick/.emacs.d/lisp/org/org-id hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/org-id /Users/nick/.emacs.d/lisp/org/org-habit hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-habit /Users/nick/.emacs.d/lisp/org/org-gnus hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-gnus /Users/nick/.emacs.d/lisp/org/org-footnote hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-footnote /Users/nick/.emacs.d/lisp/org/org-feed hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-feed /Users/nick/.emacs.d/lisp/org/org-faces hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-faces /Users/nick/.emacs.d/lisp/org/org-eshell hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-eshell /Users/nick/.emacs.d/lisp/org/org-entities hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-entities /Users/nick/.emacs.d/lisp/org/org-element hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-element /Users/nick/.emacs.d/lisp/org/org-docview hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-docview /Users/nick/.emacs.d/lisp/org/org-datetree hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/org-datetree /Users/nick/.emacs.d/lisp/org/org-ctags hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-ctags /Users/nick/.emacs.d/lisp/org/org-crypt hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-crypt /Users/nick/.emacs.d/lisp/org/org-compat hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-compat /Users/nick/.emacs.d/lisp/org/org-colview hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-colview /Users/nick/.emacs.d/lisp/org/org-clock hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/org-clock /Users/nick/.emacs.d/lisp/org/org-capture hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-capture /Users/nick/.emacs.d/lisp/org/org-bibtex hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-bibtex /Users/nick/.emacs.d/lisp/org/org-bbdb hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/org-bbdb /Users/nick/.emacs.d/lisp/org/org-attach hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-attach /Users/nick/.emacs.d/lisp/org/org-archive hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/org-archive /Users/nick/.emacs.d/lisp/org/org-agenda hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/org-agenda /Users/nick/.emacs.d/lisp/org/ob hides /usr/local/kemp-emacs/emacs-25.2-mac= -6.6/share/emacs/25.2/lisp/org/ob /Users/nick/.emacs.d/lisp/org/ob-tangle hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-tangle /Users/nick/.emacs.d/lisp/org/ob-table hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ob-table /Users/nick/.emacs.d/lisp/org/ob-sqlite hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-sqlite /Users/nick/.emacs.d/lisp/org/ob-sql hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-sql /Users/nick/.emacs.d/lisp/org/ob-shen hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-shen /Users/nick/.emacs.d/lisp/org/ob-screen hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-screen /Users/nick/.emacs.d/lisp/org/ob-scheme hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-scheme /Users/nick/.emacs.d/lisp/org/ob-scala hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ob-scala /Users/nick/.emacs.d/lisp/org/ob-sass hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-sass /Users/nick/.emacs.d/lisp/org/ob-ruby hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-ruby /Users/nick/.emacs.d/lisp/org/ob-ref hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-ref /Users/nick/.emacs.d/lisp/org/ob-R hides /usr/local/kemp-emacs/emacs-25.2-m= ac-6.6/share/emacs/25.2/lisp/org/ob-R /Users/nick/.emacs.d/lisp/org/ob-python hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-python /Users/nick/.emacs.d/lisp/org/ob-plantuml hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-plantuml /Users/nick/.emacs.d/lisp/org/ob-picolisp hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-picolisp /Users/nick/.emacs.d/lisp/org/ob-perl hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-perl /Users/nick/.emacs.d/lisp/org/ob-org hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-org /Users/nick/.emacs.d/lisp/org/ob-octave hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-octave /Users/nick/.emacs.d/lisp/org/ob-ocaml hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ob-ocaml /Users/nick/.emacs.d/lisp/org/ob-mscgen hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-mscgen /Users/nick/.emacs.d/lisp/org/ob-maxima hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-maxima /Users/nick/.emacs.d/lisp/org/ob-matlab hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-matlab /Users/nick/.emacs.d/lisp/org/ob-makefile hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-makefile /Users/nick/.emacs.d/lisp/org/ob-lob hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-lob /Users/nick/.emacs.d/lisp/org/ob-lisp hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-lisp /Users/nick/.emacs.d/lisp/org/ob-lilypond hides /usr/local/kemp-emacs/emacs= -25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-lilypond /Users/nick/.emacs.d/lisp/org/ob-ledger hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-ledger /Users/nick/.emacs.d/lisp/org/ob-latex hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ob-latex /Users/nick/.emacs.d/lisp/org/ob-keys hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-keys /Users/nick/.emacs.d/lisp/org/ob-js hides /usr/local/kemp-emacs/emacs-25.2-= mac-6.6/share/emacs/25.2/lisp/org/ob-js /Users/nick/.emacs.d/lisp/org/ob-java hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-java /Users/nick/.emacs.d/lisp/org/ob-io hides /usr/local/kemp-emacs/emacs-25.2-= mac-6.6/share/emacs/25.2/lisp/org/ob-io /Users/nick/.emacs.d/lisp/org/ob-haskell hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-haskell /Users/nick/.emacs.d/lisp/org/ob-gnuplot hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-gnuplot /Users/nick/.emacs.d/lisp/org/ob-fortran hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-fortran /Users/nick/.emacs.d/lisp/org/ob-exp hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-exp /Users/nick/.emacs.d/lisp/org/ob-eval hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-eval /Users/nick/.emacs.d/lisp/org/ob-emacs-lisp hides /usr/local/kemp-emacs/ema= cs-25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-emacs-lisp /Users/nick/.emacs.d/lisp/org/ob-dot hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-dot /Users/nick/.emacs.d/lisp/org/ob-ditaa hides /usr/local/kemp-emacs/emacs-25= .2-mac-6.6/share/emacs/25.2/lisp/org/ob-ditaa /Users/nick/.emacs.d/lisp/org/ob-css hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-css /Users/nick/.emacs.d/lisp/org/ob-core hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-core /Users/nick/.emacs.d/lisp/org/ob-comint hides /usr/local/kemp-emacs/emacs-2= 5.2-mac-6.6/share/emacs/25.2/lisp/org/ob-comint /Users/nick/.emacs.d/lisp/org/ob-clojure hides /usr/local/kemp-emacs/emacs-= 25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-clojure /Users/nick/.emacs.d/lisp/org/ob-calc hides /usr/local/kemp-emacs/emacs-25.= 2-mac-6.6/share/emacs/25.2/lisp/org/ob-calc /Users/nick/.emacs.d/lisp/org/ob-C hides /usr/local/kemp-emacs/emacs-25.2-m= ac-6.6/share/emacs/25.2/lisp/org/ob-C /Users/nick/.emacs.d/lisp/org/ob-awk hides /usr/local/kemp-emacs/emacs-25.2= -mac-6.6/share/emacs/25.2/lisp/org/ob-awk /Users/nick/.emacs.d/lisp/org/ob-asymptote hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/org/ob-asymptote /Users/nick/.emacs.d/lisp/gnus/auth-source hides /usr/local/kemp-emacs/emac= s-25.2-mac-6.6/share/emacs/25.2/lisp/gnus/auth-source Features: (shadow sort mail-extr gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader wid-edit emacsbug message format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode mail-prsvr mail-utils jka-compr info time dired-x easymenu dired savehist multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core advice rect nh-macdict easy-mmode iso-transl gv flyspell ispell linum plain-theme edmacro kmacro cl-loaddefs pcase cl-lib mule-util time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel mac-win term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue mac multi-tty make-network-process emacs) Memory information: ((conses 16 158045 2804) (symbols 48 27577 0) (miscs 40 66 98) (strings 32 43155 8088) (string-bytes 1 1485587) (vectors 16 19115) (vector-slots 8 522339 1270) (floats 8 330 3) (intervals 56 225 0) (buffers 976 17)) From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 02:45:33 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 06:45:33 +0000 Received: from localhost ([127.0.0.1]:38876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnfht-0001Pv-D2 for submit@debbugs.gnu.org; Fri, 01 Sep 2017 02:45:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnfhq-0001Pe-W4 for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 02:45:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnfhh-0001Zv-7K for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 02:45:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnfhh-0001Zr-3p; Fri, 01 Sep 2017 02:45:21 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dnfhg-00054v-AS; Fri, 01 Sep 2017 02:45:20 -0400 Date: Fri, 01 Sep 2017 09:45:08 +0300 Message-Id: <83lgly29zf.fsf@gnu.org> From: Eli Zaretskii To: Nick Helm In-reply-to: (message from Nick Helm on Fri, 01 Sep 2017 13:03:02 +1200) Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Nick Helm > Date: Fri, 01 Sep 2017 13:03:02 +1200 > > With bidi enabled, Arabic text changes unexpectedly when scrolling or > moving point with the mouse. > > Recipe: > Emacs -Q > C-h h ;visit HELLO file > ;use the mouse to scroll slowly > > Observe the text on the line that starts with the word Arabic. As the > buffer scrolls, some of the characters in the Arabic representations of > the words "Arabic" and "Hello" change between at least two glyphs. I don't see this here, but I'm not on Darwin. Can anyone reproduce this on GNU/Linux? Does the character also change its shape if you move cursor across that line, especially when the cursor moves across the character? > Here's a quick screen cap to show what I mean: > https://ln.sync.com/dl/22d37f320/fwujc85a-dhb63yfw-cv5vhzj5-5qsis2h8 I cannot watch this movie with the software I have installed. > The problem goes away when I change the file local variable: > ;;; bidi-display-reordering: nil Not much sense in doing that for displaying Arabic! > My system defaults to Geeza Pro to display Arabic script, but the > problem also occurs with other fonts, such as Arial Unicode MS. I don't > see the problem with other RTL scripts in the HELLO file, such as > Hebrew. Arabic needs shaping support from the underlying font back-end, so (unless this will be reproduced on GNU/Linux) it sounds like something is wrong with either the back-end Emacs uses on Darwin, or its version you have installed, or with the support code in Emacs which is needed for displaying complex RTL scripts such as Arabic. FWIW, I tried Arial Unicode here, and saw no problem with that, either. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 03:36:20 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 07:36:20 +0000 Received: from localhost ([127.0.0.1]:38945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dngV2-0002nF-5L for submit@debbugs.gnu.org; Fri, 01 Sep 2017 03:36:20 -0400 Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:54407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dngUz-0002n5-IZ for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 03:36:18 -0400 Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id CE6F8F0910; Fri, 1 Sep 2017 16:36:13 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Date: Fri, 01 Sep 2017 16:36:13 +0900 Message-ID: From: YAMAMOTO Mitsuharu To: Eli Zaretskii Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling In-Reply-To: <83lgly29zf.fsf@gnu.org> References: <83lgly29zf.fsf@gnu.org> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) Organization: Faculty of Science, Chiba University MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org, Nick Helm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) >>>>> On Fri, 01 Sep 2017 09:45:08 +0300, Eli Zaretskii said: >> With bidi enabled, Arabic text changes unexpectedly when scrolling >> or moving point with the mouse. >> >> Recipe: Emacs -Q C-h h ;visit HELLO file ;use the mouse to scroll >> slowly >> >> Observe the text on the line that starts with the word Arabic. As >> the buffer scrolls, some of the characters in the Arabic >> representations of the words "Arabic" and "Hello" change between at >> least two glyphs. > I don't see this here, but I'm not on Darwin. Can anyone reproduce > this on GNU/Linux? I could reproduce a similar effect also on Darwin, but a different font backend driver (xft with libotf 0.9.3, m17n lib/db 1.7.0). 1. emacs -Q & 2. M-x describe-language-environment RET Arabic RET 3. Press and release the mouse button around the Arabic sample text. (say, "Arabic" to the left) The appearance of the sample text changes if I press the button, and it changes back again when I release it. The font used for displaying Arabic characters is "Arial Unicode MS". YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 04:01:36 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 08:01:36 +0000 Received: from localhost ([127.0.0.1]:38962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dngtU-0003Nx-7u for submit@debbugs.gnu.org; Fri, 01 Sep 2017 04:01:36 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:38681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dngtR-0003Nj-RF for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 04:01:34 -0400 Received: by mail-pf0-f194.google.com with SMTP id r187so1212525pfr.5 for <28312@debbugs.gnu.org>; Fri, 01 Sep 2017 01:01:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=He1OS9KzwiB5gNVJr37fHMRDmAiA5xMIqR85X9SLTlo=; b=P68dj8PmyxLk0Tb8BzzT38Xu14759N9bHTs967+4K1nWid9By5Yep7vYBXjX5zMJhg OIa6/eo3KYS+rBkK0oV1bdYulPQ1uMZ+1+rbzjzbNzJaQ5mPoyL6QSW4z5iMbUgwHAWw g+ZERnp1rfrV/goQ4/zzXY8FhuQ6/WhC+GXyIB8xMiFwpq/NDT1AEQABewbQgHOKav3+ wpw9g5Hal16ODpxHdYKK1SjskajZYlVyG4PuzMOUnVP0P8b86MlBTvprej0b8uMmv2AU rCyp/H/qq2Q77nDbnw89Tt9M8ROaFuVDxw567fGdpo+HglHvvDX2+8D2sPbiLsVW416T KcwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=He1OS9KzwiB5gNVJr37fHMRDmAiA5xMIqR85X9SLTlo=; b=YvG9IyB+ifRdLMQhWkAZ8LMl4M84yK+b14yBnaOacDc5QI1SV2I3ySJb5Zijjo1YSu XK19zv6EFrocBE+7YaFPqxG6Qa4jcMUrlCKsl9OrPPzmICsF0KHZmtyVUgAAj3xDovD7 vntD+yhRhvht+xAOJbcmkD2JppPkfeBpsjkWw1iVlw6mZGiho3/cNybvdbIdEXmA+uUf 9XI1SF5/Pwl8wjWa7+w4Wq21c2bZ2Y6oiOavyyI3JWHeaQ5RS8pgzUDC4JSH6S/biwqG YXTYhZjduoL/ccPrqoXGmIol1HYdrACeO/JyIADBh1URq/ei5B4wyUQCq01Y9boKM2es 2IrA== X-Gm-Message-State: AHPjjUg1uSp+LPGFliwFnX0IwqtDowwPvSRxfuil14RDPRpXshTJxlp8 UXPqUjSO+/1rbw== X-Google-Smtp-Source: ADKCNb7+NJSJDmGJYRqRLYyBqn3JghvNiEv3TkMW4SX0+Y7TaWPoB0yOzYXV7tUK7SjE5mRm7znxDw== X-Received: by 10.99.113.83 with SMTP id b19mr1378513pgn.71.1504252887227; Fri, 01 Sep 2017 01:01:27 -0700 (PDT) Received: from localhost (CAPCPE-124-189-167-250.rsqv1.lon.bigpond.net.au. [124.189.167.250]) by smtp.gmail.com with ESMTPSA id b11sm2438475pfd.69.2017.09.01.01.01.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Sep 2017 01:01:26 -0700 (PDT) References: <83lgly29zf.fsf@gnu.org> User-agent: mu4e 0.9.19; emacs 25.2.1 From: Alexis To: YAMAMOTO Mitsuharu Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling In-reply-to: Date: Fri, 01 Sep 2017 18:01:22 +1000 Message-ID: <87h8wmg84t.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28312 Cc: Eli Zaretskii , 28312@debbugs.gnu.org, Nick Helm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) YAMAMOTO Mitsuharu writes: > I could reproduce a similar effect also on Darwin, but a > different > font backend driver (xft with libotf 0.9.3, m17n lib/db 1.7.0). > > 1. emacs -Q & > 2. M-x describe-language-environment RET Arabic RET > 3. Press and release the mouse button around the Arabic sample > text. > (say, "Arabic" to the left) > > The appearance of the sample text changes if I press the button, > and > it changes back again when I release it. Confirmed on locally compiled Emacs 25.2.1 on Debian Stretch x86_64; xft with libotf 0.9.13-3+b1 and m17n 1.7.0-3+b1. > The font used for displaying Arabic characters is "Arial Unicode > MS". Here it's "DejaVu Sans Mono". Alexis. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 04:16:16 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 08:16:16 +0000 Received: from localhost ([127.0.0.1]:38978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnh7g-0003iq-I3 for submit@debbugs.gnu.org; Fri, 01 Sep 2017 04:16:16 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:54106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnh7e-0003ih-Ij for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 04:16:15 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3xkBs85knLz1r7Bw; Fri, 1 Sep 2017 10:16:12 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3xkBs80zxyz3jR9r; Fri, 1 Sep 2017 10:16:12 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id t_UPu7ICMX6q; Fri, 1 Sep 2017 10:16:07 +0200 (CEST) X-Auth-Info: PbKyzhk9cPDJbsQl3xBm5sbmmWRXlGTAPE019NdXzS9kmqJ+s/4gTqMDTubujHW0 Received: from igel.home (ppp-88-217-10-10.dynamic.mnet-online.de [88.217.10.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 1 Sep 2017 10:16:07 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 9A65E2C02E0; Fri, 1 Sep 2017 10:16:06 +0200 (CEST) From: Andreas Schwab To: YAMAMOTO Mitsuharu Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> X-Yow: ONE: I will donate my entire ``BABY HUEY'' comic book collection to the downtown PLASMA CENTER.. TWO: I won't START a BAND called ``KHADAFY & THE HIT SQUAD''.. THREE: I won't ever TUMBLE DRY my FOX TERRIER again!! Date: Fri, 01 Sep 2017 10:16:06 +0200 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Fri, 01 Sep 2017 16:36:13 +0900") Message-ID: <87val2bzqx.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 28312 Cc: Eli Zaretskii , 28312@debbugs.gnu.org, Nick Helm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.8 (/) On Sep 01 2017, YAMAMOTO Mitsuharu wrote: > I could reproduce a similar effect also on Darwin, but a different > font backend driver (xft with libotf 0.9.3, m17n lib/db 1.7.0). > > 1. emacs -Q & > 2. M-x describe-language-environment RET Arabic RET > 3. Press and release the mouse button around the Arabic sample text. > (say, "Arabic" to the left) > > The appearance of the sample text changes if I press the button, and > it changes back again when I release it. I see such an effect if I start a (highlighted) region anywhere before the arabic sample text. The appearance changes while changing the extend of the region. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 04:17:43 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 08:17:43 +0000 Received: from localhost ([127.0.0.1]:38984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnh94-0003kx-SJ for submit@debbugs.gnu.org; Fri, 01 Sep 2017 04:17:43 -0400 Received: from mail-me1aus01on0090.outbound.protection.outlook.com ([104.47.116.90]:22596 helo=AUS01-ME1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnh92-0003ki-0t for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 04:17:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MaBR5kd5C4+Ah5QX+ABEscIyUx9xmuAYgX6Zh023g28=; b=VmFLYv8VK4XfCM04vu0zVijtPZUsOg+gjDWOi/TEEyoxY/ZJKQZq3MmYWdwTmiCf8od+lyxDEOkaPdewuz8890bdYEy7ANdRAG7NKPeIJTwgja6E5Su7dIoRu8g2kJBvEIi3RLxZjwTU7Fu1ffPslF9cz2fTTk0kjNfaW9Foy5A= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Received: from jupiter.local (125.239.125.197) by SYXPR01MB1072.ausprd01.prod.outlook.com (10.169.175.13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1385.9; Fri, 1 Sep 2017 08:17:27 +0000 From: Nick Helm To: <28312@debbugs.gnu.org> Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> Date: Fri, 01 Sep 2017 20:16:55 +1200 In-Reply-To: <83lgly29zf.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 1 Sep 2017 09:45:08 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [125.239.125.197] X-ClientProxiedBy: SYXPR01CA0078.ausprd01.prod.outlook.com (10.171.34.11) To SYXPR01MB1072.ausprd01.prod.outlook.com (10.169.175.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9a1c106f-cbd0-4998-678a-08d4f111e24d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(2017082002075)(300000503095)(300135400095)(201703131423075)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:SYXPR01MB1072; X-Microsoft-Exchange-Diagnostics: 1; SYXPR01MB1072; 3:IA7zVNfreeX2pI0zuIvErwBtr1kGD8a4Y8lmS3Cz9c49vD/N5IaU4on77+VDGNbrTju9+W8dqKXqVFOWtocee89PejZpaO9AdDo70TSxLVZsiyz8qRrx7gn9V2P9Q+r1JkY3bQJ600YOQzyMUrE58WaOpRvZBQjUfhdYxL83kYVQsYTHikCfB8j95lNec7vJsayRzk5qJEgUfmwNGrttTg32Z8cCftYTjLLNdwAdD1PYnzedi7k8/sii1ADf87ZG; 25:1mnI4+IOSIzLf1oD/LOkvu9zZGlrAnH574Fwy3ACOE9N/FycPHl0WxpxaEtNTOgYV/BNzUQzNrBqy19zt1DB72LiH+71zgYj7Jq4mZYxbb9iHQp5Ac/+LP3cxbzZQhIYsT+XiLlFBTQztIIVWLQBRwt3qLppLLnQWlgunqy7X/keg1cN7Pqq9j2kFJHCzJkOMEOCT2Jzf+akHij3h9IucqwZETCAalBeJYl1GS5BIgOGpqHQ9r1fYG0fSxznhbc9H8A312ij+e8oJFT1LyqMn1AbgKWBIPICqLEmNVHRgt3udDL/mR+aPo0TeHoiwD1sTz77C8KYMRzpayg2OKb6dg==; 31:EqClYGneSapn7KCYxhXvLNwDjzixBa6y9r3N6eBB5YW1+JSsk2cesSiTCxhjU01wcKlUVcB8QLk5mCSUPheIi6vLJE0IWSpUEINnsjQMS73U/cPja5Y29zb0Rr4qAaZq/0cvO89uQIerl2JDrF/2dbv0lDE7siACM2sQLhuwKpo9Pn2V9ebwG5eu9dXjYj7xtfbQ41xYJwwYVEmceyqpu6NfOopz4XH0wrY3LRsJMO4= X-MS-TrafficTypeDiagnostic: SYXPR01MB1072: X-Exchange-Antispam-Report-Test: UriScan:(190756311086443)(22074186197030); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(2016111802025)(20161123564025)(20161123562025)(6072148)(6043046)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:SYXPR01MB1072; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:SYXPR01MB1072; X-Microsoft-Exchange-Diagnostics: 1; SYXPR01MB1072; 4:psrcQtJhvzGWBCxHjHTtHbDrNqAL0OsN7GfV5ZVMsTjsvI1RB2mwHt/h7jLXxtaCxDv7DHCQb4QrRWehyMl65jnWL5FUk/qzP6Dy+j4yZkDU3r2911myjI1+yZuumPa0R01K2/zqQXMzRqp5obuOE27Vl5mXRy/16pgS4WvWkHdHDqysj3RwSXzE9WAnGt2hLDKBU5uZ5vPUWLWnf/WlgbypbkDzBjBzT1aSyYrAMLEEwqY6QvT/MjEVX+BHS8piSiQWTiMzXU0bfDr105LCAfCvpCuceGFYOmnkNB6mAdIHp/s+DleNOSv4iS9cJroMaNG98ZeMm8w8jadCpF3mBA== X-Forefront-PRVS: 0417A3FFD2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(7370300001)(4630300001)(6009001)(39830400002)(189002)(199003)(54356999)(47776003)(83506001)(6486002)(189998001)(966005)(110136004)(4001350100001)(86362001)(478600001)(5003940100001)(6246003)(6306002)(53936002)(6506006)(6512007)(7736002)(97736004)(305945005)(4326008)(25786009)(74482002)(7350300001)(106356001)(42882006)(2950100002)(6116002)(2351001)(105586002)(50466002)(76176999)(101416001)(6666003)(36756003)(6916009)(8676002)(2906002)(81166006)(50986999)(229853002)(5660300001)(81156014)(68736007)(66066001)(42186005)(33646002)(3846002)(48376002); DIR:OUT; SFP:1102; SCL:1; SRVR:SYXPR01MB1072; H:jupiter.local; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SYXPR01MB1072; 23:mSELoZJbzn6qLdj3HQgslIbARg08JRxc5gddLvlQb?= =?us-ascii?Q?obVtgYiKJvHtGsjIylUxDYkbo0uUhsasElaFWK7Y9Pr7DIGGdjapnnxlcpQA?= =?us-ascii?Q?LXZmzfN3C8j/waWYfHIsWKHdAuaw1wiIy/h71FC3Jn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zxEsLtOD3l747NXkP2ducu/aYikbLdtTecQgx8uLtw7rx20wFLnwvkMmyoUY1XoYVxSpUUeO8l3olAF1P0lf15zH19C6nH8SDITMlHs7a2KjtN3ddhQYj8zkhnVqwEhKLtQilUfhv5pZ0N6WrVrInMp3iI2MzDzCqmOO6XEELI5DqfnQleu4OP5XyY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Sep 2017 08:17:27.7512 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYXPR01MB1072 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28312 Cc: Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli Zaretskii writes: >> Observe the text on the line that starts with the word Arabic. As the >> buffer scrolls, some of the characters in the Arabic representations of >> the words "Arabic" and "Hello" change between at least two glyphs. > > Does the character also change its shape if you move cursor across > that line, especially when the cursor moves across the character? If I use the keyboard to move the cursor, no. The cursor changes shape to reflect the width of the glyph, and the direction of cursor movement correctly changes when over RTL text, as expected, but the chars themselves do not change. If I use the mouse to place the cursor in the line, yes. Glyphs near the cursor change shape and stay changed until I release . >> Here's a quick screen cap to show what I mean: >> https://ln.sync.com/dl/22d37f320/fwujc85a-dhb63yfw-cv5vhzj5-5qsis2h8 > > I cannot watch this movie with the software I have installed. Gah, sorry. Try this: https://ln.sync.com/dl/c0466f180/ju7j9ka3-ebq4uzfz-2wp4ehnu-3szvp5jd > Arabic needs shaping support from the underlying font back-end, so > (unless this will be reproduced on GNU/Linux) it sounds like something > is wrong with either the back-end Emacs uses on Darwin, or its version > you have installed, or with the support code in Emacs which is needed > for displaying complex RTL scripts such as Arabic. When I open HELLO using LibreOffice, which also supports RTL on mac, the problem doesn't seem to occur using Geeza Pro or Arial Unicode MS. Not sure if that is relevant. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 01 04:36:07 2017 Received: (at 28312) by debbugs.gnu.org; 1 Sep 2017 08:36:07 +0000 Received: from localhost ([127.0.0.1]:39003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnhQs-0004CC-QR for submit@debbugs.gnu.org; Fri, 01 Sep 2017 04:36:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dnhQq-0004Bf-S3 for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 04:36:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnhQj-0000vO-R5 for 28312@debbugs.gnu.org; Fri, 01 Sep 2017 04:35:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnhQc-0000of-R7; Fri, 01 Sep 2017 04:35:50 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3896 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dnhQb-00070j-Q1; Fri, 01 Sep 2017 04:35:50 -0400 Date: Fri, 01 Sep 2017 11:35:38 +0300 Message-Id: <83h8wm24v9.fsf@gnu.org> From: Eli Zaretskii To: YAMAMOTO Mitsuharu , Kenichi Handa In-reply-to: (message from YAMAMOTO Mitsuharu on Fri, 01 Sep 2017 16:36:13 +0900) Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org, nick@tenpoint.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Fri, 01 Sep 2017 16:36:13 +0900 > From: YAMAMOTO Mitsuharu > Cc: Nick Helm , > 28312@debbugs.gnu.org > > 1. emacs -Q & > 2. M-x describe-language-environment RET Arabic RET > 3. Press and release the mouse button around the Arabic sample text. > (say, "Arabic" to the left) > > The appearance of the sample text changes if I press the button, and > it changes back again when I release it. Thanks, I see this, too. And it's a very old problem, I see it in Emacs 24.3 already. Also, the mouse is not necessary, I can see the problem if I scroll the *Help* window created by "C-h L" either via the scroll bar or even with "C-u 1 C-v". I'm guessing that somehow we don't redraw enough characters to give the font shaper a chance to shape them correctly. CC'ing Handa-san, in the hope that he could have some insights on this. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 06 10:04:41 2019 Received: (at 28312) by debbugs.gnu.org; 6 Jun 2019 14:04:41 +0000 Received: from localhost ([127.0.0.1]:50322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYt0S-0001Vb-RI for submit@debbugs.gnu.org; Thu, 06 Jun 2019 10:04:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hYt0N-0001VD-Nr; Thu, 06 Jun 2019 10:04:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hYt0H-0005MR-7Y; Thu, 06 Jun 2019 10:04:29 -0400 Received: from [176.228.60.248] (port=3938 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hYt0E-0006rG-Tx; Thu, 06 Jun 2019 10:04:28 -0400 Date: Thu, 06 Jun 2019 17:04:13 +0300 Message-Id: <834l52stcy.fsf@gnu.org> From: Eli Zaretskii To: mituharu@math.s.chiba-u.ac.jp, handa@gnu.org, nick@tenpoint.co.nz In-reply-to: <83h8wm24v9.fsf@gnu.org> (message from Eli Zaretskii on Fri, 01 Sep 2017 11:35:38 +0300) Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> <83h8wm24v9.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 28312 patch thanks > Date: Fri, 01 Sep 2017 11:35:38 +0300 > From: Eli Zaretskii > Cc: 28312@debbugs.gnu.org, nick@tenpoint.co.nz > > I'm guessing that somehow we don't redraw enough characters to give > the font shaper a chance to shape them correctly. CC'ing Handa-san, > in the hope that he could have some insights on this. The guess was correct, but finding why this happens and under what circumstances proved an elusive problem. I eventually found the culprit: it turned out we sometimes stop examining buffer text at arbitrary positions, and don't make sure these positions are never in the middle of a composable character sequence. I implemented a solution, the patch is below. Unfortunately, it makes redisplay slower in buffers with lots of composable characters, so I hesitate to install it. Would people please try the patch and see if Emacs is still reasonably responsive in buffers with Arabic text, especially when marking or extending the region under transient-mark-mode? If I get enough positive feedback, I will install this. TIA. diff --git a/src/composite.c b/src/composite.c index 7d7ed3f..aba47a9 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1427,7 +1427,7 @@ struct position_record representing the composition, and return true. Otherwise, *GSTRING to Qnil, and return false. */ -static bool +bool find_automatic_composition (ptrdiff_t pos, ptrdiff_t limit, ptrdiff_t *start, ptrdiff_t *end, Lisp_Object *gstring, Lisp_Object string) diff --git a/src/composite.h b/src/composite.h index 8675163..b4c6a93 100644 --- a/src/composite.h +++ b/src/composite.h @@ -324,7 +324,9 @@ extern bool composition_reseat_it (struct composition_it *, ptrdiff_t, struct face *, Lisp_Object); extern int composition_update_it (struct composition_it *, ptrdiff_t, ptrdiff_t, Lisp_Object); - +extern bool find_automatic_composition (ptrdiff_t, ptrdiff_t, + ptrdiff_t *, ptrdiff_t *, + Lisp_Object *, Lisp_Object); extern ptrdiff_t composition_adjust_point (ptrdiff_t, ptrdiff_t); INLINE_HEADER_END diff --git a/src/xdisp.c b/src/xdisp.c index 5f43815..e4fb48b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -3618,7 +3618,25 @@ compute_stop_pos (struct it *it) /* Set up variables for computing the stop position from text property changes. */ XSETBUFFER (object, current_buffer); - limit = make_fixnum (IT_CHARPOS (*it) + TEXT_PROP_DISTANCE_LIMIT); + /* Find the position to limit the search for properties. It + must not be in the middle of a composable sequence, because + having a stop_charpos there risks breaking the composition + into two or more separate parts, to be submitted separately + to the shaping engine, and that will produce incorrect + shaping with some scripts (e.g., Arabic). */ + pos = charpos + TEXT_PROP_DISTANCE_LIMIT; + if (!NILP (Vauto_composition_mode)) + { + ptrdiff_t cpos = charpos, posmax = min (pos, ZV); + ptrdiff_t start = posmax, end = posmax; + Lisp_Object ignored; + while (find_automatic_composition (cpos, posmax, &start, &end, + &ignored, Qnil) + && end < posmax) + cpos = end; + pos = max (end, posmax); + } + limit = make_fixnum (pos); } /* Get the interval containing IT's position. Value is a null From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 09 19:56:35 2019 Received: (at 28312) by debbugs.gnu.org; 9 Jun 2019 23:56:35 +0000 Received: from localhost ([127.0.0.1]:55612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ha7fu-0007hD-Mv for submit@debbugs.gnu.org; Sun, 09 Jun 2019 19:56:35 -0400 Received: from mail-eopbgr1370110.outbound.protection.outlook.com ([40.107.137.110]:47264 helo=AUS01-SY3-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ha7fs-0007gv-1s for 28312@debbugs.gnu.org; Sun, 09 Jun 2019 19:56:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpointcomms-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nF9zQPFrR/GNPPXP2TBgELIrY5GSYOCUpXb6ZoDGDaw=; b=oStrH9tjgbsW441cErFCdSMOhfIFEc0bvx0IDjXX5I0GyqCB8Fuxqtkk94GYsmmaIjIAKiuVF3T1Nq2vCPswno38WRed+oayjZ773Yrd67n0i9lFmsruYg6aYICsCrLdpyqlipb5KHQq+WMsIazTjVwmrtFW1442nSuQ+zEoXiw= Received: from SYBPR01MB4875.ausprd01.prod.outlook.com (20.178.194.11) by SYBPR01MB5371.ausprd01.prod.outlook.com (10.255.140.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15; Sun, 9 Jun 2019 23:56:22 +0000 Received: from SYBPR01MB4875.ausprd01.prod.outlook.com ([fe80::ec95:9d13:29b:1de7]) by SYBPR01MB4875.ausprd01.prod.outlook.com ([fe80::ec95:9d13:29b:1de7%6]) with mapi id 15.20.1965.017; Sun, 9 Jun 2019 23:56:22 +0000 From: Nick Helm To: Eli Zaretskii Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling Thread-Topic: bug#28312: 25.2; Arabic script changes when scrolling Thread-Index: AQHVHHDHLk2UyRgTH0iZkgCaZFucjQ== Date: Sun, 9 Jun 2019 23:56:22 +0000 Message-ID: References: <83lgly29zf.fsf@gnu.org> <83h8wm24v9.fsf@gnu.org> <834l52stcy.fsf@gnu.org> In-Reply-To: <834l52stcy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Jun 2019 17:04:13 +0300") Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SY2PR01CA0012.ausprd01.prod.outlook.com (2603:10c6:1:14::24) To SYBPR01MB4875.ausprd01.prod.outlook.com (2603:10c6:10:10::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [125.239.169.240] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9c9263c1-63b7-4c6d-d0ec-08d6ed3612ef x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(7021145)(8989299)(4534185)(7022145)(4603075)(4627221)(201702281549075)(8990200)(7048125)(7024125)(7027125)(7023125)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:SYBPR01MB5371; x-ms-traffictypediagnostic: SYBPR01MB5371: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 006339698F x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(39830400003)(346002)(366004)(376002)(396003)(199004)(189003)(6916009)(2906002)(2616005)(66946007)(7736002)(81156014)(81166006)(14444005)(256004)(66446008)(66556008)(86362001)(8936002)(66476007)(73956011)(476003)(64756008)(54906003)(68736007)(486006)(11346002)(53936002)(508600001)(6116002)(305945005)(3846002)(8676002)(4326008)(99286004)(36756003)(316002)(6246003)(102836004)(5660300002)(386003)(6506007)(14454004)(186003)(74482002)(25786009)(26005)(52116002)(6512007)(71200400001)(6486002)(71190400001)(446003)(66066001)(76176011)(229853002)(6436002); DIR:OUT; SFP:1102; SCL:1; SRVR:SYBPR01MB5371; H:SYBPR01MB4875.ausprd01.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:0; MX:1; received-spf: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 1aU6yYYFIXYvxeM21YFNPIWAVjOPATJEvN4uxoHcszUSVreMCj6vMDpFHRUEhcIjSd5JEqerSUnjdBoJO8tKrJPl3Y/iB3iqFFmQ8SktxIunUAzTgBtq+I096NlX55KaY7c8Y30pMePtQoonuLtWsVlF1T7hYiGmcvUxE5Bh8KFApSxni+ByYOt01DyGfW5HBDJ29TfYOPQ0FYFeAJNAfeiC+M5KrXsQiX70r7cPStRReYqqL7CCZfOhJGoFhBpCjVRRAw2ZS0maCm1aZCWu481aj2ins6d+TKONe9jn2+qpW/MR/87YG+kBtpJ4qQnu8hQp7yOYTJIPgHTnhc51zkHq9M+jRlUAPcFqvoJPGx/TWt6IXsKKoGxMx6B90nl6kqQOG6Xb2MJJXM3eFLFv8Fcc6CwteP9ry+fNU87T7zw= Content-Type: text/plain; charset="utf-8" Content-ID: <02771782E3E70B4B805880B65DD8E6BC@ausprd01.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-Network-Message-Id: 9c9263c1-63b7-4c6d-d0ec-08d6ed3612ef X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2019 23:56:22.4425 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: nick@tenpoint.co.nz X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYBPR01MB5371 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 28312 Cc: "handa@gnu.org" , "28312@debbugs.gnu.org" <28312@debbugs.gnu.org>, "mituharu@math.s.chiba-u.ac.jp" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) RWxpIFphcmV0c2tpaSA8ZWxpekBnbnUub3JnPiB3cml0ZXM6DQoNCj4gSSBldmVudHVhbGx5IGZv dW5kIHRoZSBjdWxwcml0OiBpdCB0dXJuZWQgb3V0IHdlIHNvbWV0aW1lcyBzdG9wDQo+IGV4YW1p bmluZyBidWZmZXIgdGV4dCBhdCBhcmJpdHJhcnkgcG9zaXRpb25zLCBhbmQgZG9uJ3QgbWFrZSBz dXJlDQo+IHRoZXNlIHBvc2l0aW9ucyBhcmUgbmV2ZXIgaW4gdGhlIG1pZGRsZSBvZiBhIGNvbXBv c2FibGUgY2hhcmFjdGVyDQo+IHNlcXVlbmNlLiAgSSBpbXBsZW1lbnRlZCBhIHNvbHV0aW9uLCB0 aGUgcGF0Y2ggaXMgYmVsb3cuDQo+IFVuZm9ydHVuYXRlbHksIGl0IG1ha2VzIHJlZGlzcGxheSBz bG93ZXIgaW4gYnVmZmVycyB3aXRoIGxvdHMgb2YNCj4gY29tcG9zYWJsZSBjaGFyYWN0ZXJzLCBz byBJIGhlc2l0YXRlIHRvIGluc3RhbGwgaXQuDQo+DQo+IFdvdWxkIHBlb3BsZSBwbGVhc2UgdHJ5 IHRoZSBwYXRjaCBhbmQgc2VlIGlmIEVtYWNzIGlzIHN0aWxsIHJlYXNvbmFibHkNCj4gcmVzcG9u c2l2ZSBpbiBidWZmZXJzIHdpdGggQXJhYmljIHRleHQsI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bCBjYXNlcyBJIHRyaWVkLiBXaXRoIHRoZQ0KcGF0Y2ggYXBwbGll ZCwgc2Nyb2xsaW5nIGFsc28gd29ya3MgYXMgZXhwZWN0ZWQgdW5sZXNzIHBpeGVsLXNjcm9sbC1t b2RlDQppcyBhY3RpdmUgYW5kIHNjcm9sbGluZyBpcyBkb25lIHdpdGggdGhlIG1vdXNlLiBXaXRo IHRoYXQgbW9kZSBhY3RpdmUsDQptb3VzZSBzY3JvbGxpbmcgaW50cm9kdWNlcyBsYWcgdGhhdCB0 YWtlcyAz4oCTNCBzZWNvbmRzIHRvIHJlY292ZXIgYWZ0ZXINCmVhY2ggc2Nyb2xsIGFjdGlvbi4g SSB3b3VsZCBkZXNjcmliZSB0aGUgbGFnIGFzIHNpZ25pZmljYW50LiBJIGRpZCBub3QNCm5vdGlj ZSB0aGUgdGV4dCBjaGFuZ2luZyB3aGVuIHNjcm9sbGluZyBvciBjbGlja2luZyBpbiB0aGlzIGZp bGUuDQoNCkkgZGlkbid0IG5vdGljZSBhbnkgcHJvYmxlbXMgd2l0aCBzZXR0aW5nIHRoZSBtYXJr IG9yIGV4dGVuZGluZyB0aGUNCnJlZ2lvbiBpbiBhbnkgdGVzdHMsIG90aGVyIHRoYW4gaW4gdGhl IEhFTExPIGZpbGUgZGVzY3JpYmVkIGFib3ZlLiANCg0KVGhhbmsgeW91IGZvciB3b3JraW5nIG9u IHRoaXMuDQoNCk5pY2sNCg== From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 10 13:27:22 2019 Received: (at 28312) by debbugs.gnu.org; 10 Jun 2019 17:27:22 +0000 Received: from localhost ([127.0.0.1]:57457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1haO4n-0007yz-NC for submit@debbugs.gnu.org; Mon, 10 Jun 2019 13:27:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1haO4k-0007yl-Ev for 28312@debbugs.gnu.org; Mon, 10 Jun 2019 13:27:20 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1haO4d-0001Gm-N5; Mon, 10 Jun 2019 13:27:11 -0400 Received: from [176.228.60.248] (port=1542 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1haO4Y-0000G2-Dn; Mon, 10 Jun 2019 13:27:09 -0400 Date: Mon, 10 Jun 2019 20:27:02 +0300 Message-Id: <83pnnl9wrd.fsf@gnu.org> From: Eli Zaretskii To: Nick Helm In-reply-to: (message from Nick Helm on Sun, 9 Jun 2019 23:56:22 +0000) Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> <83h8wm24v9.fsf@gnu.org> <834l52stcy.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28312 Cc: handa@gnu.org, 28312@debbugs.gnu.org, mituharu@math.s.chiba-u.ac.jp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Nick Helm > CC: "mituharu@math.s.chiba-u.ac.jp" , > "handa@gnu.org" , "28312@debbugs.gnu.org" > <28312@debbugs.gnu.org> > Date: Sun, 9 Jun 2019 23:56:22 +0000 > > > Would people please try the patch and see if Emacs is still reasonably > > responsive in buffers with Arabic text, especially when marking or > > extending the region under transient-mark-mode? If I get enough > > positive feedback, I will install this. TIA. > > I built yesterday's master and tested with and without the patch. > > With the patch applied, I can confirm that the Arabic text in HELLO no > longer changes when scrolling, either with the keyboard or mouse. Thanks for testing. > However, I noticed that it still seems to change when extending the > region over Arabic text. That is, place point on the "c" of Arabic, > C-SPC, and C-f multiple times to extend the region and notice the > graphemes change. The mouse click and release method described up-thread > also shows the same thing. This is a separate problem, one whose solution would basically need redesigning how we handle faces in redisplay. The problem is that we currently process buffer text for display in chunks that have the same face, so if the region starts or ends in the middle of an Arabic word, we submit this word to the shaping engine in 2 chunks, thus breaking character composition. This is very basic in the display engine's design, so don't hold your breath on that one. > Next, I opened a file written entirely in Arabic (~3000 words). Without > the patch, scrolling works as expected in all cases I tried. With the > patch applied, scrolling also works as expected unless pixel-scroll-mode > is active and scrolling is done with the mouse. With that mode active, > mouse scrolling introduces lag that takes 3–4 seconds to recover after > each scroll action. I would describe the lag as significant. I did not > notice the text changing when scrolling or clicking in this file. I'm working on a less expensive solution, stay tuned. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 11 10:49:32 2019 Received: (at 28312) by debbugs.gnu.org; 11 Jun 2019 14:49:32 +0000 Received: from localhost ([127.0.0.1]:59962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hai5c-0006oo-0P for submit@debbugs.gnu.org; Tue, 11 Jun 2019 10:49:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37175) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hai5Z-0006ob-HF for 28312@debbugs.gnu.org; Tue, 11 Jun 2019 10:49:29 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hai5R-0007Id-Kh; Tue, 11 Jun 2019 10:49:23 -0400 Received: from [176.228.60.248] (port=4219 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hai5N-0002xc-3e; Tue, 11 Jun 2019 10:49:17 -0400 Date: Tue, 11 Jun 2019 17:49:15 +0300 Message-Id: <83blz49nys.fsf@gnu.org> From: Eli Zaretskii To: nick@tenpoint.co.nz In-reply-to: <83pnnl9wrd.fsf@gnu.org> (message from Eli Zaretskii on Mon, 10 Jun 2019 20:27:02 +0300) Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> <83h8wm24v9.fsf@gnu.org> <834l52stcy.fsf@gnu.org> <83pnnl9wrd.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 10 Jun 2019 20:27:02 +0300 > From: Eli Zaretskii > Cc: 28312@debbugs.gnu.org > > > Next, I opened a file written entirely in Arabic (~3000 words). Without > > the patch, scrolling works as expected in all cases I tried. With the > > patch applied, scrolling also works as expected unless pixel-scroll-mode > > is active and scrolling is done with the mouse. With that mode active, > > mouse scrolling introduces lag that takes 3–4 seconds to recover after > > each scroll action. I would describe the lag as significant. I did not > > notice the text changing when scrolling or clicking in this file. > > I'm working on a less expensive solution, stay tuned. I installed a solution that should be much less expensive, please take a look. If you still see lag in scrolling, try enabling garbage-collection-messages to see whether GC is the culprit; if it is, then raise gc-cons-threshold while testing, to exclude this factor's influence. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 10:13:48 2020 Received: (at 28312) by debbugs.gnu.org; 10 Aug 2020 14:13:48 +0000 Received: from localhost ([127.0.0.1]:37039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58Ye-0001Q1-Iy for submit@debbugs.gnu.org; Mon, 10 Aug 2020 10:13:48 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58Yc-0001Pj-3K for 28312@debbugs.gnu.org; Mon, 10 Aug 2020 10:13:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iwUcVUGkXOCeY4kI6I8STu3FGUXOtFO9vn1mYe1z6NU=; b=LvqbrgQu3UjJg7xzTLbUNnlnl3 llCR3dmBcJd21QiBlrQMy1w0euWmiSWjNju5fdowHOTB0rOxOqYF2LZC1VaprAZEH4yYIHfhascAj 4XbGQaLEkGsjmZU0pn3Bshs+Joo+IR7qu0Zr69L5gMju4hyRRYACQflslE983gfA9OyM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k58YT-0005jg-46; Mon, 10 Aug 2020 16:13:39 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#28312: 25.2; Arabic script changes when scrolling References: <83lgly29zf.fsf@gnu.org> <83h8wm24v9.fsf@gnu.org> <834l52stcy.fsf@gnu.org> <83pnnl9wrd.fsf@gnu.org> <83blz49nys.fsf@gnu.org> Date: Mon, 10 Aug 2020 16:13:30 +0200 In-Reply-To: <83blz49nys.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 11 Jun 2019 17:49:15 +0300") Message-ID: <87sgcu1tdh.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I installed a solution that should be much less expensive, please take > a look. If you still see lag in scrolling, try enabling > garbage-collection-messages to see whether GC is the culprit; if it [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 28312 Cc: 28312@debbugs.gnu.org, nick@tenpoint.co.nz X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > I installed a solution that should be much less expensive, please take > a look. If you still see lag in scrolling, try enabling > garbage-collection-messages to see whether GC is the culprit; if it > is, then raise gc-cons-threshold while testing, to exclude this > factor's influence. It looks like this bug was fixed by this change, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 10 10:13:53 2020 Received: (at control) by debbugs.gnu.org; 10 Aug 2020 14:13:53 +0000 Received: from localhost ([127.0.0.1]:37042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58Yi-0001QH-SR for submit@debbugs.gnu.org; Mon, 10 Aug 2020 10:13:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:48768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k58Yh-0001Ps-Gm for control@debbugs.gnu.org; Mon, 10 Aug 2020 10:13:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=L2UhvxWYOct/SSQLgE8NHH/NH2FlWhSt8juZB9DHRbs=; b=W6loDf+OpzHGqChsIhtyq9P7Fw ENQdn8uI0w/swjuE5o/Fpg3RnGm79oU0HGxB6l2u5+k6t2GdZTy5bvcUutzswnww+h+A+sUIHqP55 KcAErCbPGjccpgtsycoKsPZV3AeN95QvBushsJGmwLIvA4Us3mH5llXPWS0eMDB4CFbM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k58YZ-0005jq-PF for control@debbugs.gnu.org; Mon, 10 Aug 2020 16:13:46 +0200 Date: Mon, 10 Aug 2020 16:13:42 +0200 Message-Id: <87r1se1td5.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #28312 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 28312 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 28312 quit From unknown Sun Jun 22 20:55:42 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 08 Sep 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator