From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.bugs Subject: bug#58228: 29.0.50; ansi-term display garbled Date: Sat, 01 Oct 2022 22:18:13 +0200 Message-ID: <874jwn9u2i.fsf@gmail.com> References: <87zgef1t1r.fsf@mail.jao.io> <87tu4nef4i.fsf@gnus.org> <8735c7til0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5894"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 58228@debbugs.gnu.org, Jose A Ortega Ruiz To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 01 22:19:11 2022 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 1oeix5-0001MT-BZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 22:19:11 +0200 Original-Received: from localhost ([::1]:38902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeix3-0007hf-Ij for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Oct 2022 16:19:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeiwx-0007hT-24 for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:19:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeiww-0004K6-FT for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeiwv-00015z-Uq for bug-gnu-emacs@gnu.org; Sat, 01 Oct 2022 16:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matthias Meulien Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Oct 2022 20:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58228 X-GNU-PR-Package: emacs Original-Received: via spool by 58228-submit@debbugs.gnu.org id=B58228.16646555044167 (code B ref 58228); Sat, 01 Oct 2022 20:19:01 +0000 Original-Received: (at 58228) by debbugs.gnu.org; 1 Oct 2022 20:18:24 +0000 Original-Received: from localhost ([127.0.0.1]:45746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeiwJ-000159-JE for submit@debbugs.gnu.org; Sat, 01 Oct 2022 16:18:23 -0400 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:41805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeiwH-00014u-II for 58228@debbugs.gnu.org; Sat, 01 Oct 2022 16:18:22 -0400 Original-Received: by mail-wm1-f49.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so3848401wmb.0 for <58228@debbugs.gnu.org>; Sat, 01 Oct 2022 13:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=U9F8e42oorL18IYaz1rS8TKJvICq+PQuWOryEZA2OjA=; b=Uh2CMb7TF26pbqmlOtqs2QaBeApPoUvhoosD+hYbF3cN7Z8AIk2zPLuZiZUzexhnsB sFUzvNUfkpXJrr540rtEbZ80oKaVKf0AsQyr7JYEQHfBqNfGATKOER997uk0QhIegL29 poM8BWIJdapoSsg8Ukh65QPqPKlSKD7PCZZ9PTqt7/2FqmybTCagoTG5cuSaHD8P20DQ G1+K1fThdRLiRZFWV+cSzNKCu12K+DNB80Pe2yo3qFFkL6KDxB+0m/scop2e0h6YwPT8 Iqp0iR0s5F3k+4tRQKan0AZwnEfrzIOBBQVXe0ml8mlryyXOfsd34RXd2cjdJUyXIk3E yjWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date; bh=U9F8e42oorL18IYaz1rS8TKJvICq+PQuWOryEZA2OjA=; b=zK4BmtFVz6WKqfSPzW+W/PPtcJDoMRNDHSS0P4+dS+eTVTVjPid65Hlp+/g0ki9ZEr Y6YsSdPqPRWsDSFqSfqSen/4oNgIFbS2jo3WAnHkZIMH3erbIHH/LMPXbfJy67HumQZV o3Tp67urBLFpPD04U/visEruHwk5JgJWbv/73BGdUgWCkyK75gKrf1LQlowITbIA+lCY gwo4JMeKQH7ino5V1k/IpRU6TEzDucEgyzeR9vx5jZRBYclRY1ywsZzacgwuaWT5LAu+ 07jJnD8MiFG7+EJtNcEDB3OxRqoHcgIhkBJQ/LUspXC3+Ud/amNBfHz7S+vj5N6ukxo6 VpuA== X-Gm-Message-State: ACrzQf2dfHiwoBMXQz1JTsjYbem2uRFURtsBk2pGjMbWH2dStxeAlj+0 JgvBdd/tD3nJxMNED+XIGb7Zmfan6ik= X-Google-Smtp-Source: AMsMyM5dbQNZ194M2y1w65GkFqVfgS30wUGWOZ0ilfbXg1IhxV7J6UPnH/+GbxDembwLKJ8pwSGyqg== X-Received: by 2002:a05:600c:1990:b0:3b4:c326:d099 with SMTP id t16-20020a05600c199000b003b4c326d099mr2385063wmq.19.1664655495805; Sat, 01 Oct 2022 13:18:15 -0700 (PDT) Original-Received: from carbon.localdomain ([2a01:e0a:245:c850:98f5:429a:aa8e:95bb]) by smtp.gmail.com with ESMTPSA id x6-20020adfdcc6000000b0022add371ed2sm5868329wrm.55.2022.10.01.13.18.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Oct 2022 13:18:15 -0700 (PDT) In-Reply-To: <8735c7til0.fsf@gmail.com> (Matthias Meulien's message of "Sat, 01 Oct 2022 22:06:03 +0200") 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" Xref: news.gmane.io gmane.emacs.bugs:244163 Archived-At: Matthias Meulien writes: > Lars Ingebrigtsen writes: > >> Jose A Ortega Ruiz writes: >> >>> - M-x ansi-term (accept default /bin/bash) >>> >>> - type anything in the bash prompt that produces output, a simple ls >>> will suffice: the output is garbled, sometimes non-existent (the >>> effect is very dramatic for ncurses apps). >> >> Perhaps this is related to the recent comint/osc stuff? I've added >> Matthias to the CCs. > > I don't think so. For example running ansi-term after setting > comint-output-filter-functions to nil leads to the same garbled output. > > Bisecting between the parent of (working as expected and not containing > any of my changes to the OSC stuff): > > 7354f4e3e6..: Matthias Meulien 2022-09-18 Extract support of OSC escape > sequences from comint > > and the broken: > > cd4208f6d8..: Miha Rihtar=C5=A1i=C4=8D 2022-09-30 Rename comint-fl-* to > comint-fontify-input-* and mention it in NEWS > > leads to the first bad comit being: > > matthias@carbon:~/Sources/emacs ((12a78711c9...) $|BISECTING) > =E2=86=B3 git bisect good > 3553904a90a242b7ee7b48607ac02cf57e2ab753 is the first bad commit > commit 3553904a90a242b7ee7b48607ac02cf57e2ab753 > Author: Eli Zaretskii > Date: Fri Sep 30 15:38:22 2022 +0300 > > Fix some issues with vertical-motion in bidi-reordered text >=20=20=20=20=20 > This fixes some uses of vertical-motion when a screen line > starts withcharacters of directionality that is opposite to > the current paragraph's base direction. > * src/xdisp.c (move_it_vertically_backward): Adjust NLINES to > compensate for its increasing when DY =3D=3D 0. > > src/xdisp.c | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) But note that current HEAD of master branch is working fine. I guess the following commit fixed the problem: 3bd9606922..: Eli Zaretskii 2022-10-01 ; Another fix for vertical motion --=20 Matthias