GNU bug report logs - #65029
Italics bug when Emacs runs inside GNU Screen

Previous Next

Package: emacs;

Reported by: James Ipswich <james.ipswich <at> proton.me>

Date: Thu, 3 Aug 2023 05:37:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: james.ipswich <at> proton.me
Cc: 65029 <at> debbugs.gnu.org
Subject: bug#65029: Italics bug when Emacs runs inside GNU Screen
Date: Sat, 19 Aug 2023 11:20:19 +0300
Ping! Ping!  I'd like to resolve this issue in Emacs 29.2, if
possible.  Please help me by providing the information I asked below.

> Cc: 65029 <at> debbugs.gnu.org
> Date: Sat, 12 Aug 2023 09:45:39 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> Ping!  Can we please make some progress with this issue?
> 
> > Cc: 65029 <at> debbugs.gnu.org
> > Date: Thu, 03 Aug 2023 09:46:13 +0300
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > 
> > > 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" <bug-gnu-emacs <at> gnu.org>
> > > 
> > > 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.
> > 
> > 
> > 
> > 
> 
> 
> 
> 




This bug report was last modified 1 year and 306 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.