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.bugs Subject: bug#72287: Emacs 29; RTL replacing display bug on 1st line Date: Thu, 25 Jul 2024 21:27:47 +0300 Message-ID: <86a5i54998.fsf@gnu.org> References: <9B4D7166-F63F-4980-9A48-492E8D85036A@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40119"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 72287@debbugs.gnu.org To: JD Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 20:29:07 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sX3D8-000AHc-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 20:29:06 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sX3Cy-0007ka-2j; Thu, 25 Jul 2024 14:28:56 -0400 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 1sX3Cx-0007kQ-1R for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 14:28:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sX3Cw-0004oc-Pa for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 14:28:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sX3D4-0003dQ-8t for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 14:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 18:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72287 X-GNU-PR-Package: emacs Original-Received: via spool by 72287-submit@debbugs.gnu.org id=B72287.172193211613934 (code B ref 72287); Thu, 25 Jul 2024 18:29:02 +0000 Original-Received: (at 72287) by debbugs.gnu.org; 25 Jul 2024 18:28:36 +0000 Original-Received: from localhost ([127.0.0.1]:37757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3Cd-0003cg-W7 for submit@debbugs.gnu.org; Thu, 25 Jul 2024 14:28:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sX3Cb-0003cR-BY for 72287@debbugs.gnu.org; Thu, 25 Jul 2024 14:28:34 -0400 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 1sX3CL-0004m5-OB; Thu, 25 Jul 2024 14:28:17 -0400 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=3EMH59dIEtwfL5uMTRwswnExbtDdqjUjZUcvLwgnwDU=; b=l1qeJ7mK8Mya w8Q01tjAP4qjMYLHSCuW8BEor3AYHnKgQ0QcruAW2NJBBSSNynoGVodaKQqT5Mg3DyATpDA+12hUn FOqlgOpWHhusy4QhJkXqJiJsd3A4EBp4PKaEE+3fZmzXuh/xLZnKfK2a6WCW2gcZC9flvHBWpx5UI r8di/Cc4gpKfjxzrLcNbVOnd2JETEQypPGo6IJ0J0C9JgH/qhUSZeqiPr7fFxl6cm5iMQZEJgd8Hf XglgfvO8hVJ465M1TNm+J2UJ2QPZZkB5KUQiAM+fbStncpA7hrasVW8iL4hAVtiYdazHhkWp803n3 AFZMOVmkDcw5rsm5noSGiA==; In-Reply-To: <9B4D7166-F63F-4980-9A48-492E8D85036A@gmail.com> (message from JD Smith on Thu, 25 Jul 2024 08:29:45 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289330 Archived-At: > From: JD Smith > Date: Thu, 25 Jul 2024 08:29:45 -0400 > > With bidi-paragraph-direction=right-to-left, replacing 'display properties are sometimes reversed on the 1st displayed line of text. > > (let* ((w (window-font-width)) > (h (window-font-height)) > (face ) > (str (cl-loop for col in '("red" "green" "blue" "cyan") > concat " " > concat (propertize " " 'face `(:background ,col))))) > (dotimes (i 10) > (insert "\n" (propertize " " 'display str) (format ";; line %d" i)))) > > Evaluate in *scratch* and scroll the color bars off the top of the screen. Try again with bidi-paragraph-direction=right-to-left and the color order will invert and the bars shift by one char. > > Verified in Emacs 29 emacs-mac and NS builds. Thanks, should be fixed now on the master branch.