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#65029: Italics bug when Emacs runs inside GNU Screen Date: Sat, 12 Aug 2023 09:45:39 +0300 Message-ID: <83cyzsg3n0.fsf@gnu.org> References: <9xiu5VULYeVAIT_5LWeyj7VvoyP-XU1Yng7Oq67a44frL39XqhEfBOtIpHfoqtV1Ua78XPHlpPln0W4wHECHiA292ZXTaT_mL7MQxdV2zb4=@proton.me> <834jlgzkqy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13214"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65029@debbugs.gnu.org To: james.ipswich@proton.me Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 12 08:46:51 2023 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 1qUiOf-0003DU-8x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Aug 2023 08:46:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qUiOZ-0003S1-Qb; Sat, 12 Aug 2023 02:46:44 -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 1qUiNu-0003Mt-Cw for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:46:07 -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 1qUiNt-0005cz-V5 for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qUiNt-0003Tl-RW for bug-gnu-emacs@gnu.org; Sat, 12 Aug 2023 02:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Aug 2023 06:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65029 X-GNU-PR-Package: emacs Original-Received: via spool by 65029-submit@debbugs.gnu.org id=B65029.169182272413316 (code B ref 65029); Sat, 12 Aug 2023 06:46:01 +0000 Original-Received: (at 65029) by debbugs.gnu.org; 12 Aug 2023 06:45:24 +0000 Original-Received: from localhost ([127.0.0.1]:48511 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUiNH-0003Sh-Tl for submit@debbugs.gnu.org; Sat, 12 Aug 2023 02:45:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qUiNG-0003SQ-BQ for 65029@debbugs.gnu.org; Sat, 12 Aug 2023 02:45:22 -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 1qUiNA-0005TV-Mv; Sat, 12 Aug 2023 02:45:16 -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=RylyTMoqcZIoNsDaArZkjlojgpqt+AkTDnI9NkQndTI=; b=kXVHg1T3r/b/ rlReCuNiYQtaRHqzmwRc98wVNwPAu2a1YPT6+geHHSm2vSQgi0zOd63oMYyrepMLLBbjb871GkFQZ uDe4NQBMkCymy6uOCqWGZSIVbQb2ABoP9hPblkjQMd9sVd791ASgEzrWMDGep3+MY1SKrZuh+hRUl NncCkFvC+WcGhLlTcqNyOJGK2h5VO3gteH0/rcJ2fadzLRBQJCCxEB4dXMDzqyoMeWsb33WlGO0lZ 9Z20jgDOHFAmCaD8akBLJ940kZEXE5k2Cp7ZGHu5rHpYAnzA579lPGO2grDSJs10EKL3P2BcMtLb5 oTbEBy4Dq7M8cs5n4pJ1aA==; In-Reply-To: <834jlgzkqy.fsf@gnu.org> (message from Eli Zaretskii on Thu, 03 Aug 2023 09:46:13 +0300) 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:267258 Archived-At: Ping! Can we please make some progress with this issue? > Cc: 65029@debbugs.gnu.org > Date: Thu, 03 Aug 2023 09:46:13 +0300 > From: Eli Zaretskii > > > Date: Wed, 02 Aug 2023 23:37:54 +0000 > > From: James Ipswich via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > GNU Screen added italics support on its master branch a while ago > > [1]. If I run Emacs (29.1) inside GNU Screen (master), there are strange > > font issues. > > > > All text that should be italicized, e.g. /text/ in org-mode or > > annotations provided by marginalia-mode, is underlined. Oddly, text that > > should not be italicized, e.g. the menu bar and the status bar, is in > > fact italicized. I am running xterm (383) with DejaVu fonts. Text > > displayed inside GNU Screen but outside Emacs is properly italicized. > > > > If I replace xterm with urxvt or kitty, the issue persists. If I replace > > DejaVu with other fonts, the issue also persists. If I replace GNU > > Screen with Tmux, all italics are displayed correctly. > > > > [1] https://savannah.gnu.org/bugs/?func=detailitem&item_id=36676 > > I guess Screen changes the terminfo entry of the terminal in some way? > Please step with GDB through init_tty and see what we get when we > query terminfo about the italics: > > tty->TS_enter_italic_mode = tgetstr ("ZH", address); > > Please do this inside and outside of Screen, with the same terminal > emulator, and post the results. > > Thanks. > > > >